• Ad Schellevis's avatar
    (mvc model) add ModelRelationField type, creates a optionlist populated by... · f26e8bb7
    Ad Schellevis authored
    (mvc model) add ModelRelationField type, creates a optionlist populated by array type items from other entities.
    
    Example definition from trafficshaper model, relating a pipe to a rule.
    
                    <target type="ModelRelationField">
                        <Model>
                            <pipes>
                                <source>OPNsense.TrafficShaper.TrafficShaper</source>
                                <items>pipes.pipe</items>
                                <display>description</display>
                            </pipes>
                        </Model>
                    </target>
    f26e8bb7
Name
Last commit
Last update
..
FieldTypes Loading commit data...
Menu Loading commit data...
Validators Loading commit data...
BaseModel.php Loading commit data...
ModelException.php Loading commit data...