示例#1
0
 public function getFieldId()
 {
     if ($this->_getData('field_id') === null) {
         if (!is_object($this->getChild(self::CHILD_BLOCK_NAME_INPUT_FIELD)) || !($fieldId = $this->getChild(self::CHILD_BLOCK_NAME_INPUT_FIELD)->getFieldId())) {
             $fieldId = parent::getFieldId();
         }
         $this->setData('field_id', $fieldId);
     }
     return $this->_getData('field_id');
 }
示例#2
0
 protected function _beforeToHtml()
 {
     $this->addFieldClass(self::CLASS_NAME_SELECT);
     return parent::_beforeToHtml();
 }
示例#3
0
 protected function _beforeToHtml()
 {
     $this->addFieldClass(self::CLASS_NAME_VALIDATE_NUMBER);
     return Mageplace_Freshdesk_Block_Field_Abstract::_beforeToHtml();
 }
示例#4
0
 public function _construct()
 {
     $this->setTemplate('freshdesk/field/date.phtml');
     parent::_construct();
 }