Open Journal Systems
3.3.0
|
Public Member Functions | |
testIsValid () | |
userValidationFunction ($value, $additionalArgument) | |
Public Member Functions inherited from PKPTestCase | |
getActualOutput () | |
Additional Inherited Members | |
Data Fields inherited from PKPTestCase | |
$mockedRegistryKeys = array() | |
$registryBackup = array() | |
Protected Member Functions inherited from PKPTestCase | |
getMockedDAOs () | |
getMockedRegistryKeys () | |
mockRequest ($path='index/test-page/test-op', $userId=null) | |
setTestConfiguration ($config, $configPath='config') | |
setUp () | |
tearDown () | |
Test class for FormValidatorCustom.
Definition at line 20 of file FormValidatorCustomTest.php.
FormValidatorCustomTest::testIsValid | ( | ) |
Definition at line 28 of file FormValidatorCustomTest.php.
FormValidatorCustomTest::userValidationFunction | ( | $value, | |
$additionalArgument | |||
) |
This function is used as a custom validation callback for fields. It simply reflects the additional argument so that we can easily manipulate its return value. The value passed in to this method is saved internally for later inspection.
$value | string |
$additionalArgument | boolean |
Definition at line 69 of file FormValidatorCustomTest.php.