Elgg
Version 1.9
|
Go to the source code of this file.
Variables | |
elgg | ElggPriorityList |
Priority lists allow you to create an indexed list that can be iterated through in a specific order. More... | |
elgg ElggPriorityList prototype | insert |
Inserts an element into the priority list at the priority specified. More... | |
elgg ElggPriorityList prototype | forEach |
Iterates through each element in order. More... | |
elgg ElggPriorityList prototype | every |
Iterates through each element in order. More... | |
elgg ElggPriorityList prototype | remove |
Removes an element from the priority list. More... | |
Priority lists allow you to create an indexed list that can be iterated through in a specific order.
Definition at line 5 of file ElggPriorityList.js.
elgg ElggPriorityList prototype every |
Iterates through each element in order.
Unlike forEach, this returns the value of the callback and will break on false.
{Function} | callback The callback function to pass each element through. See Array.prototype.every() for details. |
Definition at line 66 of file ElggPriorityList.js.
elgg ElggPriorityList prototype forEach |
Iterates through each element in order.
Unlike every, this ignores the return value of the callback.
{Function} | callback The callback function to pass each element through. See Array.prototype.every() for details. |
Definition at line 43 of file ElggPriorityList.js.
elgg ElggPriorityList prototype insert |
Inserts an element into the priority list at the priority specified.
{Object} | obj The object to insert |
{Number} | opt_priority An optional priority to insert at. |
Definition at line 18 of file ElggPriorityList.js.
elgg ElggPriorityList prototype remove |
Removes an element from the priority list.
{Object} | obj The object to remove. |
Definition at line 84 of file ElggPriorityList.js.