JHtmlRules/ getImagesArray
From Joomla! Documentation
< JHtmlRules(Difference between revisions)
Current revision
Contents |
Syntax
static JHtmlRules::_getImagesArray()
Defined in
libraries/joomla/html/html/rules.php
Importing
jimport( 'joomla.html.html.rules' );
Source Body
protected static function _getImagesArray()
{
$base = JURI::root(true);
$images['allow-l'] = '<label class="icon-16-allow" title="'.JText::_('JALLOWED').'">'.JText::_('JALLOWED').'</label>';
$images['deny-l'] = '<label class="icon-16-deny" title="'.JText::_('JDENIED').'">'.JText::_('JDENIED').'</label>';
$images['allow'] = '<a class="icon-16-allow" title="'.JText::_('JALLOWED').'"> </a>';
$images['deny'] = '<a class="icon-16-deny" title="'.JText::_('JDENIED').'"> </a>';
$images['allow-i'] = '<a class="icon-16-allowinactive" title="'.JText::_('JALLOW_INHERITED').'"> </a>';
$images['deny-i'] = '<a class="icon-16-denyinactive" title="'.JText::_('JDENY_INHERITED').'"> </a>';
return $images;
}
