API docs     >     Files     >     FileMgr

FileMgr->getSubnodes

Description

getSubnodes ( $fileId )
Gets the subnodes of the specified File

Parameters

$fileId
int
File Id of the parent File

Returns

array|false
Array of subnodes or FALSE in case of an error
  1. Array(                                      array Array of n Files
  2.     [0] => Array(
  3.         [ID] => 5                           int Id
  4.         [LFT] => 127                        int Id of the left node in the nested set tree structure
  5.         [RGT] => 128                        int Id of the right node in the nested set tree structure
  6.         [VERSIONPUBLISHED] => 0             int Published version (either a specific version or 999999 if set to 'ALWAYS_LATEST_APPROVED_VERSION')
  7.         [TITLE] => 'The Example'            string Title
  8.         [LEVEL] => 3                        int Level in tree
  9.         [PARENT] => 2                       int Parent Id
  10.         [PNAME] => 'Examples'               string Permanent name
  11.     )
  12.     ...
  13. )