Skip to content

Commit

Permalink
Codestyle and codedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar committed Feb 1, 2015
1 parent f7c5186 commit e6741ab
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions libraries/cms/node/interface.php
Expand Up @@ -21,9 +21,10 @@ interface JNodeInterface
*
* If the node already has a parent, the link is unset
*
* @param mixed $parent JNodeInterface for the parent to be set or null
* @param mixed $parent JNodeInterface for the parent to be set or null
*
* @return void
*
* @since 3.4
*/
public function setParent($parent);
Expand All @@ -36,6 +37,7 @@ public function setParent($parent);
* @param JNodeInterface $child The child to be added.
*
* @return void
*
* @since 3.4
*/
public function addChild($child);
Expand All @@ -46,24 +48,26 @@ public function addChild($child);
* @param mixed $child An identifier for the child node
*
* @return void
*
* @since 3.4
*/
public function removeChild($child);

/**
* Get the children of this node
*
* @param boolean $recursive False by default
* @param boolean $recursive False by default
*
* @return array The children
* @return JNodeInterface[] The children
*
* @since 3.4
*/
public function &getChildren($recursive = false);

/**
* Get the parent of this node
*
* @return mixed JNodeInterface or null
* @return JNodeInterface The parent of this node or null
*
* @since 3.4
*/
Expand All @@ -72,7 +76,7 @@ public function getParent();
/**
* Test if this node has children
*
* @return boolean True if there is a child
* @return boolean True if there is a child
*
* @since 3.4
*/
Expand All @@ -81,7 +85,7 @@ public function hasChildren();
/**
* Test if this node has a parent
*
* @return boolean True if there is a parent
* @return boolean True if there is a parent
*
* @since 3.4
*/
Expand Down

0 comments on commit e6741ab

Please sign in to comment.