コード例 #1
1
 public function getLabel()
 {
     $this->description = $this->_image_thumbnail_mode();
     return parent::getLabel();
 }
コード例 #2
0
ファイル: listwrapper.php プロジェクト: esorone/efcpw
 public function getLabel()
 {
     if (!self::hide_it()) {
         return parent::getLabel();
     }
     return '';
 }
コード例 #3
0
 protected function getLabel()
 {
     if (count($this->getOptions()) == 0) {
         return "<label>There are no Profile Plugins enabled which support Alternative Registration</label>";
     }
     return parent::getLabel();
 }
コード例 #4
0
ファイル: theme.php プロジェクト: JozefAB/qk
 protected function getLabel()
 {
     if (count($this->getOptions()) == 0) {
         return "<label>There are no Themes available</label>";
     }
     return parent::getLabel();
 }
コード例 #5
0
ファイル: jevcustomlayout.php プロジェクト: poorgeek/JEvents
 protected function getLabel()
 {
     if (!JevJoomlaVersion::isCompatible("3.4")) {
         return "";
     }
     return parent::getLabel();
 }
コード例 #6
0
ファイル: k2tags.php プロジェクト: esorone/efcpw
 public function getLabel()
 {
     if (SYWK2::exists()) {
         return parent::getLabel();
     }
     return '<div style="clear: both;"></div>';
 }
コード例 #7
0
ファイル: tags.php プロジェクト: ashanrupasinghe/slbcv1
 protected function getLabel()
 {
     $folder = JPATH_ROOT . '/components/com_tags';
     if (JFolder::exists($folder)) {
         return parent::getLabel();
     }
     return '<div style="clear: both;"></div>';
 }
コード例 #8
0
ファイル: k2category.php プロジェクト: esorone/efcpw
 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>';
 }
コード例 #9
0
ファイル: cblist.php プロジェクト: pabloarias/JoomGallery
 /**
  * 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;
 }
コード例 #10
0
 public function getLabel()
 {
     // code that returns HTML that will be shown as the label
     return parent::getLabel();
 }