Метод | Описание | |
---|---|---|
getCacheDirectory ( ) | ||
setup ( ) | ||
teardown ( ) | ||
testAccessingNotExistingField ( ) | Testing that accessing a non-existent field raise an exception | |
testAttributes ( ) | Testing attributes handling | |
testCache ( ) | Testing caching a form | |
testCsrfSecretGeneration ( ) | Testing that the generated secret is different | |
testCsrfTokenCheck ( ) | Testing posted() returns true when the csrd token is in the request | |
testCsrfTokenGeneration ( ) | Testing that the CSRF token is t he same if computer twice on the same file, and different for another file with a different form name | |
testEnctype ( ) | Testing that the enctype becomes multipart when there is file | |
testGetValues ( ) | Testing default values | |
testGuessPathOrContent ( ) | Testing that Formidable guess if it should interpret the contents | |
testOutIn ( ) | Testing that Formidable output given back to Formidable gives the same output | |
testPHPInterpreter ( ) | Testing running the PHP interpreter on the form | |
testPlaceholder ( ) | ||
testPostIndicator ( ) | Testing a post indicator without session | |
testPostValue ( ) | Testing the filling of the values in the form using post | |
testSetMultipleValues ( ) | Testing definition with multiple values | |
testSetValues ( ) | Testing defining values | |
testToString ( ) | Testing that toString() give the same thing as getHtml() |
Метод | Описание | |
---|---|---|
getForm ( $file, $vars = [], $cache = false ) |
public testAccessingNotExistingField ( ) |
public testCsrfSecretGeneration ( ) |
public testCsrfTokenCheck ( ) |
public testCsrfTokenGeneration ( ) |
public testEnctype ( ) |
public testGuessPathOrContent ( ) |
public testOutIn ( ) |
public testPHPInterpreter ( ) |
public testPostIndicator ( ) |
public testPostValue ( ) |
public testSetMultipleValues ( ) |
public testToString ( ) |