当前位置: 首页>>代码示例>>PHP>>正文


PHP Area::display方法代码示例

本文整理汇总了PHP中Area::display方法的典型用法代码示例。如果您正苦于以下问题:PHP Area::display方法的具体用法?PHP Area::display怎么用?PHP Area::display使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Area的用法示例。


在下文中一共展示了Area::display方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Area

?>

		<div class="spacer"></div>

		<?php 
if ($c->isEditMode()) {
    ?>
		</div>
		<?php 
}
?>
		
		<div id="header-area">
			<div class="divider"></div>
			<div id="header-area-inside">
			<?php 
$ah = new Area('Header');
$ah->display($c);
?>
	
			</div>	
			
			<?php 
if ($ah->getTotalBlocksInArea() > 0) {
    ?>
				<div class="divider"></div>
			<?php 
}
?>
		</div>
	</div>			
开发者ID:vipkailiai,项目名称:FCVOVA,代码行数:31,代码来源:header.php

示例2: die

<?php

defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php');
?>
<div class="body gs960">
	<div class="main">
		<?php 
$main = new Area('Main');
$main->display($c);
?>
		<div class="gline">
			<div class="unit size3of4">
				<?php 
$extra1 = new Area('Extra1');
$extra1->display($c);
?>
			</div>

			<div class="unit lastUnit size1of4">
				<?php 
$extra2 = new Area('Extra2');
$extra2->display($c);
?>
			</div>
		</div>
	</div>
</div>
<?php 
$this->inc('elements/footer.php');
开发者ID:holyshared,项目名称:developer-package,代码行数:30,代码来源:default.php

示例3: Area

</a>
			</h3>
			<h4>
				Posted by <?php 
    echo $author;
    ?>
 on <?php 
    echo $date;
    ?>
			</h4>
		</div>
		<div class="excerpt">
			<?php 
    $a = new Area('Main');
    $a->disableControls();
    $a->display($cobj);
    ?>
		</div>
		<div class="ccm-spacer"></div>
		<div class="meta">
			<?php 
    echo $comments;
    ?>
 <a href="<?php 
    echo $link;
    ?>
">Read full post &raquo;</a>
		</div>
	</div>
	<hr class="blog-entry-divider"/>
	<?php 
开发者ID:janzenz,项目名称:c5_boilerplate,代码行数:31,代码来源:boilerplate_blog.php

示例4: die

<?php

defined('C5_EXECUTE') or die("Access Denied.");
$a2 = new Area('Poll');
$aBlocks = $a2->getAreaBlocksArray($c);
/*
$pollBlocks=array();
foreach($aBlocks as $bls){
    if($bls->getBlockTypeHandle() != 'poll') continue;
    $pollBlocks[]=$bls;
}
*/
if (count($aBlocks) > 0) {
    ?>
<div id="post-poll">
	<div class="aux">
	<?php 
    $a2->display($c, $aBlocks);
    ?>
	
	</div>
</div>
<?php 
}
开发者ID:ppiedaderawnet,项目名称:concrete5,代码行数:24,代码来源:poll_view.php

示例5: t

<?php

defined('C5_EXECUTE') or die(_("Access Denied."));
?>

<div class="foot">
	<div class="inner gs960">
		<?php 
$footer = new Area('Footer');
$footer->display($c);
?>

		<div class="mod credit">
			<div class="inner">
				<div class="hd"><h4>credit</h4></div>
				<div class="bd">
					<p class="copyright">
						<span class="powered-by"><a href="http://www.concrete5.org" title="<?php 
echo t('concrete5 open source CMS');
?>
"><?php 
echo t('concrete5 Content Management');
?>
</a></span>
						&copy; <?php 
echo date('Y');
?>
 <a href="<?php 
echo DIR_REL;
?>
/"><?php 
开发者ID:holyshared,项目名称:developer-package,代码行数:31,代码来源:footer.php

示例6:

$pageHeader->display($c);
?>
        </section>

    <?php 
if ($displayPageContent) {
    ?>
        <section class="ui page content container">
            <?php 
    $pageContent->display($c);
    ?>
        </section>
    <?php 
}
?>

    <?php 
if ($displayPageFooter) {
    ?>
        <section class="ui page footer container">
            <?php 
    $pageFooter->display($c);
    ?>
        </section>
    <?php 
}
?>
</main>

<?php 
$this->inc('elements/footer.php');
开发者ID:ESchuderer,项目名称:Concrete-5-Foundation-6,代码行数:31,代码来源:default.php

