Swat/SwatReplicableNoteBookChild.php
public function getPages()
    {
        $pages = array();

        foreach ($this->children as $child) {
            if ($child instanceof SwatNoteBookChild) {
                $pages = array_merge($pages, $child->getPages());
            }
        }

        return $pages;
    }
public function getPages()
    {
        $pages = array();

        foreach ($this->children as $child) {
            if ($child instanceof SwatNoteBookChild) {
                $pages = array_merge($pages, $child->getPages());
            }
        }

        return $pages;
    }
public function getPages ( ) { $ pages = array ( ) ; foreach ( $ this -> children as $ child ) { if ( $ child instanceof SwatNoteBookChild ) { $ pages = array_merge ( $ pages , $ child -> getPages ( ) ) ; } } return $ pages ; }
Gets the notebook pages of this replicable notebook child

Implements the {@link SwatNoteBookChild::getPages()} interface.

@return array an array containing all the replicated pages of this
child.
Gets the notebook pages of this replicable notebook child