PHP Class BookStack\Activity

Inheritance: extends Illuminate\Database\Eloquent\Model
Show file Open project: ssddanbrown/bookstack

Public Methods

Method Description
entity ( ) Get the entity for this activity.
getText ( ) Returns text from the language files, Looks up by using the activity key.
isSimilarTo ( $activityB ) : boolean Checks if another Activity matches the general information of another.
user ( ) : BelongsTo Get the user this activity relates to.

Method Details

entity() public method

Get the entity for this activity.
public entity ( )

getText() public method

Returns text from the language files, Looks up by using the activity key.
public getText ( )

isSimilarTo() public method

Checks if another Activity matches the general information of another.
public isSimilarTo ( $activityB ) : boolean
$activityB
return boolean

user() public method

Get the user this activity relates to.
public user ( ) : BelongsTo
return Illuminate\Database\Eloquent\Relations\BelongsTo