PHP Класс Rubenwouters\CrmLauncher\Models\Reaction

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

Защищенные свойства (Protected)

Свойство Тип Описание
$table string table name

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

Метод Описание
innercomments ( )
insertReaction ( string $type, object $mention, integer $id, string $answer = null ) : Reaction Insert reaction in DB (eiter from a Facebook post or Tweet)
media ( )
publishment ( ) * |-------------------------------------------------------------------------- | Relationships |-------------------------------------------------------------------------- | | Relationships of Reaction model |
scopelatestMentionId ( $query ) * |-------------------------------------------------------------------------- | Scopes |-------------------------------------------------------------------------- | | Scopes of Reaction model |

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

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

public innercomments ( )

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

Insert reaction in DB (eiter from a Facebook post or Tweet)
public insertReaction ( string $type, object $mention, integer $id, string $answer = null ) : Reaction
$type string
$mention object
$id integer
$answer string
Результат Reaction

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

public media ( )

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

* |-------------------------------------------------------------------------- | Relationships |-------------------------------------------------------------------------- | | Relationships of Reaction model |
public publishment ( )

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

* |-------------------------------------------------------------------------- | Scopes |-------------------------------------------------------------------------- | | Scopes of Reaction model |
public scopelatestMentionId ( $query )

Описание свойств

$table защищенное свойство

table name
protected string $table
Результат string