public function setFlagStatus($flag, $status)
    {
        if (is_array($flag)) {
            foreach ($flag as $singleFeature) {
                $this->flags[$singleFeature] = $status;
            }
        } else {
            $this->flags[$flag] = $status;
        }
    }
public function setFlagStatus($flag, $status)
    {
        if (is_array($flag)) {
            foreach ($flag as $singleFeature) {
                $this->flags[$singleFeature] = $status;
            }
        } else {
            $this->flags[$flag] = $status;
        }
    }
public function setFlagStatus ( $ flag , $ status ) { if ( is_array ( $ flag ) ) { foreach ( $ flag as $ singleFeature ) { $ this -> flags [ $ singleFeature ] = $ status ; } } else { $ this -> flags [ $ flag ] = $ status ; } }
Sets the status of a given flag.

@param string $flag   The flag to set status for
@param bool   $status The status TRUE or FALSE

@author Benjamin Carl <opensource@clickalicious.de>
Sets the status of a given flag .