public function hasFlag($flag)
    {
        $returnValue = (bool) false;

        
        foreach ($this->getFlags() as $f){
            if ($f == $flag){
                $returnValue = true;
                break;
            }
        }
        

        return (bool) $returnValue;
    }
public function hasFlag($flag)
    {
        $returnValue = (bool) false;

        
        foreach ($this->getFlags() as $f){
            if ($f == $flag){
                $returnValue = true;
                break;
            }
        }
        

        return (bool) $returnValue;
    }
public function hasFlag ( $ flag ) { $ returnValue = ( bool ) false ; foreach ( $ this -> getFlags ( ) as $ f ) { if ( $ f == $ flag ) { $ returnValue = true ; break ; } } return ( bool ) $ returnValue ; }
Short description of method hasFlag

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  string flag A PO flag string.
@return boolean
Short description of method hasFlag