public function removeZones()
    {
        foreach( $this->attributes['zones'] as $index => $zone )
        {
            if ( $zone->toBeAdded() )
                $this->removeZone( $index );
            else
                $zone->setAttribute( 'action', 'remove' );
        }
    }
public function removeZones()
    {
        foreach( $this->attributes['zones'] as $index => $zone )
        {
            if ( $zone->toBeAdded() )
                $this->removeZone( $index );
            else
                $zone->setAttribute( 'action', 'remove' );
        }
    }
public function removeZones ( ) { foreach ( $ this -> attributes [ 'zones' ] as $ index => $ zone ) { if ( $ zone -> toBeAdded ( ) ) $ this -> removeZone ( $ index ) ; else $ zone -> setAttribute ( 'action' , 'remove' ) ; } }
Remove zones from eZPage object with action "add" or set action to
"remove" for zones which already presists
Remove zones from eZPage object with action add or set action to remove for zones which already presists