Location: PHPKode > scripts > XML Sapiens Processor > xml-sapiens-processor/mvc/model/cmsapplications.php
<?PHP
/**
 * An example of CMS applications
 *
 * PHP versions 4 
 *
 * LICENSE: This source file is subject to version 3.0 of the PHP license
 * that is available through the world-wide-web at the following URI:
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 * the PHP License and are unable to obtain it through the web, please
 * send a note to hide@address.com so we can mail you a copy immediately.
 *
 * @category   Processor
 * @package    SAPIPROCESSOR
 * @author     Max Baryshnikov <hide@address.com>
 * @author     Dmitry Sheiko <hide@address.com>
 * @copyright  2004-2005 XML Sapiens Team
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
 * @version    CVS: $Id:$
 * @link       http://pear.php.net/package/PackageName
 * @see        nothing
 * @since      File available since Release 1.0.0
 * @deprecated File deprecated in Release 1.0.0
 */

 /**
 * @return BOOL
 * @params int value,  int value, ..
 * @desc Multiply a few values 
 */
 
 function sample() {
	// Output stream array
	$stream=array();
	// Enum of abstract items
	for($i=0; $i<10; $i++) {
		$stream[$i]["title"]="Item #".($i+1);
		$stream[$i]["variable"]="var_".($i+1);
		$stream[$i]["counter"]=($i+1);
	}
	return $stream;
}
 ?>
Return current item: XML Sapiens Processor