-
Notifications
You must be signed in to change notification settings - Fork 0
Box QueryLimitOrOrderBy
Travis edited this page Mar 13, 2014
·
8 revisions
Query
- Class name: QueryLimitOrOrderBy
- Namespace: Box
- Parent class: Box\QueryBase
const ASC = 'ASC'
const DESC = 'DESC'
protected \Box\QueryBase $_child
- Visibility: protected
protected \Box\TokenBase $_token
- Visibility: protected
protected \Box\Query $_root
- Visibility: protected
\Box\QueryOffset Box\QueryLimitOrOrderBy::\Box\QueryLimitOrOrderBy::limit()(integer $limit)
Limit the result set.
- Visibility: public
- $limit integer - <p>The maximum number of objects you want.</p>
\Box\QueryLimitOrOrderBy Box\QueryLimitOrOrderBy::\Box\QueryLimitOrOrderBy::orderBy()(string $property, string $direction)
Order the result set.
- Visibility: public
- $property string - <p>The property to order by.</p>
- $direction string - <p>The direction to order. Use the class constants ::ASC and ::DESC.</p>
\Box\TokenBase Box\QueryLimitOrOrderBy::\Box\QueryBase::_getToken()()
Get the token this query element translates to.
- Visibility: protected
\Box\TokenRoot Box\QueryLimitOrOrderBy::\Box\QueryBase::getToken()()
Get the token representing the root of the query this query part belongs to, if any.
- Visibility: public