PHP Class post

ファイルを表示 Open project: anchorcms/anchor-cms Class Usage Examples

Public Properties

Property Type Description
$table

Public Methods

Method Description
id ( $id )
listing ( $category = null, $page = 1, $per_page = 10 )
perPage ( )
search ( $term, $page = 1, $per_page = 10 )
slug ( $slug )

Private Methods

Method Description
get ( $row, $val )
getCommentCount ( $post )

Method Details

id() public static method

public static id ( $id )

listing() public static method

public static listing ( $category = null, $page = 1, $per_page = 10 )

perPage() public static method

public static perPage ( )

slug() public static method

public static slug ( $slug )

Property Details

$table public_oe static_oe property

public static $table