FOFModel::findFormFilename
Guesses the best candidate for the path to use for a particular form.
Signature
public function findFormFilename(string
$source,
array
$paths )
Parameters
-
$source
- The name of the form file to load, without the .xml extension.
-
$paths
- The paths to look into. You can declare this to override the default FOF paths.
Returns
- mixed
- A string if the path and filename of the form to load is found, false otherwise.