-
Notifications
You must be signed in to change notification settings - Fork 3
_User Module_
shahariaazam edited this page Sep 10, 2014
·
1 revision
<?php
require_once 'vendor/autoload.php';
use OpenErp\Modules\HumanResource\User;
$user = new User(USERNAME, PASSWORD, DATABASE, SERVER);
$result = $user->read(5);
var_dump($result); die();
The above example will display all the res.user model fields. If you want to get any specific fields then just call $user->read(5, array('Your', 'Specific', 'Fields', 'name'));
then you will get the specific fields result instead of all fields.
OpenERP PHP Connector is being maintained by Preview ICT