示例7: Area

				</div>
			</section>
			<section id="mainsk" class="b-main-sketches">
				<div class="b-sketches-decoration"></div>
				<div class="b-main-sketches-center">
					<?php 
$b = new Area('Блок галереи скетчей');
$b->display($c);
?>
				</div>
			</section>
			<section id="book" class="b-book">
				<div class="b-book-center">
					<?php 
$d = new Area('Блок книги');
$d->display($c);
?>
				</div>
			</section>
			<section id="othersk" class="b-other-sketches">
				<div class="b-sketches-decoration"></div>
				<div class="b-other-sketches-center">
					<?php 
$e = new Area('Блок галереи других скетчей');
$e->display($c);
?>
				</div>
			</section>

<?php 
$this->inc('elements/footer.php');
开发者ID:madmarker,项目名称:creatureslab,代码行数:31,代码来源:main.php

示例8: Area

     *     $pageBlocks = $page->getBlocks('Main');
     *     if (count($pageBlocks) > 0) {
     *         foreach ($pageBlocks as $pb) {
     *             if ($pb->btHandle == 'content') {
     *                 $excerpt = $pb->getInstance()->getContent(); //NOTE: getContent() function is specific to the content block type -- it cannot be called on just any kind of block!
     *     	           if ($controller->truncateSummaries) {
     *     	               $excerpt = $th->shorten($excerpt, $controller->truncateChars); //Concrete5.4.2.1 and lower
     *     	               //$excerpt = $th->shortenTextWord($excerpt, $controller->truncateChars); //Concrete5.4.2.2 and higher
     *     	           }
     *                 break;
     *     	       }
     *         }
     *     }
     *     echo $excerpt;
     *     ?>
     *
     */
    /*** Here comes the most important part of the template! The html from here down to the "endforeach" line is repeated for each page in the list... */
    ?>

    <?php 
    $a = new Area('Glass tab content');
    //change 'Main' to the name of the area you want to display
    $a->disableControls();
    $a->display($page);
    ?>

	<?php 
}
?>
</div>
开发者ID:robchenski,项目名称:ids,代码行数:31,代码来源:prod_glass_tab_content.php

示例9: display

	public function display() {
		$c = Page::getCurrentPage();
		parent::getOrCreate($c, $this->arHandle, 1);		
		parent::display($c);
	}
开发者ID:nbourguig,项目名称:concrete5,代码行数:5,代码来源:global_area.php

示例10: Area

									<p><a href="#0"><img src="<?php echo $this->getThemePath(); ?>/<?php echo $this->getThemePath(); ?>/images/twitter-feed.jpg"></a></p>
									<p>IDSystems<br />@IDSystems_UK</p>
									<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tincidunt risus convallis tellus fringilla, a condimentum nulla vulputate. </p>
								</div>
							</div>*/
?>
						</div>
					</div> <!-- .content -->
				</main>
			</div> <!-- #lower-01-main-container -->
			<div id="lower-02-main-container" class="container">
				<main id="lower-02-main" class="wrapper">
					<div class="content">
						<?php 
$as = new Area('Systems');
$as->display($c);
?>
						<ul class="callout-system-links">
							<li><img src="<?php 
echo $this->getThemePath();
?>
/images/systems/sys-02.png"></li>
							<li><img src="<?php 
echo $this->getThemePath();
?>
/images/systems/sys-01.png"></li>
							<li><img src="<?php 
echo $this->getThemePath();
?>
/images/systems/sys-03.png"></li>
							<li><img src="<?php 
开发者ID:robchenski,项目名称:ids,代码行数:31,代码来源:home.php

示例11: die

<?php

defined('C5_EXECUTE') or die(_("Access Denied."));
$this->inc('elements/header.php');
?>
<div class="body gs960">
	<div class="main">
		<?php 
$main = new Area('Main');
$main->display($c);
?>
	</div>
</div>
<?php 
$this->inc('elements/footer.php');
开发者ID:holyshared,项目名称:developer-package,代码行数:15,代码来源:full.php

示例12: defined

<? defined('C5_EXECUTE') or die("Access Denied."); ?>

<div class="row">
<div class="span14 offset1 columns">
<div class="ccm-pane">


	<div class="ccm-pane-header"><h3><?php 
echo $c->getCollectionName();
?>
</h3></div>
	<div class="ccm-pane-body clearfix" id="ccm-stack-container">
	<? $a = new Area(STACKS_AREA_NAME); $a->display($c); ?>
	</div>

