Elements

From PunchCMS
Jump to: navigation, search

Elements Methods (Elements extends Collection Class)

orderByField (fieldName, [order])

Order a list of elements by field name ascending or descending.