Example #1
0
 public function execute()
 {
     $obj = parent::execute();
     if (isset($obj->frob)) {
         return JLD_MindMeister::factory('frob', $obj);
     }
     if ($obj instanceof JLD_MindMeister_err) {
         return $obj;
     }
     throw new Exception("unknown return code");
 }
Example #2
0
 public function __construct(&$key, &$secret, &$args)
 {
     $this->setParam('method', self::METHOD);
     parent::__construct($key, $secret, $args);
 }