mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Removing Helper::assign()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7477 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
b3b9827862
commit
21acac5c59
1 changed files with 0 additions and 18 deletions
|
@ -646,24 +646,6 @@ class Helper extends Overloadable {
|
||||||
function output($str) {
|
function output($str) {
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* Assigns values to tag templates.
|
|
||||||
*
|
|
||||||
* Finds a tag template by $keyName, and replaces $values's keys with
|
|
||||||
* $values's keys.
|
|
||||||
*
|
|
||||||
* @param string $keyName Name of the key in the tag array.
|
|
||||||
* @param array $values Values to be inserted into tag.
|
|
||||||
* @return string Tag with inserted values.
|
|
||||||
*/
|
|
||||||
function assign($keyName, $values) {
|
|
||||||
$out = $keyName;
|
|
||||||
if (isset($this->tags) && isset($this->tags[$keyName])) {
|
|
||||||
$out = $this->tags[$keyName];
|
|
||||||
}
|
|
||||||
|
|
||||||
//$out =
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* Before render callback. Overridden in subclasses.
|
* Before render callback. Overridden in subclasses.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue