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:
mark_story 2008-08-19 01:25:33 +00:00
parent b3b9827862
commit 21acac5c59

View file

@ -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.
* *