public function getChildren()
    {

        $output = new BaseContainer();

        foreach( $this->getRelation()->getChildren() as $childRelation ) {
            $childAttribute = $childRelation->getAttributeByName($this->name);
            $output->add(
                $childAttribute,
                $childAttribute->getChildren()
            );
        }

        return $output;

    }
public function getChildren()
    {

        $output = new BaseContainer();

        foreach( $this->getRelation()->getChildren() as $childRelation ) {
            $childAttribute = $childRelation->getAttributeByName($this->name);
            $output->add(
                $childAttribute,
                $childAttribute->getChildren()
            );
        }

        return $output;

    }
public function getChildren ( ) { $ output = new BaseContainer ( ) ; foreach ( $ this -> getRelation ( ) -> getChildren ( ) as $ childRelation ) { $ childAttribute = $ childRelation -> getAttributeByName ( $ this -> name ) ; $ output -> add ( $ childAttribute , $ childAttribute -> getChildren ( ) ) ; } return $ output ; }
Get all inherited Attributes
@return Container
Get all inherited Attributes