PHP Class FluxBB\Models\ConversationRepository

Inheritance: implements ConversationRepositoryInterface
Datei anzeigen Open project: fluxbb/core

Protected Properties

Property Type Description
$database

Public Methods

Method Description
__construct ( Illuminate\Database\ConnectionInterface $database )
addReply ( $conversation, $post )
findById ( $id )
findPostById ( $id )
getPageOfPost ( $post, $perPage )
getPostsIn ( $conversation )

Method Details

__construct() public method

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

addReply() public method

public addReply ( $conversation, $post )

findById() public method

public findById ( $id )

findPostById() public method

public findPostById ( $id )

getPageOfPost() public method

public getPageOfPost ( $post, $perPage )

getPostsIn() public method

public getPostsIn ( $conversation )

Property Details

$database protected_oe property

protected $database