Location: PHPKode > projects > PHP Doc System > content/sample_3.php
<?php

// PHP Doc System Module: Sample 3

$sample_3 = new module("sample_3" // key
                      ,"Sample 3" // title
                      ,"Sample 3" // link text
                      ,array()
                      ,"" // summary
                      ,"" // content
                      ,array()
                      );

$current_module = $sample_3;
include("import_modules.inc.php");

ob_start(); // buffering content
	ob_start(); // buffering summary
?>
<p><?php $sample_3->link("Sample 3"); ?> summary info here.</p>
<?php
	$sample_3->summary = ob_get_contents();
	ob_end_clean();
	print($sample_3->summary);
?>
<p>The rest of the content goes here.</p>
<?php
$sample_3->content = ob_get_contents();
ob_end_clean();
?>
Return current item: PHP Doc System