Source for file Function.php
Documentation is available at Function.php
<function name="" return="" access="">
type, descr, default (if there is a default value, then it is optional!)
var $regex = '/^(\<function\>)\n(.+)\n(\<\/function\>)(\s|$)/Umsi';
// split apart the markup lines and loop through them
$lines = explode("\n", $matches[2 ]);
foreach ($lines as $line) {
// find the first ':' on the line; the left part is the
// type, the right part is the value. skip lines without
// $type is the line type: name, access, return, param, throws
$opts['params'][] = array (
$opts['params'][] = array (
$opts['params'][] = array (
if ($type == 'returns') {
// add the token back in place
return $this->wiki->addToken ($this->rule, $opts) . $matches[4 ];
Documentation generated on Mon, 11 Mar 2019 13:56:09 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|