Return the tags for a table, along with the number of records for each tag
This is the code documentation for the SproutCMS project
Search documentation |
function recordCounts()Return the tags for a table, along with the number of records for each tag
Usagearray Tags::recordCounts ( string $table , int $limit ); Example$tags = Tags::recordCounts('blog_posts', 50); foreach ($tags as $tag => $count) { echo Enc::html($tag), ' (', $count, ')'; } Arguments
Return value
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |