src/CRUDlex/EntityDefinition.php
public function getField($name, $key, $default = null)
    {
        if (array_key_exists($name, $this->fields) && array_key_exists($key, $this->fields[$name])) {
            return $this->fields[$name][$key];
        }
        return $default;
    }
public function getField($name, $key, $default = null)
    {
        if (array_key_exists($name, $this->fields) && array_key_exists($key, $this->fields[$name])) {
            return $this->fields[$name][$key];
        }
        return $default;
    }
public function getField ( $ name , $ key , $ default = null ) { if ( array_key_exists ( $ name , $ this -> fields ) && array_key_exists ( $ key , $ this -> fields [ $ name ] ) ) { return $ this -> fields [ $ name ] [ $ key ] ; } return $ default ; }
Gets the value of a field key.

@param string $name
the name of the field
@param string $key
the value of the key
@param mixed $default
the default value to return if nothing is found

@return mixed
the value of the field key or null if not existing
Gets the value of a field key .