mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-02 17:42:41 +00:00
Fixed some API doc in views.
This commit is contained in:
parent
a0ee8b49fe
commit
02f290ac52
17 changed files with 64 additions and 47 deletions
|
@ -149,6 +149,7 @@ class Helper extends Object {
|
|||
*
|
||||
* @param string $method Method to invoke
|
||||
* @param array $params Array of params for the method.
|
||||
* @return void
|
||||
*/
|
||||
public function __call($method, $params) {
|
||||
trigger_error(__d('cake_dev', 'Method %1$s::%2$s does not exist', get_class($this), $method), E_USER_WARNING);
|
||||
|
@ -184,7 +185,9 @@ class Helper extends Object {
|
|||
/**
|
||||
* Provides backwards compatiblity access for setting values to the request object.
|
||||
*
|
||||
* @return void
|
||||
* @param string $name Name of the property being accessed.
|
||||
* @param mixed $value
|
||||
* @return mixed Return the $value
|
||||
*/
|
||||
public function __set($name, $value) {
|
||||
switch ($name) {
|
||||
|
@ -379,6 +382,7 @@ class Helper extends Object {
|
|||
*
|
||||
* @param string $key The name of the attribute to create
|
||||
* @param string $value The value of the attribute to create.
|
||||
* @param boolean $escape Define if the value must be escaped
|
||||
* @return string The composed attribute.
|
||||
*/
|
||||
protected function _formatAttribute($key, $value, $escape = true) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue