PHP Class FluxBB\Models\CategoryRepository

Inheritance: implements FluxBB\Models\CategoryRepositoryInterface
Mostrar archivo Open project: fluxbb/core

Protected Properties

Property Type Description
$database

Public Methods

Method Description
__construct ( Illuminate\Database\ConnectionInterface $database )
addNewTopic ( $category, $conversation, $post )
findBySlug ( $slug )
getByParent ( $slug )
getConversationsIn ( $category )
save ( Category $forum )

Method Details

__construct() public method

public __construct ( Illuminate\Database\ConnectionInterface $database )
$database Illuminate\Database\ConnectionInterface

addNewTopic() public method

public addNewTopic ( $category, $conversation, $post )

findBySlug() public method

public findBySlug ( $slug )

getByParent() public method

public getByParent ( $slug )

getConversationsIn() public method

public getConversationsIn ( $category )

save() public method

public save ( Category $forum )
$forum Category

Property Details

$database protected_oe property

protected $database