public function getValue() { if (!$this->value && $this->uploadedFile()) { $this->value = \Meta\FileSystem::generateFileName($_FILES[$this->altName()]['name']); } return parent::getValue(); }