gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

MethodCallback.php (370B)


      1 <?php
      2 class MethodCallback
      3 {
      4     public static function staticCallback()
      5     {
      6         $args = func_get_args();
      7 
      8         if ($args == array('foo', 'bar')) {
      9             return 'pass';
     10         }
     11     }
     12 
     13     public function nonStaticCallback()
     14     {
     15         $args = func_get_args();
     16 
     17         if ($args == array('foo', 'bar')) {
     18             return 'pass';
     19         }
     20     }
     21 }