本文整理匯總了PHP中utility::built_page_content方法的典型用法代碼示例。如果您正苦於以下問題:PHP utility::built_page_content方法的具體用法?PHP utility::built_page_content怎麽用?PHP utility::built_page_content使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類utility
的用法示例。
在下文中一共展示了utility::built_page_content方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: htmlentities
?>
<div class="view-content">
<h1> <?php
echo htmlentities($current_page["menu_name"]);
?>
</h1>
<?php
/**
* built page content with parameter
*/
$width = "80";
// the width of each line of page content
$indent = "2";
// indent for first line of paragraph
$page_content = utility::built_page_content($width, $indent);
?>
<p><?php
echo $page_content;
?>
</p>
<p class="post-footer align-right"> <a href="index.php?page=<?php
echo $current_page['id'];
?>
&read=1" class="readmore">Read more</a> <span class="comments">Comments (<?php
echo $dbo->count_number_rows($comment_set);
?>
)</span> <span class="date"><?php
echo $current_page['created'];