Example #1
0
 function valueForUndefinedKey($key)
 {
     if ($this->hasVirtualColumn($key)) {
         return $this->getVirtualColumn($key);
     }
     // default implementation will throw
     parent::valueForUndefinedKey($key);
 }