public function getLabel() { $this->description = $this->_image_thumbnail_mode(); return parent::getLabel(); }
public function getLabel() { if (!self::hide_it()) { return parent::getLabel(); } return ''; }
protected function getLabel() { if (count($this->getOptions()) == 0) { return "<label>There are no Profile Plugins enabled which support Alternative Registration</label>"; } return parent::getLabel(); }
protected function getLabel() { if (count($this->getOptions()) == 0) { return "<label>There are no Themes available</label>"; } return parent::getLabel(); }
protected function getLabel() { if (!JevJoomlaVersion::isCompatible("3.4")) { return ""; } return parent::getLabel(); }
public function getLabel() { if (SYWK2::exists()) { return parent::getLabel(); } return '<div style="clear: both;"></div>'; }
protected function getLabel() { $folder = JPATH_ROOT . '/components/com_tags'; if (JFolder::exists($folder)) { return parent::getLabel(); } return '<div style="clear: both;"></div>'; }
public function getLabel() { //$folder = JPATH_ROOT.'/components/com_k2'; //if (JFolder::exists($folder)) { if (SYWK2::exists()) { return parent::getLabel(); } return '<div style="clear: both;"></div>'; }
/** * Method to get the field label markup * * @return string The field label markup * @since 2.0 */ protected function getLabel() { $label = ''; $cbname = $this->element['cbname'] ? $this->element['cbname'] : 'change[]'; $cbvalue = $this->element['cbvalue'] ? $this->element['cbvalue'] : $this->name; $cbid = str_replace(array('[', ']'), array('', ''), $cbname . $cbvalue); $cbhtml = '<input id="' . $cbid . '" type="checkbox" name="' . $cbname . '" value="' . $cbvalue . '" />'; $label = parent::getLabel(); $insertpos = strpos($label, '>'); $label = substr_replace($label, $cbhtml, $insertpos + 1, 0); return $label; }
public function getLabel() { // code that returns HTML that will be shown as the label return parent::getLabel(); }