PHP Class BookStack\Attachment

Inheritance: extends Ownable
ファイルを表示 Open project: ssddanbrown/bookstack Class Usage Examples

Protected Properties

Property Type Description
$fillable

Public Methods

Method Description
getFileName ( ) : mixed | string Get the downloadable file name for this upload.
getUrl ( ) : string Get the url of this file.
page ( ) : Page Get the page this file was uploaded to.

Method Details

getFileName() public method

Get the downloadable file name for this upload.
public getFileName ( ) : mixed | string
return mixed | string

getUrl() public method

Get the url of this file.
public getUrl ( ) : string
return string

page() public method

Get the page this file was uploaded to.
public page ( ) : Page
return Page

Property Details

$fillable protected_oe property

protected $fillable