lib/Cake/View/Helper/FormHelper.php 1 location
|
@@ 696-699 (lines=4) @@
|
693 |
|
return null; |
694 |
|
} |
695 |
|
if (is_array($text)) { |
696 |
|
if (isset($text['attributes']) && is_array($text['attributes'])) { |
697 |
|
$options = array_merge($options, $text['attributes']); |
698 |
|
unset($text['attributes']); |
699 |
|
} |
700 |
|
$tmp = array(); |
701 |
|
foreach ($error as &$e) { |
702 |
|
if (isset($text[$e])) { |
lib/Cake/View/Helper/TimeHelper.php 1 location
|
@@ 410-414 (lines=5) @@
|
407 |
|
'title' => $dateTime |
408 |
|
); |
409 |
|
|
410 |
|
if (is_array($options['element'])) { |
411 |
|
$element = array_merge($element, $options['element']); |
412 |
|
} else { |
413 |
|
$element['tag'] = $options['element']; |
414 |
|
} |
415 |
|
unset($options['element']); |
416 |
|
} |
417 |
|
$relativeDate = $this->_engine->timeAgoInWords($dateTime, $options); |