attributes[$field]; } //파일관련 Field전용 final public function getFileDownload($field = "upload_file") { return anchor( current_url() . "/download/{$field}/{$this->getPrimaryKey()}", ICONS['IMAGE_FILE'] . explode(DEFAULTS['DELIMITER_FILE'], $this->attributes[$field])[1], ["target" => "_self"] ); } //이미지관련 Field전용 final public function getFileImage($field = "photo", $size = false) { return sprintf( "", $size ? $size . '_' : '', explode(DEFAULTS['DELIMITER_FILE'], $this->attributes[$field])[1] ); } }