Location: PHPKode > scripts > Data Validator > DataValidator-master/lib/User.php
<?php
/**
* Example dynamic validation library for DataValidator class
*
* @author Mark Rolich <hide@address.com>
*/
class User
{
    /**
    * Stub function to demonstrate library embedding
    *
    */
    private $dbh = 1;

    public function isExist($email)
    {
        return ($email == 'hide@address.com' && $this->dbh == 1) ? 1 : 0;
    }
}
?>
Return current item: Data Validator