芝麻web文件管理V1.00
编辑当前文件:/home/p/r/i/prismawe/www/resupres/modules/userguide/classes/kohana/kodoc/method/param.php
param = new ReflectionParameter($method, $param); $this->name = $this->param->name; if ($this->param->isDefaultValueAvailable()) { $this->default = Debug::dump($this->param->getDefaultValue()); } if ($this->param->isPassedByReference()) { $this->reference = TRUE; } if ($this->param->isOptional()) { $this->optional = TRUE; } } public function __toString() { $display = ''; if ($this->type) { $display .= '
'.$this->type.'
'; } if ($this->reference) { $display .= '
&
'; } if ($this->description) { $display .= '
$'.$this->name.'
'; } else { $display .= '$'.$this->name.' '; } if ($this->default) { $display .= '
= '.$this->default.'
'; } return $display; } } // End Kodoc_Method_Param