API docs     >     Content Blocks     >     Entrymasks

Entrymasks->getParents

Description

getParents ( $entrymaskId )
Gets the parent nodes of the Entrymask

Parameters

$entrymaskId
int
Entrymask Id

Returns

array
Array of parent Entrymask nodes
  1. Array(
  2.     [0] => Array(
  3.         [0] => Array(
  4.             [LFT] => 1
  5.             [RGT] => 24
  6.             [ID] => 1
  7.             [LEVEL] => 1
  8.             [PARENT] => 0
  9.             [NAME] => Entrymasks
  10.             [FOLDER] => 1
  11.         )
  12.     )
  13.     ...
  14. )