Hi,
The contents of /views/fields/tmpl/default.php.
I also started modifying namespaces for the future.
The HTMHelper doc provides in this case a dot in front of the parameter.
Regard's
◆ _()
static _ (string $key,
$methodArgs
)
staticfinal
Class loader method
Additional arguments may be supplied and are passed to the sub-class. Additional include paths are also able to be specified for third-party use
Paramètresstring$keyThe name of helper method to load, (prefix).(class).function prefix and class are optional and can be used to load custom html helpers. array$methodArgsThe arguments to pass forward to the method being calledRenvoiemixed Result of HTMLHelper::call($function, $args)
Helper_Admin::addFolderClass( $css, $item->folder, $item->folder_color, $item->folder_colorchar );
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="center hidden-phone"><?php Helper_Display::quickSlideTo( 'pagination-bottom', $i + 1 ); ?></td>
<td class="center hidden-phone no-pad"><?php Helper_Display::quickCheckbox( $i, $item); ?></td>
<td width="30px" class="center hidden-phone dropdown-col"><?php
if ( $item->id != 33 ) {
HTMLHelper::_( '.cckactionsdropdown.addCustomLinkItem', Text::_( 'COM_CCK_PREVIEW_THIS_FIELD' ), 'eye', 'cb_link'.$i, $link2, 'cbox' );
echo HTMLHelper::_( '.cckactionsdropdown.render',$this->escape( $item->title ) );
}
?></td>