The next functions are defined at file class.tx_glpagescat_div.php. To include the file you should use the next code:
...
if (t3lib_extMgm::isLoaded('gl_pages_cat')) { require_once(t3lib_extMgm::extPath('gl_pages_cat').'class.tx_glpagescat_div.php');}
Returns news with the some category that match with the categories of the current page.
Parameter: | Data type: | Description: | Default: |
|---|---|---|---|
$recursive | boolean | If it's true it could match with any page category or subcaterories of these categories | false |
return | array | Array with news uid |
Returns the categories of the current page.
Parameter: | Data type: | Description: | Default: |
|---|---|---|---|
$recursive | boolean | If it's true it returns the page categories and subcaterories of these categories | false |
return | string | Comma-separated list of categories uid |