Beispiel #1
0
 public function canGetProperty($name)
 {
     return parent::canGetProperty($name) or $this->hasLangAttribute($name);
 }
 /**
  * Expose translatable attributes as readable
  */
 public function canGetProperty($name)
 {
     return in_array($name, $this->translationAttributes) || in_array($name, array_keys($this->multilingualRelations)) ? true : parent::canGetProperty($name);
 }
 public function canGetProperty($name)
 {
     return $this->groupName($name) || parent::canGetProperty($name);
 }
 /**
  * Check if a property is available.
  *
  * Relies on __isset() because any attribute here is a property.
  *
  * (non-PHPdoc)
  * @see CComponent::canGetProperty()
  */
 public function canGetProperty($name)
 {
     return parent::canGetProperty($name) || $this->__isset($name);
 }
 /**
  * Expose translatable attribues as readable
  */
 public function canGetProperty($name)
 {
     return in_array($name, $this->translationAttributes) ? true : parent::canGetProperty($name);
 }