Example #1
0
 /**
  * Returns the number of child nodes a similar getChildNodes() call would return.
  *
  * @param string $nodeTypeFilter If specified, only nodes with that node type are considered
  * @return integer The number of child nodes
  * @api
  */
 public function getNumberOfChildNodes($nodeTypeFilter = NULL)
 {
     return $this->nodeData->getNumberOfChildNodes($nodeTypeFilter, $this->context->getWorkspace(), $this->context->getDimensions());
 }