1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00
This commit is contained in:
daniel 2019-01-25 15:01:46 -03:00
parent 2a3c0b5062
commit 79a7a4831f

View file

@ -93,12 +93,12 @@ class API extends PluginAbstract {
/**
* @param type $parameters
* ['sort' database sort column (sample:&sort[created]=DESC)]
* ['sort' database sort column]
* ['rowCount' max numbers of rows]
* ['current' current page]
* ['searchPhrase' to search on the categories]
* ['parentsOnly' will bring only the parents, not children categories]
* @example {webSiteRootURL}plugin/API/{getOrSet}.json.php?name={name}&rowCount=3&current=1
* @example {webSiteRootURL}plugin/API/{getOrSet}.json.php?name={name}&rowCount=3&current=1&sort[created]=DESC
* @return \ApiObject
*/
public function get_api_category($parameters){