public function removeFlag($flag)
    {
        
        $currentFlags = $this->getFlags();
        for ($i = 0; $i < count($currentFlags); $i++){
            if ($currentFlags[$i] == $flag){
                break;
            }
        }
        
        if ($i <= count($currentFlags)){
            // The flag is found.
            unset($currentFlags[$i]);
            $this->setFlags($currentFlags);
        }
        
    }
public function removeFlag($flag)
    {
        
        $currentFlags = $this->getFlags();
        for ($i = 0; $i < count($currentFlags); $i++){
            if ($currentFlags[$i] == $flag){
                break;
            }
        }
        
        if ($i <= count($currentFlags)){
            // The flag is found.
            unset($currentFlags[$i]);
            $this->setFlags($currentFlags);
        }
        
    }
public function removeFlag ( $ flag ) { $ currentFlags = $ this -> getFlags ( ) ; for ( $ i = 0 ; $ i < count ( $ currentFlags ) ; $ i ++ ) { if ( $ currentFlags [ $ i ] == $ flag ) { break ; } } if ( $ i <= count ( $ currentFlags ) ) { // The flag is found. unset ( $ currentFlags [ $ i ] ) ; $ this -> setFlags ( $ currentFlags ) ; } }
Remove a given PO compliant flag from the TranslationUnit. The FLAGS
will be removed from the TranslationUnit if it was the last one of the

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  string flag A flag string.
@return void
Remove a given PO compliant flag from the TranslationUnit . The FLAGS will be removed from the TranslationUnit if it was the last one of the