PHP Class App\Models\Forum\PollOption

Inheritance: extends Illuminate\Database\Eloquent\Model
Afficher le fichier Open project: ppy/osu-web Class Usage Examples

Méthodes publiques

Свойство Type Description
$incrementing
$timestamps

Protected Properties

Свойство Type Description
$guarded
$primaryKey
$table

Méthodes publiques

Méthode Description
optionTextHTML ( )
optionTextRaw ( )
post ( ) for bbcode_uid
setPollOptionTextAttribute ( $value )
summary ( $topic, $user )
topic ( )
updateTotals ( $filters )
userHasVoted ( $user )
votes ( )

Method Details

optionTextHTML() public méthode

public optionTextHTML ( )

optionTextRaw() public méthode

public optionTextRaw ( )

post() public méthode

for bbcode_uid
public post ( )

setPollOptionTextAttribute() public méthode

public setPollOptionTextAttribute ( $value )

summary() public static méthode

public static summary ( $topic, $user )

topic() public méthode

public topic ( )

updateTotals() public static méthode

public static updateTotals ( $filters )

userHasVoted() public méthode

public userHasVoted ( $user )

votes() public méthode

public votes ( )

Property Details

$guarded protected_oe property

protected $guarded

$incrementing public_oe property

public $incrementing

$primaryKey protected_oe property

protected $primaryKey

$table protected_oe property

protected $table

$timestamps public_oe property

public $timestamps