상속: extends XeroPHP\Application
예제 #1
0
파일: private.php 프로젝트: ronanq/xero-php
<?php

use XeroPHP\Application\PrivateApplication;
//These are the minimum settings - for more options, refer to examples/config.php
$config = array('oauth' => array('callback' => 'http://localhost/', 'consumer_key' => 'k', 'consumer_secret' => 's', 'rsa_private_key' => 'file://certs/private.pem', 'rsa_public_key' => 'file://certs/public.pem'));
$xero = new PrivateApplication($config);
print_r($xero->load('Accounting\\Organisation')->execute());
예제 #2
0
파일: private.php 프로젝트: jh181/xero-php
<?php

use XeroPHP\Application\PrivateApplication;
//These are the minimum settings - for more options, refer to examples/config.php
$config = array('oauth' => array('callback' => 'oob', 'consumer_key' => 'k', 'consumer_secret' => 's', 'rsa_private_key' => 'file://certs/private.pem', 'rsa_public_key' => 'file://certs/public.pem'));
$xero = new PrivateApplication($config);
print_r($xero->loadByGUID('Accounting\\Contact', '[GUID]'));