本文整理汇总了PHP中gpOutput::Get方法的典型用法代码示例。如果您正苦于以下问题:PHP gpOutput::Get方法的具体用法?PHP gpOutput::Get怎么用?PHP gpOutput::Get使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类gpOutput
的用法示例。
在下文中一共展示了gpOutput::Get方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: GetContent
function GetContent()
{
$this->GetGpxContent();
if (!empty($this->non_admin_content)) {
echo '<div class="filetype-text cf">';
//echo '<div id="gpx_content" class="filetype-text">'; //id="gpx_content" conflicts with admin content
echo $this->non_admin_content;
echo '</div>';
}
echo '<div id="gpAfterContent">';
gpOutput::Get('AfterContent');
gpPlugin::Action('GetContent_After');
echo '</div>';
}
示例2: GetContent
function GetContent()
{
$this->GetGpxContent();
echo '<div id="gpAfterContent">';
gpOutput::Get('AfterContent');
gpPlugin::Action('GetContent_After');
echo '</div>';
}
示例3: GetArea
static function GetArea($name, $text)
{
$name = '[text]' . $name;
gpOutput::Get($name, $text);
}
示例4:
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-lg-4">
<?php
gpOutput::Get('Extra', 'Side_Menu');
?>
</div>
<div class="col-lg-4">
<?php
gpOutput::Get('Extra', 'Footer');
?>
</div>
<div class="col-lg-4">
<?php
gpOutput::Get('Extra', 'Lorem');
?>
</div>
</div>
<hr>
<footer><p>
<?php
gpOutput::GetAdminLink();
?>
</p></footer>
</div> <!-- /container -->
</body>
</html>
示例5: array
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php
global $config;
echo common::Link('', $config['title'], '', 'class="navbar-brand"');
?>
</div>
<div class="collapse navbar-collapse">
<?php
$GP_ARRANGE = false;
$GP_MENU_CLASSES = array('menu_top' => 'nav navbar-nav navbar-right', 'selected' => '', 'selected_li' => 'active', 'childselected' => '', 'childselected_li' => '', 'li_' => '', 'li_title' => '', 'haschildren' => 'dropdown-toggle', 'haschildren_li' => 'dropdown', 'child_ul' => 'dropdown-menu');
gpOutput::Get('TopTwoMenu');
//top two levels
?>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<?php
$page->GetContent();
?>
<hr/>
<footer><p>
<?php
gpOutput::GetAdminLink();
示例6:
/*
<h4>Subheading</h4>
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
<h4>Subheading</h4>
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
<h4>Subheading</h4>
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
*/
?>
</div>
<div class="span6">
<?php
gpOutput::Get('Extra', 'Footer');
/*
<h4>Subheading</h4>
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
<h4>Subheading</h4>
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
<h4>Subheading</h4>
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
*/
?>
</div>
</div>
<hr>
示例7: array
gpOutput::Get('Extra', 'Footer');
?>
</div>
<div class="col-lg-4">
<?php
gpOutput::Get('Extra', 'Lorem');
?>
</div>
</div><!--/row-->
</div><!--/span-->
<div class="col-xs-6 col-sm-3 sidebar-offcanvas" id="sidebar" role="navigation">
<div class="well sidebar-nav">
<?php
$GP_MENU_CLASSES = array('menu_top' => 'nav', 'selected' => '', 'selected_li' => 'active', 'childselected' => '', 'childselected_li' => '', 'li_' => '', 'li_title' => '');
gpOutput::Get('CustomMenu', '1,2,0,0');
/*
<ul class="nav">
<li>Sidebar</li>
<li class="active"><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li>Sidebar</li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li>Sidebar</li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
*/
示例8: date
gpOutput::Get('TopTwoMenu');
?>
</div>
<div class="clr"></div>
</div>
<div id="body">
<div class="body_content">
<div class="content">
<?php
$page->GetContent();
?>
</div>
<div class="sidebar">
<?php
gpOutput::Get('Extra', 'Side_Menu');
?>
<?php
gpOutput::GetAllGadgets();
?>
</div>
<div class="clr"></div>
</div>
</div>
<div class="tab"><div class="tab_content"></div></div>
<div id="footer">
<div class="footer_content">
<p>© Copyright <?php
echo date("Y");
示例9: array
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<?php
global $config;
echo common::Link('', $config['title'], '', 'class="brand"');
?>
<div class="nav-collapse collapse">
<?php
$GP_ARRANGE = false;
$GP_MENU_CLASSES = array('menu_top' => 'nav', 'selected' => '', 'selected_li' => 'active', 'childselected' => '', 'childselected_li' => '', 'li_' => '', 'li_title' => '');
gpOutput::Get('Menu');
?>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<?php
$page->GetContent();
?>
<hr/>
<footer><p>
<?php
gpOutput::GetAdminLink();
?>
示例10: AdminContentPanel
/**
* Output toolbar for admin window
*
*/
function AdminContentPanel()
{
global $langmessage;
echo '<div id="admincontent_panel" class="toolbar cf">';
gpOutput::Get('Menu');
echo '<form method="get" action="/index.php/Search" id="panel_search" class="cf">';
echo '<input type="text" value="" name="q">';
echo '<button class="gpabox" type="submit"></button>';
echo '</form>';
echo '</div>';
}