Location: PHPKode > scripts > Data Validator > DataValidator-master/lib/Email.php
<?php
/**
* Example static validation library for DataValidator class
*
* @author Mark Rolich <hide@address.com>
*/
class Email
{
    /**
    * Stub function to demonstrate library embedding
    *
    */
    public static function isValid($email)
    {
        return ($email == 'hide@address.com') ? 1 : 0;
    }
}
?>
Return current item: Data Validator