root/branches/release-35/php/lib/function.mtblogpingcount.php
@
1956
| Revision 1956, 374 bytes (checked in by bchoate, 20 months ago) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | # Movable Type (r) Open Source (C) 2001-2008 Six Apart, Ltd. |
| 3 | # This program is distributed under the terms of the |
| 4 | # GNU General Public License, version 2. |
| 5 | # |
| 6 | # $Id$ |
| 7 | |
| 8 | function smarty_function_mtblogpingcount($args, &$ctx) { |
| 9 | $args['blog_id'] = $ctx->stash('blog_id'); |
| 10 | $count = $ctx->mt->db->blog_ping_count($args); |
| 11 | return $ctx->count_format($count, $args); |
| 12 | } |
Note: See TracBrowser
for help on using the browser.
