Пример #1
0
 function fetchTooltip($label, $description, &$node, $control_name, $name)
 {
     $this->_nnfield = new nnFieldPlainText();
     if (!$node->attributes('label') != '') {
         return '';
     }
     return parent::fetchTooltip($label, $description, $node, $control_name, $name);
 }
Пример #2
0
 function fetchTooltip($label, $description, &$node, $control_name, $name)
 {
     if (substr($name, 0, 1) == '@' || !isset($node->_attributes['label']) || !$node->_attributes['label']) {
         return;
     } else {
         return parent::fetchTooltip($label, $description, $node, $control_name, $name);
     }
 }
Пример #3
0
 function fetchTooltip($label, $description, &$node, $control_name, $name)
 {
     $nostyle = $node->attributes('nostyle');
     if ($nostyle) {
         return JElement::fetchTooltip($label, '', $node, $control_name, $name);
     }
     return;
 }
Пример #4
0
 public function fetchTooltip($label, $description, &$node, $control_name, $name)
 {
     switch ($label) {
         case 'cid':
             if ($this->task) {
                 return ' ';
             }
             $label = JText::_('SP.SOBI_SELECT_CATEGORY');
             break;
         case 'SOBI_SELECT_DATE':
             if ($this->task != 'list.date') {
                 return null;
             }
             $label = JText::_('SP.SOBI_SELECT_ENTRY');
             break;
     }
     return parent::fetchTooltip($label, $node->attributes('msg'), $node, $control_name, $name);
 }