public function getField($field)
    {
        if (isset($this->allFields[$field])) {
            return $this->allFields[$field];
        }

        return null;
    }
public function getField($field)
    {
        if (isset($this->allFields[$field])) {
            return $this->allFields[$field];
        }

        return null;
    }
public function getField ( $ field ) { if ( isset ( $ this -> allFields [ $ field ] ) ) { return $ this -> allFields [ $ field ] ; } return null ; }
Get a specified field object

@param string $field
@return mixed
Get a specified field object