public function getSegment($name){
		foreach($this->segments as $segment){
			if($segment->getName() == $name) return $segment; 
		}
		return false;
	}
public function getSegment($name){
		foreach($this->segments as $segment){
			if($segment->getName() == $name) return $segment; 
		}
		return false;
	}
public function getSegment ( $ name ) { foreach ( $ this -> segments as $ segment ) { if ( $ segment -> getName ( ) == $ name ) return $ segment ; } return false ; }
Returns the segment with the given name otherwise false
@param string $name Name of the segment
@return \csslib\Segment|boolean
Returns the segment with the given name otherwise false