Retrieve data of current entity or parent entity
static public getUsedConfig ( $fieldref, $entities_id, $fieldval = '', $default_value ) | ||
$fieldref | string name of the referent field to know if we look at parent entity | |
$entities_id | ||
$fieldval | string name of the field that we want value (default '') | |
$default_value | value to return (default -2) |