mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Marked Helper::_parseAttributes() and Helper::_formatAttribute() as deprecated.
This commit is contained in:
parent
511b480285
commit
552791d74b
1 changed files with 2 additions and 0 deletions
|
@ -351,6 +351,7 @@ class Helper extends Object {
|
|||
* @param string $insertBefore String to be inserted before options.
|
||||
* @param string $insertAfter String to be inserted after options.
|
||||
* @return string Composed attributes.
|
||||
* @deprecated This method has been moved to HtmlHelper
|
||||
*/
|
||||
protected function _parseAttributes($options, $exclude = null, $insertBefore = ' ', $insertAfter = null) {
|
||||
if (!is_string($options)) {
|
||||
|
@ -384,6 +385,7 @@ class Helper extends Object {
|
|||
* @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.
|
||||
* @deprecated This method has been moved to HtmlHelper
|
||||
*/
|
||||
protected function _formatAttribute($key, $value, $escape = true) {
|
||||
$attribute = '';
|
||||
|
|
Loading…
Add table
Reference in a new issue