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"); }
public function __construct(&$key, &$secret, &$args) { $this->setParam('method', self::METHOD); parent::__construct($key, $secret, $args); }