ItemRequest ItemRequest(
int
$itemtype, [int
$itemID = null]
)
|
|
Create a new ItemRequest for the given Itemtype and ItemID.
Parameters:
|
int |
$itemtype: |
the Itemtype |
|
int |
$itemID: |
the Item ID |
void setCategory(
int
$id
)
|
|
If you want to fetch Items for one or more Categories, add their IDs.
Call this method oce for each Category.
Parameters:
void setFlagToExclude(
array
$flags
)
|
|
Set an Array of Flags to exclude.
Accepts:
- FLAG_ALL
- ALL_EXCEPT_TRASH
- ALL_EXCEPT_TRASH_AND_HIDDEN (default)
Parameters:
|
array |
$flags: |
flags an array of int to exclude |
Set the ItemID to fetch.
Parameters:
void setItemType(
$itemtype
)
|
|
Parameters:
void setLanguageID(
String
$languageID
)
|
|
Set the Language ID we are going to fetch.
Parameters:
|
String |
$languageID: |
the Language ID |
void setLimit(
$from,
$to
)
|
|
Parameters:
void setOrder(
$direction
)
|
|
Parameters:
void setOrderBy(
string
$order
)
|
|
Sets the field, the results will be ordered by.
Parameters:
|
string |
$order: |
the field name |
void setReturnType(
String
$classname
)
|
|
Sets the ClassName that should be used when returning the entries.
Remember to import the Class before fetching the Results!
Parameters:
|
String |
$classname: |
the Classname to return |
void setTreetype(
$type
)
|
|
Parameters: