Strict Standards: Declaration of action_plugin_discussion::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/opinian/public_html/wiki/lib/plugins/discussion/action.php on line 16

Strict Standards: Declaration of action_plugin_translation::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/opinian/public_html/wiki/lib/plugins/translation/action.php on line 90

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /home/opinian/public_html/wiki/inc/cache.php on line 289

Warning: Cannot modify header information - headers already sent by (output started at /home/opinian/public_html/wiki/lib/plugins/discussion/action.php:16) in /home/opinian/public_html/wiki/inc/auth.php on line 295

Strict Standards: Only variables should be passed by reference in /home/opinian/public_html/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /home/opinian/public_html/wiki/lib/plugins/discussion/action.php:16) in /home/opinian/public_html/wiki/inc/actions.php on line 154
php_module [Opinian API]
 
Translations of this page:

PHP module for retrieving data

ZIP compressed file OpinianApi.php.

Just include the module in your php file, create object and call methods.

<?php
 
  include_once "OpinianApi/OpinianApi.php";
  $Opinian = new Opinian("my_api_key", "my_secret_key");
 
  $item = $Opinian->getItem(array("id"=>1343));
 
  if (!empty($Opinian->last_error))
    echo $Opinian->last_error;
  else
    print_r($item);
 
?>
 
php_module.txt · Last modified: 2009/08/29 17:07 by edi
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

Strict Standards: Only variables should be passed by reference in /home/opinian/public_html/wiki/doku.php on line 79