예제 #1
0
 /**
  * Check if option value is changed
  *
  * @param \XLite\Model\Config $option Config option
  * @param string              $value  New value
  *
  * @return string
  */
 protected function isChanged($option, $value)
 {
     return null !== $value && $option->getValue() !== $value;
 }
예제 #2
0
 /**
  * {@inheritDoc}
  */
 public function getValue()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getValue', array());
     return parent::getValue();
 }