Exemplo n.º 1
0
 /**
  * FIXME - backward compatibility
  *
  * @param string $name Property name
  *
  * @return mixed
  */
 public function get($name)
 {
     $value = parent::get($name);
     return null !== $value ? $value : \XLite::getController()->get($name);
 }
Exemplo n.º 2
0
 /**
  * FIXME - backward compatibility
  *
  * @param string $name Property name
  *
  * @return mixed
  */
 public function get($name)
 {
     $value = parent::get($name);
     return isset($value) ? $value : \XLite::getController()->get($name);
 }