Example #1
0
 /**
  * getCommonAttributes
  *
  * @return array
  */
 protected function getCommonAttributes()
 {
     $list = parent::getCommonAttributes();
     $list['value'] = '1';
     return $list;
 }
Example #2
0
 /**
  * getCommonAttributes
  *
  * @return array
  */
 protected function getCommonAttributes()
 {
     $list = parent::getCommonAttributes();
     unset($list['value']);
     return $list;
 }
Example #3
0
 /**
  * Determines if checkbox is checked
  *
  * @return boolean
  */
 protected function isChecked()
 {
     return parent::isChecked() || $this->callFormMethod('getShipAsBillFlag');
 }
Example #4
0
 /**
  * getCommonAttributes
  *
  * @return array
  */
 protected function getCommonAttributes()
 {
     $list = parent::getCommonAttributes();
     $list['value'] = '1';
     if ($this->isDisabled()) {
         $list['disabled'] = 'disabled';
     }
     return $list;
 }