src/SmartFactory/DatabaseWorkers/MSSQL_DBWorker.php
public function field_by_name($name)
    {
        if (!$this->row) {
            return null;
        }
        
        if (!array_key_exists($name, $this->row)) {
            trigger_error("Field with the name '$name' does not exist in the result set!", E_USER_ERROR);
            return null;
        }
        
        return $this->row[$name];
    }
public function field_by_name($name)
    {
        if (!$this->row) {
            return null;
        }
        
        if (!array_key_exists($name, $this->row)) {
            trigger_error("Field with the name '$name' does not exist in the result set!", E_USER_ERROR);
            return null;
        }
        
        return $this->row[$name];
    }
public function field_by_name ( $ name ) { if ( ! $ this -> row ) { return null ; } if ( ! array_key_exists ( $ name , $ this -> row ) ) { trigger_error ( "Field with the name '$name' does not exist in the result set!" , E_USER_ERROR ) ; return null ; } return $ this -> row [ $ name ] ; }
Returns the value of a field specified by name.

@param string $name
The name of the field.

@return mixed|null
Returns the value of a field specified by name. In the case
of any error returns null.

@see field_by_num()
@see field_name()

@author Oleg Schildt
Returns the value of a field specified by name .