public function getField($name)
    {
        if (array_key_exists($name, $this->fields)) {
            return $this->fields[$name];
        }
        else if (array_key_exists($name, $this->fieldAliases)) {
            $name = $this->fieldAliases[$name];
            return $this->fields[$name];
        }
        return null;
    }
public function getField($name)
    {
        if (array_key_exists($name, $this->fields)) {
            return $this->fields[$name];
        }
        else if (array_key_exists($name, $this->fieldAliases)) {
            $name = $this->fieldAliases[$name];
            return $this->fields[$name];
        }
        return null;
    }
public function getField ( $ name ) { if ( array_key_exists ( $ name , $ this -> fields ) ) { return $ this -> fields [ $ name ] ; } else if ( array_key_exists ( $ name , $ this -> fieldAliases ) ) { $ name = $ this -> fieldAliases [ $ name ] ; return $ this -> fields [ $ name ] ; } return null ; }
Get a field instance

@param string $name An alias or name of the field to get
@return \sndsgd\Field|null
@return \sndsgd\Field The field was found
@return null The field was NOT found
Get a field instance