@@ -33,6 +33,10 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | protected $underlay; |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param ViewableData $item |
|
| 38 | + * @param ViewableData $inheritedScope |
|
| 39 | + */ |
|
| 36 | 40 | public function __construct($item, $overlay = null, $underlay = null, $inheritedScope = null) |
| 37 | 41 | { |
| 38 | 42 | parent::__construct($item, $inheritedScope); |
@@ -65,6 +69,10 @@ discard block |
||
| 65 | 69 | $this->underlay = $underlay ? $underlay : array(); |
| 66 | 70 | } |
| 67 | 71 | |
| 72 | + /** |
|
| 73 | + * @param string $interfaceToQuery |
|
| 74 | + * @param string $variableMethod |
|
| 75 | + */ |
|
| 68 | 76 | protected function createCallableArray(&$extraArray, $interfaceToQuery, $variableMethod, $createObject = false) |
| 69 | 77 | { |
| 70 | 78 | $implementers = ClassInfo::implementorsOf($interfaceToQuery); |
@@ -30,6 +30,9 @@ |
||
| 30 | 30 | */ |
| 31 | 31 | protected $cacheTemplate; |
| 32 | 32 | |
| 33 | + /** |
|
| 34 | + * @param string $content |
|
| 35 | + */ |
|
| 33 | 36 | public function __construct($content, TemplateParser $parser = null) |
| 34 | 37 | { |
| 35 | 38 | if ($parser) { |
@@ -139,6 +139,7 @@ |
||
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | 141 | * @param boolean |
| 142 | + * @param boolean $bool |
|
| 142 | 143 | */ |
| 143 | 144 | public function setAllowMultibyte($bool) |
| 144 | 145 | { |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | |
| 239 | 239 | /** |
| 240 | 240 | * @param array $properties |
| 241 | - * @return string |
|
| 241 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 242 | 242 | */ |
| 243 | 243 | public function Field($properties = array()) |
| 244 | 244 | { |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | |
| 239 | 239 | /** |
| 240 | 240 | * @param array $properties |
| 241 | - * @return string |
|
| 241 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 242 | 242 | */ |
| 243 | 243 | public function Field($properties = array()) |
| 244 | 244 | { |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | |
| 239 | 239 | /** |
| 240 | 240 | * @param array $properties |
| 241 | - * @return string |
|
| 241 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 242 | 242 | */ |
| 243 | 243 | public function Field($properties = array()) |
| 244 | 244 | { |
@@ -238,7 +238,7 @@ |
||
| 238 | 238 | |
| 239 | 239 | /** |
| 240 | 240 | * @param array $properties |
| 241 | - * @return string |
|
| 241 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText |
|
| 242 | 242 | */ |
| 243 | 243 | public function Field($properties = array()) |
| 244 | 244 | { |
@@ -321,6 +321,7 @@ |
||
| 321 | 321 | * Forces the JavaScript requirements to the end of the body, right before the closing tag |
| 322 | 322 | * |
| 323 | 323 | * @param bool |
| 324 | + * @param boolean $var |
|
| 324 | 325 | * @return $this |
| 325 | 326 | */ |
| 326 | 327 | public function setForceJSToBottom($var) |
@@ -116,6 +116,8 @@ discard block |
||
| 116 | 116 | |
| 117 | 117 | /** |
| 118 | 118 | * Override the function that constructs the result arrays to also prepare a 'php' item in the array |
| 119 | + * @param string $matchrule |
|
| 120 | + * @param string $name |
|
| 119 | 121 | */ |
| 120 | 122 | function construct($matchrule, $name, $arguments = null) |
| 121 | 123 | { |
@@ -184,9 +186,9 @@ discard block |
||
| 184 | 186 | |
| 185 | 187 | /** |
| 186 | 188 | * Ensures that the arguments to addOpenBlock and addClosedBlock are valid |
| 187 | - * @param $name |
|
| 188 | - * @param $callable |
|
| 189 | - * @param $type |
|
| 189 | + * @param string $name |
|
| 190 | + * @param callable $callable |
|
| 191 | + * @param string $type |
|
| 190 | 192 | * @throws InvalidArgumentException |
| 191 | 193 | */ |
| 192 | 194 | protected function validateExtensionBlock($name, $callable, $type) |
@@ -277,6 +279,7 @@ discard block |
||
| 277 | 279 | * The basic generated PHP of LookupStep and LastLookupStep is the same, except that LookupStep calls 'obj' to |
| 278 | 280 | * get the next ViewableData in the sequence, and LastLookupStep calls different methods (XML_val, hasValue, obj) |
| 279 | 281 | * depending on the context the lookup is used in. |
| 282 | + * @param string $method |
|
| 280 | 283 | */ |
| 281 | 284 | function Lookup_AddLookupStep(&$res, $sub, $method) |
| 282 | 285 | { |
@@ -1279,6 +1282,7 @@ discard block |
||
| 1279 | 1282 | |
| 1280 | 1283 | /** |
| 1281 | 1284 | * @param string $code |
| 1285 | + * @param string $templateName |
|
| 1282 | 1286 | * @return string $code |
| 1283 | 1287 | */ |
| 1284 | 1288 | protected function includeDebuggingComments($code, $templateName) |