PHP Class App\Models\Forum\PollOption

Inheritance: extends Illuminate\Database\Eloquent\Model
Show file Open project: ppy/osu-web Class Usage Examples

Public Properties

Property Type Description
$incrementing
$timestamps

Protected Properties

Property Type Description
$guarded
$primaryKey
$table

Public Methods

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

Method Details

optionTextHTML() public method

public optionTextHTML ( )

optionTextRaw() public method

public optionTextRaw ( )

post() public method

for bbcode_uid
public post ( )

setPollOptionTextAttribute() public method

public setPollOptionTextAttribute ( $value )

summary() public static method

public static summary ( $topic, $user )

topic() public method

public topic ( )

updateTotals() public static method

public static updateTotals ( $filters )

userHasVoted() public method

public userHasVoted ( $user )

votes() public method

public votes ( )

Property Details

$guarded protected property

protected $guarded

$incrementing public property

public $incrementing

$primaryKey protected property

protected $primaryKey

$table protected property

protected $table

$timestamps public property

public $timestamps