PHP Класс BookStack\Activity

Наследование: extends Illuminate\Database\Eloquent\Model
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

entity() публичный Метод

Get the entity for this activity.
public entity ( )

getText() публичный Метод

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

isSimilarTo() публичный Метод

Checks if another Activity matches the general information of another.
public isSimilarTo ( $activityB ) : boolean
$activityB
Результат boolean

user() публичный Метод

Get the user this activity relates to.
public user ( ) : BelongsTo
Результат Illuminate\Database\Eloquent\Relations\BelongsTo