View on GitHub

php-openerp-lib, openerplib

php openerp lib openerplib openerp php library for openerp

download .ZIPdownload .TGZ

Project Page for OpenerpLib PHP

openerp php library used xml-rpc , and openerp ORM openerplib is a library for PHP that allows operations with xml-rpc OpenERP comfortably. Inspired from Openerp Client Liprary python

If you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.

Requeriments

Dependency (requirement)

Installation

It requires no special installation. Copy the / openerplib where being want to use and import to your php script

Configuration

Two forms of use.

Configuring file / openerplib / openerplib.inc.php


      define('_OPENERPLIB_BD_', '');
      define('_OPENERPLIB_UID_', 0);
      define('_OPENERPLIB_PASSWD_', '');
      define('_OPENERPLIB_URL_', 'http://openerp/xmlrpc');
  

On-live setting.


      $config = array(
          'bd'        => 'mybdname',
          'uid'       => 1212,
          'passwd'    => 'foo',
          'url'       => 'http://openerp/xmlrpc',
      );
  
      $open = new OpenERP($config);