PHP Class BookStack\PageRevision

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: ssddanbrown/bookstack

Protected Properties

Свойство Type Description
$fillable

Méthodes publiques

Méthode Description
createdBy ( ) : BelongsTo Get the user that created the page revision
getPrevious ( ) : PageRevision | null Get the previous revision for the same page if existing
getUrl ( null | string $path = null ) : string Get the url for this revision.
page ( ) : BelongsTo Get the page this revision originates from.

Method Details

createdBy() public méthode

Get the user that created the page revision
public createdBy ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

getPrevious() public méthode

Get the previous revision for the same page if existing
public getPrevious ( ) : PageRevision | null
Résultat PageRevision | null

getUrl() public méthode

Get the url for this revision.
public getUrl ( null | string $path = null ) : string
$path null | string
Résultat string

page() public méthode

Get the page this revision originates from.
public page ( ) : BelongsTo
Résultat Illuminate\Database\Eloquent\Relations\BelongsTo

Property Details

$fillable protected_oe property

protected $fillable