FOFFormHelper::loadClass
Load a class for one of the form's entities of a particular type.
Currently, it makes sense to use this method for the "field" and "rule" entities (but you can support more entities in your subclass).
Signature
public function loadClass(string
$entity,
string
$type )
Parameters
-
$entity
- One of the form entities (field or rule).
-
$type
- Type of an entity.
Returns
- mixed
- Class name on success or false otherwise.