public function getSize() { if ($this->size) { return File::format_size($this->size); } return parent::getSize(); }
/** * Get filetype * * @return string */ public function getFileType() { return $this->getType() ?: parent::getFileType(); }
public function getSize() { if ($this->size) { return File::format_size($this->size); } return parent::getSize(); }
/** * Get filetype * * @return string */ public function getFileType() { return $this->getType() ?: parent::getFileType(); }