예제 #1
0
 public function __get($key)
 {
     switch ($key) {
         case 'str':
             return StringHelper::get_instance();
             break;
         case 'input':
             return Input::get_instance();
             break;
         case 'recaptcha':
             return Recaptcha::get_instance();
             break;
     }
 }
예제 #2
0
 /**
  * Validate ReCaptcha
  *
  * @return bool
  */
 public static function validate_recaptcha()
 {
     return Recaptcha::get_instance()->validate();
 }