Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'facebookUm'=>array(
- 'rule'=>'checaFacebook',
- 'message' => 'Este não é um perfil válido!',
- 'required' => false,
- 'allowEmpty' => true
- )
- public function checaFacebook($check)
- {
- if (stristr($check, 'facebook') != false){
- return true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement