Brimbox Logo Brimbox Version 2.3.4 Released

validate_text>>

Method to validate text. Always returns false since a string of some kind is always passed to it. It is a placeholder or dummy function.

Class: bb_validate, called as $main

File: bb_validate.php (php)

Declaration:

function validate_text(&$field, $error = false)

Usage:

$test = $main->validate_text($field, $error);

Returns: False since input is always a string.

Note: Method is called from $main->validate_logic as a callback function.

Parameter: $field (string)
String to be tested.

Parameter: $error (boolean)
No effect, since function always returns false.

Updated: 2016-07-09