/** * Determines if checkbox is checked * * @return boolean */ protected function isChecked() { return parent::isChecked() || $this->callFormMethod('getShipAsBillFlag'); }
/** * Determines if checkbox is checked * * @return boolean */ protected function isChecked() { return parent::isChecked() || 'Y' == $this->getValue() || '1' === $this->getValue(); }