Method |
Description |
|
delete ( integer $id ) |
Delete a question |
|
deleteCategory ( integer $id ) |
Delete a specific category |
|
deleteCategoryAllowed ( integer $id ) : boolean |
Is the deletion of a category allowed? |
|
deleteFeedback ( integer $itemId ) |
Delete the feedback |
|
exists ( integer $id ) : boolean |
Does the question exist? |
|
existsCategory ( integer $id ) : boolean |
Does the category exist? |
|
get ( integer $id ) : array |
Fetch a question |
|
getAllFeedback ( integer $limit = 5 ) : array |
Fetches all the feedback that is available |
|
getAllFeedbackForQuestion ( integer $id ) : array |
Fetches all the feedback for a question |
|
getByTag ( integer $tagId ) : array |
Get all items by a given tag id |
|
getCategories ( boolean $includeCount = false ) : array |
Get all the categories |
|
getCategory ( integer $id ) : array |
Fetch a category |
|
getCategoryCount ( ) : integer |
Fetch the category count |
|
getFeedback ( integer $id ) : array |
Fetch the feedback item |
|
getMaximumCategorySequence ( ) : integer |
Get the maximum sequence for a category |
|
getMaximumSequence ( integer $id ) : integer |
Get the max sequence id for a category |
|
getURL ( string $url, integer $id = null ) : string |
Retrieve the unique URL for an item |
|
getURLForCategory ( string $url, integer $id = null ) : string |
Retrieve the unique URL for a category |
|
insert ( array $item ) : integer |
Insert a question in the database |
|
insertCategory ( array $item, array $meta = null ) : integer |
Insert a category in the database |
|
update ( array $item ) |
Update a certain question |
|
updateCategory ( array $item ) |
Update a certain category |
|