Closed (won't fix)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2008 at 22:09 UTC
Updated:
23 May 2011 at 14:12 UTC
Number of elements in each nodequeue,
Number of elements before the nodequeue is full,
Number of elements added by month...
Which are the counters and statistics available about a nodequeue object ?
Comments
Comment #1
julma commentedComment #2
ezra-g commentedThese could be added to the Nodequeue documentation:
Of course, you could also do direct database queries for these.
Number of elements in each nodequeue: $subqueue->count
Number of elements before the nodequeue is full. calculate count - $subqueue->count minus $queue->size (unless the size is zero in which case the subqueue has infinite capacity.
Number of elements added by month... Do a custom query against nodequeue_nodes.
Comment #3
amateescu commentedI think these counters are pretty obvious if you inspect a $queue object...