The page you are looking at now is at this URL: http://pastoid.com/anu
This paste was last updated on February 14, 2009 at 11:38 pm.
/* * static count_total * return a count for the total number of posts * @param mixed a status value to filter posts by; if FALSE, then no filtering will be performed * @return int the number of posts of specified type ( published or draft ) **/ public static function count_total( $status = FALSE ) { $params = array( 'count' => 1 ); if( $status !== FALSE ) { $params['status'] = $status; } return self::get( $params ); } /* * static count_by_author * return a count of the number of posts by the specified author * @param int an author ID * @param mixed a status value to filter posts by; if FALSE, then no filtering will be performed * @return int the number of posts by the specified author **/ public static function count_by_author( $user_id, $status = FALSE ) { $params = array( 'user_id' => $user_id, 'count' => 1 ); if ( FALSE !== $status ) { $params['status'] = $status; } return self::get( $params ); } /** * static count_by_tag * return a count of the number of posts with the assigned tag * @param string A tag * @param mixed a status value to filter posts by; if FALSE, then no filtering will be performed * @return int the number of posts with the specified tag **/ public static function count_by_tag( $tag, $status = FALSE ) { $params = array( 'tag' => $tag, 'count' => 1 ); if ( FALSE !== $status ) { $params['status'] = $status; } return self::get( $params ); }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 5 |
| mibbit.com | 1 |
| search.live.com | 1 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This