public static function getSection($extension, $perspectiveId, $sectionId)
    {
        $returnValue = null;

        $structure = self::getPerspective($extension, $perspectiveId);
        foreach ($structure->getChildren() as $section) {
            if ($section->getId() == $sectionId) {
                $returnValue = $section;
                break;
            }
        }
		if (empty($returnValue)) {
			\common_logger::w('Section '.$sectionId.' not found found for perspective '.$perspectiveId);
    	}

        return $returnValue;
    }
public static function getSection($extension, $perspectiveId, $sectionId)
    {
        $returnValue = null;

        $structure = self::getPerspective($extension, $perspectiveId);
        foreach ($structure->getChildren() as $section) {
            if ($section->getId() == $sectionId) {
                $returnValue = $section;
                break;
            }
        }
		if (empty($returnValue)) {
			\common_logger::w('Section '.$sectionId.' not found found for perspective '.$perspectiveId);
    	}

        return $returnValue;
    }
public static function getSection ( $ extension , $ perspectiveId , $ sectionId ) { $ returnValue = null ; $ structure = self :: getPerspective ( $ extension , $ perspectiveId ) ; foreach ( $ structure -> getChildren ( ) as $ section ) { if ( $ section -> getId ( ) == $ sectionId ) { $ returnValue = $ section ; break ; } } if ( empty ( $ returnValue ) ) { \ common_logger :: w ( 'Section ' . $ sectionId . ' not found found for perspective ' . $ perspectiveId ) ; } return $ returnValue ; }
Short description of method getSection

@access public
@author Jerome Bogaerts, <jerome@taotesting.com>
@param  string extension
@param  string perspectiveId
@param  string sectionId
@return Section
Short description of method getSection