public function getBlockTypes()
    {
        $types = array();
        foreach ($this->alBlocks as $block) {
            $type = $block->getType();
            if ( !in_array($type, $types)) {
                $types[] = $type;
            }
        }

        return $types;
    }
public function getBlockTypes()
    {
        $types = array();
        foreach ($this->alBlocks as $block) {
            $type = $block->getType();
            if ( !in_array($type, $types)) {
                $types[] = $type;
            }
        }

        return $types;
    }
public function getBlockTypes ( ) { $ types = array ( ) ; foreach ( $ this -> alBlocks as $ block ) { $ type = $ block -> getType ( ) ; if ( ! in_array ( $ type , $ types ) ) { $ types [ ] = $ type ; } } return $ types ; }
Returns the block types associated to this PageBlock

@return array
Returns the block types associated to this PageBlock