public function field($name)
    {
        if (!isset($this->_fields[$name])) {
            return null;
        }

        return $this->_fields[$name];
    }
public function field($name)
    {
        if (!isset($this->_fields[$name])) {
            return null;
        }

        return $this->_fields[$name];
    }
public function field ( $ name ) { if ( ! isset ( $ this -> _fields [ $ name ] ) ) { return null ; } return $ this -> _fields [ $ name ] ; }
Get the attributes for a given field.

@param string $name The field name.
@return null|array The attributes for a field, or null.
Get the attributes for a given field .