예제 #1
0
파일: ForeignKey.php 프로젝트: phpwax/model
 public function __get($name)
 {
     if ($name == "value") {
         return $this->model->{$this->col_name};
     }
     return parent::__get($name);
 }
예제 #2
0
파일: FileField.php 프로젝트: phpwax/model
 public function setup()
 {
     $this->create_directory(WAX_ROOT . $this->file_root);
     parent::setup();
 }