mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #3421 from thinkingmedia/patch-1
Removed incorrect usage of @deprecated phpDoc
This commit is contained in:
commit
c930bbb0b3
1 changed files with 2 additions and 3 deletions
|
@ -381,13 +381,12 @@ class View extends Object {
|
|||
* If an array, the following keys can be used:
|
||||
* - `config` - Used to store the cached element in a custom cache configuration.
|
||||
* - `key` - Used to define the key used in the Cache::write(). It will be prefixed with `element_`
|
||||
* - `plugin` - Load an element from a specific plugin. This option is deprecated, see below.
|
||||
* - `plugin` - (deprecated!) Load an element from a specific plugin. This option is deprecated, and
|
||||
* will be removed in CakePHP 3.0. Use `Plugin.element_name` instead.
|
||||
* - `callbacks` - Set to true to fire beforeRender and afterRender helper callbacks for this element.
|
||||
* Defaults to false.
|
||||
* - `ignoreMissing` - Used to allow missing elements. Set to true to not trigger notices.
|
||||
* @return string Rendered Element
|
||||
* @deprecated The `$options['plugin']` is deprecated and will be removed in CakePHP 3.0. Use
|
||||
* `Plugin.element_name` instead.
|
||||
*/
|
||||
public function element($name, $data = array(), $options = array()) {
|
||||
$file = $plugin = null;
|
||||
|
|
Loading…
Reference in a new issue