public function allConditionalStyles(PHPExcel $pPHPExcel = null)
    {
        // Get an array of all styles
        $aStyles = array();

        $sheetCount = $pPHPExcel->getSheetCount();
        for ($i = 0; $i < $sheetCount; ++$i) {
            foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) {
                foreach ($conditionalStyles as $conditionalStyle) {
                    $aStyles[] = $conditionalStyle;
                }
            }
        }

        return $aStyles;
    }
public function allConditionalStyles(PHPExcel $pPHPExcel = null)
    {
        // Get an array of all styles
        $aStyles = array();

        $sheetCount = $pPHPExcel->getSheetCount();
        for ($i = 0; $i < $sheetCount; ++$i) {
            foreach ($pPHPExcel->getSheet($i)->getConditionalStylesCollection() as $conditionalStyles) {
                foreach ($conditionalStyles as $conditionalStyle) {
                    $aStyles[] = $conditionalStyle;
                }
            }
        }

        return $aStyles;
    }
public function allConditionalStyles ( PHPExcel $ pPHPExcel = null ) { // Get an array of all styles $ aStyles = array ( ) ; $ sheetCount = $ pPHPExcel -> getSheetCount ( ) ; for ( $ i = 0 ; $ i < $ sheetCount ; ++ $ i ) { foreach ( $ pPHPExcel -> getSheet ( $ i ) -> getConditionalStylesCollection ( ) as $ conditionalStyles ) { foreach ( $ conditionalStyles as $ conditionalStyle ) { $ aStyles [ ] = $ conditionalStyle ; } } } return $ aStyles ; }
Get an array of all conditional styles

@param     PHPExcel                            $pPHPExcel
@return     PHPExcel_Style_Conditional[]        All conditional styles in PHPExcel
@throws     PHPExcel_Writer_Exception
Get an array of all conditional styles