Refactoring/simplification of the pull-request about links

This commit is contained in:
Frederic Guillot
2015-02-14 16:11:13 -05:00
parent 364382b1b5
commit f7e4c3928a
77 changed files with 1407 additions and 2588 deletions

View File

@@ -155,9 +155,6 @@ class Helper
*/
public function formValue($values, $name)
{
if (false !== ($pos = strpos($name, '['))) {
$name = substr($name, 0, $pos);
}
if (isset($values->$name)) {
return 'value="'.$this->e($values->$name).'"';
}
@@ -584,7 +581,6 @@ class Helper
{
return strpos($haystack, $needle) !== false;
}
/**
* Return a value from a dictionary