Closed MichaelRBond closed 8 years ago
We need a validate function for the top of most of the files. This will help reduce duplicate code in most files.
mfcsPerms::validate($objectID=TRUE,$formID=TRUE,$authType=viewer,$metadata=FALSE,$productionReady=TRUE,$objectID_required=FALSE,$object_in_form = TRUE)
$authtype = viewer | editor | admin | FALSE
If a value is TRUE / Set than it tests for validity or condition.
returns array([true|false],"result string");
We need a validate function for the top of most of the files. This will help reduce duplicate code in most files.
mfcsPerms::validate($objectID=TRUE,$formID=TRUE,$authType=viewer,$metadata=FALSE,$productionReady=TRUE,$objectID_required=FALSE,$object_in_form = TRUE)
$authtype = viewer | editor | admin | FALSE
If a value is TRUE / Set than it tests for validity or condition.
returns array([true|false],"result string");