</div>
</div>
</div>
开发者ID:nbourguig,项目名称:concrete5,代码行数:18,代码来源:detail.php

示例13: displayTableGrid

 protected function displayTableGrid($rows = 3, $columns = 3, $c = NULL)
 {
     if (!$c) {
         global $c;
     }
     if ($c->isEditMode()) {
         $editMode = 'ccm-edit-mode';
     }
     if (!intval($rows)) {
         $rows = 1;
     }
     if (!intval($columns)) {
         $columns = 3;
     }
     $layoutNameClass = 'ccm-layout-name-' . TextHelper::camelcase($this->getAreaHandle()) . '-' . TextHelper::camelcase($this->getLayoutNameTxt()) . '-' . $this->getAreaNameNumber();
     echo '<div id="ccm-layout-' . $this->layoutID . '" class="ccm-layout ccm-layout-table  ' . $layoutNameClass . ' ' . $editMode . '">';
     for ($i = 0; $i < $rows; $i++) {
         echo '<div class="ccm-layout-row ccm-layout-row-' . ($i + 1) . '">';
         $cumulativeWidth = 0;
         for ($j = 0; $j < $columns; $j++) {
             $colWidth = $columns == 1 ? '100%' : $this->getNextColWidth($j, $cumulativeWidth);
             $cumulativeWidth += intval(str_replace(array('px', '%'), '', strtolower($colWidth)));
             $columnn_id = 'ccm-layout-' . intval($this->layoutID) . '-col-' . ($j + 1);
             if ($j == 0) {
                 $positionTag = 'first';
             } elseif ($j == $columns - 1) {
                 $positionTag = 'last';
             } else {
                 $positionTag = '';
             }
             echo '<div class="' . $columnn_id . ' ccm-layout-cell ccm-layout-col ccm-layout-col-' . ($j + 1) . ' ' . $positionTag . '" style="width:' . $colWidth . '">';
             $a = new Area($this->getCellAreaHandle($this->getCellNumber()));
             ob_start();
             $a->display($c);
             $areaHTML = ob_get_contents();
             ob_end_clean();
             if (strlen($areaHTML)) {
                 if (intval($this->spacing)) {
                     $areaHTML = '<div class="ccm-layout-col-spacing">' . $areaHTML . '</div>';
                 }
                 echo $areaHTML;
             } else {
                 echo '&nbsp;';
             }
             echo '</div>';
         }
         echo '<div class="ccm-spacer"></div>';
         echo '</div>';
     }
     echo '</div>';
 }
开发者ID:homer6,项目名称:concrete5-mirror,代码行数:51,代码来源:layout.php

示例14: defined

<?php  defined('C5_EXECUTE') or die("Access Denied."); ?>
<div class="pageSection">
	<?php  $ai = new Area('Blog Post Header'); $ai->display($c); ?>
</div>
<div class="pageSection">
	<h1><?php  echo $c->getCollectionName(); ?></h1>
	<p class="meta"><?php  echo t('Posted by')?> <?php  echo $c->getVersionObject()->getVersionAuthorUserName(); ?> on <?php  echo $c->getCollectionDatePublic('F j, Y'); ?></p>		
</div>
<div class="pageSection">
	<?php  $as = new Area('Main'); $as->display($c); ?>
</div>
<div class="pageSection">
	<?php  $a = new Area('Blog Post More'); $a->display($c); ?>
</div>
<div class="pageSection">
	<?php  $ai = new Area('Blog Post Footer'); $ai->display($c); ?>
</div>
开发者ID:rii-J,项目名称:concrete5-de,代码行数:17,代码来源:blog_entry.php

示例15: t

</h1>
				<p class="meta"><?php 
echo t('Posted by %s on %s', $c->getVersionObject()->getVersionAuthorUserName(), Core::make('helper/date')->formatDate($c->getCollectionDatePublic(), true));
?>
</p>		
			</div>
			<div class="pageSection">
				<?php 
$as = new Area('Main');
$as->display($c);
?>
			</div>
			<div class="pageSection">
				<?php 
$a = new Area('Blog Post More');
$a->display($c);
?>
			</div>
			<div class="pageSection">
				<?php 
$ai = new Area('Blog Post Footer');
$ai->display($c);
?>
			</div>
		</div>
		
		<div class="spacer">&nbsp;</div>		
	</div>

<?php 
$this->inc('elements/footer.php');
开发者ID:vipkailiai,项目名称:FCVOVA,代码行数:31,代码来源:blog_entry.php


注:本文中的Area::display方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。