18 lines
420 B
PHP
18 lines
420 B
PHP
![]() |
<?php
|
||
|
$tags = $this->Hash->extract($row, $field['data_path']);
|
||
|
if (!empty($tags)) {
|
||
|
if (empty($tags[0])) {
|
||
|
$tags = array($tags);
|
||
|
}
|
||
|
echo $this->element(
|
||
|
'ajaxTags',
|
||
|
array(
|
||
|
'attributeId' => 0,
|
||
|
'tags' => $tags,
|
||
|
'tagAccess' => false,
|
||
|
'static_tags_only' => 1
|
||
|
)
|
||
|
);
|
||
|
}
|
||
|
?>
|