function get
Returns requested comments
public static get ( array $paramarray = [] ) : array | ||
$paramarray | array | An associated array of parameters, or a querystring |
return | array | An array of Comment objects, one for each query result
$comments = comments::get( array ( "author" => "skippy" ) );
$comments = comments::get( array ( "slug" => "first-post", "status" => "1", "orderby" => "date ASC" ) );
|