public function getCustomField($type, $field)
    {
        if (!isset($this->customFields[$type]) ||
             !isset($this->customFields[$type][$field])) {
            return null;
        }

        return $this->customFields[$type][$field];
    }
public function getCustomField($type, $field)
    {
        if (!isset($this->customFields[$type]) ||
             !isset($this->customFields[$type][$field])) {
            return null;
        }

        return $this->customFields[$type][$field];
    }
public function getCustomField ( $ type , $ field ) { if ( ! isset ( $ this -> customFields [ $ type ] ) || ! isset ( $ this -> customFields [ $ type ] [ $ field ] ) ) { return null ; } return $ this -> customFields [ $ type ] [ $ field ] ; }
Return custom field.

If no custom field is set, return null

@param string $type
@param string $field

@return mixed
Return custom field .