PHP Class App\Models\Forum\TopicCover

Inheritance: extends Illuminate\Database\Eloquent\Model, use trait App\Traits\Imageable
Show file Open project: ppy/osu-web Class Usage Examples

Protected Properties

Property Type Description
$table

Public Methods

Method Description
defaultFileUrl ( )
findForUse ( $id, $user )
getFileRoot ( )
getMaxDimensions ( )
owner ( )
topic ( )
updateFile ( $filePath, $user )
upload ( $filePath, $user, $topic = null )
user ( )

Method Details

defaultFileUrl() public method

public defaultFileUrl ( )

findForUse() public static method

public static findForUse ( $id, $user )

getFileRoot() public method

public getFileRoot ( )

getMaxDimensions() public method

public getMaxDimensions ( )

owner() public method

public owner ( )

topic() public method

public topic ( )

updateFile() public method

public updateFile ( $filePath, $user )

upload() public static method

public static upload ( $filePath, $user, $topic = null )

user() public method

public user ( )

Property Details

$table protected property

protected $table