PHP Class Rubenwouters\CrmLauncher\Models\Reaction

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: rubenwouters/crm-launcher Class Usage Examples

Protected Properties

Свойство Type Description
$table string table name

Méthodes publiques

Méthode Description
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 |

Method Details

innercomments() public méthode

public innercomments ( )

insertReaction() public méthode

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
Résultat Reaction

media() public méthode

public media ( )

publishment() public méthode

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

scopelatestMentionId() public méthode

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

Property Details

$table protected_oe property

table name
protected string $table
Résultat string