コード例 #1
0
ファイル: ForeignKey.php プロジェクト: phpwax/phpwax
 public function __get($name)
 {
     if ($name == "value") {
         return $this->model->{$this->col_name};
     }
     return parent::__get($name);
 }