예제 #1
0
파일: File.php 프로젝트: moiseh/codegen
 public function getValue()
 {
     if (!$this->value && $this->uploadedFile()) {
         $this->value = \Meta\FileSystem::generateFileName($_FILES[$this->altName()]['name']);
     }
     return parent::getValue();
 }