메소드 |
설명 |
|
__construct ( MongoDb $db ) |
|
|
get ( string $id ) : Xhgui_Profile |
Get a single profile run by id. |
|
getAll ( array $options = [] ) : array |
Get a paginated set of results. |
|
getAvgsForUrl ( string $url, array $search = [] ) : array |
Get the Average metrics for a URL |
|
getForUrl ( string $url, array $options, array $conditions = [] ) : MongoCursor |
Get the list of profiles for a simplified url. |
|
getPercentileForUrl ( integer $percentile, string $url, array $search = [] ) : array |
Get the Percentile metrics for a URL |
|
insert ( array $profile ) |
Insert a profile run. |
|
latest ( ) : Xhgui_Profile |
Get the latest profile data. |
|
paginate ( $options ) |
|
|
query ( $conditions, $fields = null ) |
|
|
truncate ( ) : boolean |
Used to truncate a collection. |
|