@@ -119,6 +119,7 @@ discard block |
||
| 119 | 119 | * @param integer the line number that parsing starts from (internal use) |
| 120 | 120 | * @param boolean whether this template is a source template, i.e., this template is loaded from |
| 121 | 121 | * some external storage rather than from within another template. |
| 122 | + * @param string $tplFile |
|
| 122 | 123 | */ |
| 123 | 124 | public function __construct($template,$contextPath,$tplFile=null,$startingLine=0,$sourceTemplate=true) |
| 124 | 125 | { |
@@ -301,6 +302,7 @@ discard block |
||
| 301 | 302 | * @param TControl control to be configured |
| 302 | 303 | * @param string property name |
| 303 | 304 | * @param mixed property initial value |
| 305 | + * @param TControl $control |
|
| 304 | 306 | */ |
| 305 | 307 | protected function configureControl($control,$name,$value) |
| 306 | 308 | { |
@@ -317,6 +319,7 @@ discard block |
||
| 317 | 319 | * @param TComponent component to be configured |
| 318 | 320 | * @param string property name |
| 319 | 321 | * @param mixed property initial value |
| 322 | + * @param TComponent $component |
|
| 320 | 323 | */ |
| 321 | 324 | protected function configureComponent($component,$name,$value) |
| 322 | 325 | { |
@@ -703,6 +706,8 @@ discard block |
||
| 703 | 706 | /** |
| 704 | 707 | * Parses the attributes of a tag from a string. |
| 705 | 708 | * @param string the string to be parsed. |
| 709 | + * @param string $str |
|
| 710 | + * @param string $offset |
|
| 706 | 711 | * @return array attribute values indexed by names. |
| 707 | 712 | */ |
| 708 | 713 | protected function parseAttributes($str,$offset) |
@@ -737,6 +742,9 @@ discard block |
||
| 737 | 742 | return $attributes; |
| 738 | 743 | } |
| 739 | 744 | |
| 745 | + /** |
|
| 746 | + * @param string $content |
|
| 747 | + */ |
|
| 740 | 748 | protected function parseTemplateProperty($content,$offset) |
| 741 | 749 | { |
| 742 | 750 | $line=$this->_startingLine+count(explode("\n",substr($this->_content,0,$offset)))-1; |
@@ -746,6 +754,7 @@ discard block |
||
| 746 | 754 | /** |
| 747 | 755 | * Parses a single attribute. |
| 748 | 756 | * @param string the string to be parsed. |
| 757 | + * @param string $value |
|
| 749 | 758 | * @return array attribute initialization |
| 750 | 759 | */ |
| 751 | 760 | protected function parseAttribute($value) |
@@ -889,6 +898,8 @@ discard block |
||
| 889 | 898 | * @param Exception template exception |
| 890 | 899 | * @param int line number |
| 891 | 900 | * @param string template string if no source file is used |
| 901 | + * @param \Exception $e |
|
| 902 | + * @param integer $line |
|
| 892 | 903 | */ |
| 893 | 904 | protected function handleException($e,$line,$input=null) |
| 894 | 905 | { |
@@ -958,7 +969,7 @@ discard block |
||
| 958 | 969 | |
| 959 | 970 | /** |
| 960 | 971 | * Checks if the given method belongs to a previously attached class behavior. |
| 961 | - * @param ReflectionClass $class |
|
| 972 | + * @param \ReflectionClass $class |
|
| 962 | 973 | * @param string $method |
| 963 | 974 | * @return boolean |
| 964 | 975 | */ |