示例#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();
 }