Moved docs to gh-pages branch
@ -1,93 +0,0 @@
|
|||||||
PHP client for retailCRM API
|
|
||||||
=================
|
|
||||||
|
|
||||||
PHP client for [retailCRM API](http://www.retailcrm.ru/docs/Разработчики/Разработчики#api).
|
|
||||||
|
|
||||||
Requirements
|
|
||||||
------------
|
|
||||||
|
|
||||||
* PHP version 5.3 and above
|
|
||||||
* PHP-extension CURL
|
|
||||||
|
|
||||||
Installation
|
|
||||||
------------
|
|
||||||
|
|
||||||
1) Install [composer](https://getcomposer.org/download/)
|
|
||||||
|
|
||||||
2) Run:
|
|
||||||
```bash
|
|
||||||
composer require retailcrm/api-client-php 3.0
|
|
||||||
```
|
|
||||||
|
|
||||||
Usage
|
|
||||||
-----
|
|
||||||
|
|
||||||
Example of the receipt of order:
|
|
||||||
```php
|
|
||||||
|
|
||||||
$client = new \RetailCrm\ApiClient(
|
|
||||||
'https://demo.intarocrm.ru',
|
|
||||||
'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH'
|
|
||||||
);
|
|
||||||
|
|
||||||
try {
|
|
||||||
$response = $client->ordersGet('M-2342');
|
|
||||||
} catch (\RetailCrm\Exception\CurlException $e) {
|
|
||||||
echo "CRM connection error: " . $e->getMessage();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($response->isSuccessful()) {
|
|
||||||
echo $response->order['totalSumm'];
|
|
||||||
// or $response['order']['totalSumm'];
|
|
||||||
// or
|
|
||||||
// $order = $response->getOrder();
|
|
||||||
// $order['totalSumm'];
|
|
||||||
} else {
|
|
||||||
echo sprintf(
|
|
||||||
"Error of the order receipt: [Code %s] %s",
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getErrorMsg()
|
|
||||||
);
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Example of the order creating:
|
|
||||||
```php
|
|
||||||
|
|
||||||
$client = new \RetailCrm\ApiClient(
|
|
||||||
'https://demo.intarocrm.ru',
|
|
||||||
'T9DMPvuNt7FQJMszHUdG8Fkt6xHsqngH'
|
|
||||||
);
|
|
||||||
|
|
||||||
try {
|
|
||||||
$response = $client->ordersCreate(array(
|
|
||||||
'externalId' => 'some-shop-order-id',
|
|
||||||
'firstName' => 'Vasily',
|
|
||||||
'lastName' => 'Pupkin',
|
|
||||||
'items' => array(
|
|
||||||
//...
|
|
||||||
),
|
|
||||||
'delivery' => array(
|
|
||||||
'code' => 'russian-post',
|
|
||||||
)
|
|
||||||
));
|
|
||||||
} catch (\RetailCrm\Exception\CurlException $e) {
|
|
||||||
echo "CRM connection error: " . $e->getMessage();
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($response->isSuccessful()) {
|
|
||||||
if (201 === $response->getStatusCode()) {
|
|
||||||
echo 'Order created successfully! Order ID in CRM = ' . $response->id;
|
|
||||||
// or $response['id'];
|
|
||||||
// or $response->getId();
|
|
||||||
} else {
|
|
||||||
echo 'Order updated successfully!';
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
echo sprintf(
|
|
||||||
"Error of the order creating: [Code %s] %s",
|
|
||||||
$response->getStatusCode(),
|
|
||||||
$response->getErrorMsg()
|
|
||||||
);
|
|
||||||
}
|
|
||||||
```
|
|
@ -1,119 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
|
|
||||||
<title>Page not found | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.ApiClient.html">RetailCrm\ApiClient</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Http.Client.html">RetailCrm\Http\Client</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">RetailCrm\Exception\CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">RetailCrm\Exception\InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content">
|
|
||||||
<h1>Page not found</h1>
|
|
||||||
<p>The requested page could not be found.</p>
|
|
||||||
<p>You have probably clicked on a link that is outdated and points to a page that does not exist any more or you have made an typing error in the address.</p>
|
|
||||||
<p>To continue please try to find requested page in the menu, take a look at <a href="tree.html">the tree view</a> of the whole project or use search field on the top.</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,180 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Class RetailCrm\Exception\CurlException | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html" title="Summary of RetailCrm\Exception"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Exception.CurlException.html">CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="class">
|
|
||||||
<h1>Class CurlException</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="description">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<dl class="tree well">
|
|
||||||
<dd style="padding-left:0px">
|
|
||||||
Exception
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dd style="padding-left:30px">
|
|
||||||
<img src="resources/inherit.png" alt="Extended by">
|
|
||||||
RuntimeException
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dd style="padding-left:60px">
|
|
||||||
<img src="resources/inherit.png" alt="Extended by">
|
|
||||||
<b><span>RetailCrm\Exception\CurlException</span></b>
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="alert alert-info">
|
|
||||||
|
|
||||||
|
|
||||||
<b>Namespace:</b> RetailCrm\Exception<br>
|
|
||||||
|
|
||||||
|
|
||||||
<b>Located at</b> <a href="source-class-RetailCrm.Exception.CurlException.html#5-7" title="Go to source code">RetailCrm/Exception/CurlException.php</a><br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Methods summary</h2>
|
|
||||||
|
|
||||||
<h3>Methods inherited from Exception</h3>
|
|
||||||
<p class="elementList">
|
|
||||||
<code>__construct()</code>,
|
|
||||||
<code>__toString()</code>,
|
|
||||||
<code>getCode()</code>,
|
|
||||||
<code>getFile()</code>,
|
|
||||||
<code>getLine()</code>,
|
|
||||||
<code>getMessage()</code>,
|
|
||||||
<code>getPrevious()</code>,
|
|
||||||
<code>getTrace()</code>,
|
|
||||||
<code>getTraceAsString()</code>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Magic methods summary</h3>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,186 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Class RetailCrm\Exception\InvalidJsonException | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html" title="Summary of RetailCrm\Exception"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">CurlException</a></li>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Exception.InvalidJsonException.html">InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="class">
|
|
||||||
<h1>Class InvalidJsonException</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="description">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<dl class="tree well">
|
|
||||||
<dd style="padding-left:0px">
|
|
||||||
Exception
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dd style="padding-left:30px">
|
|
||||||
<img src="resources/inherit.png" alt="Extended by">
|
|
||||||
LogicException
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dd style="padding-left:60px">
|
|
||||||
<img src="resources/inherit.png" alt="Extended by">
|
|
||||||
DomainException
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
<dd style="padding-left:90px">
|
|
||||||
<img src="resources/inherit.png" alt="Extended by">
|
|
||||||
<b><span>RetailCrm\Exception\InvalidJsonException</span></b>
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="alert alert-info">
|
|
||||||
|
|
||||||
|
|
||||||
<b>Namespace:</b> RetailCrm\Exception<br>
|
|
||||||
|
|
||||||
|
|
||||||
<b>Located at</b> <a href="source-class-RetailCrm.Exception.InvalidJsonException.html#5-7" title="Go to source code">RetailCrm/Exception/InvalidJsonException.php</a><br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Methods summary</h2>
|
|
||||||
|
|
||||||
<h3>Methods inherited from Exception</h3>
|
|
||||||
<p class="elementList">
|
|
||||||
<code>__construct()</code>,
|
|
||||||
<code>__toString()</code>,
|
|
||||||
<code>getCode()</code>,
|
|
||||||
<code>getFile()</code>,
|
|
||||||
<code>getLine()</code>,
|
|
||||||
<code>getMessage()</code>,
|
|
||||||
<code>getPrevious()</code>,
|
|
||||||
<code>getTrace()</code>,
|
|
||||||
<code>getTraceAsString()</code>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Magic methods summary</h3>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,287 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Class RetailCrm\Http\Client | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html" title="Summary of RetailCrm\Http"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Http.Client.html">Client</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="class">
|
|
||||||
<h1>Class Client</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="description">
|
|
||||||
<p>HTTP client</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="alert alert-info">
|
|
||||||
|
|
||||||
|
|
||||||
<b>Namespace:</b> RetailCrm\Http<br>
|
|
||||||
|
|
||||||
|
|
||||||
<b>Located at</b> <a href="source-class-RetailCrm.Http.Client.html#8-82" title="Go to source code">RetailCrm/Http/Client.php</a><br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Methods summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped methods" id="methods">
|
|
||||||
<tr data-order="__construct" id="___construct">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#___construct">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Http.Client.html#19-27" title="Go to source code">__construct</a>( <span>mixed <var>$url</var></span>, <span>array <var>$defaultParameters</var> = <span class="php-keyword1">array</span>()</span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="makeRequest" id="_makeRequest">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
<code><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></code>
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_makeRequest">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Http.Client.html#29-81" title="Go to source code">makeRequest</a>( <span>string <var>$path</var></span>, <span>string <var>$method</var></span>, <span>array <var>$parameters</var> = <span class="php-keyword1">array</span>()</span>, <span>integer <var>$timeout</var> = <span class="php-num">30</span></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
<p>Make HTTP request</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
<p>Make HTTP request</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$path</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
<dt><var>$method</var></dt>
|
|
||||||
<dd>(default: 'GET')
|
|
||||||
</dd>
|
|
||||||
<dt><var>$parameters</var></dt>
|
|
||||||
<dd>(default: array())
|
|
||||||
</dd>
|
|
||||||
<dt><var>$timeout</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code><code><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></code></code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Magic methods summary</h3>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Constants summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped constants" id="constants">
|
|
||||||
<tr data-order="METHOD_GET" id="METHOD_GET">
|
|
||||||
|
|
||||||
<td class="attributes"><code>string</code></td>
|
|
||||||
<td class="name">
|
|
||||||
<code>
|
|
||||||
<a href="source-class-RetailCrm.Http.Client.html#13" title="Go to source code"><b>METHOD_GET</b></a>
|
|
||||||
</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td class="value">
|
|
||||||
<div>
|
|
||||||
<a href="#METHOD_GET" class="anchor">#</a>
|
|
||||||
<code><span class="php-quote">'GET'</span></code>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="METHOD_POST" id="METHOD_POST">
|
|
||||||
|
|
||||||
<td class="attributes"><code>string</code></td>
|
|
||||||
<td class="name">
|
|
||||||
<code>
|
|
||||||
<a href="source-class-RetailCrm.Http.Client.html#14" title="Go to source code"><b>METHOD_POST</b></a>
|
|
||||||
</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td class="value">
|
|
||||||
<div>
|
|
||||||
<a href="#METHOD_POST" class="anchor">#</a>
|
|
||||||
<code><span class="php-quote">'POST'</span></code>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,512 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Class RetailCrm\Response\ApiResponse | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html" title="Summary of RetailCrm\Response"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Response.ApiResponse.html">ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="class">
|
|
||||||
<h1>Class ApiResponse</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="description">
|
|
||||||
<p>Response from retailCRM API</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<dl class="tree well">
|
|
||||||
<dd style="padding-left:0px">
|
|
||||||
<b><span>RetailCrm\Response\ApiResponse</span></b>
|
|
||||||
implements
|
|
||||||
<span>ArrayAccess</span>
|
|
||||||
|
|
||||||
|
|
||||||
</dd>
|
|
||||||
</dl>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="alert alert-info">
|
|
||||||
|
|
||||||
|
|
||||||
<b>Namespace:</b> RetailCrm\Response<br>
|
|
||||||
|
|
||||||
|
|
||||||
<b>Located at</b> <a href="source-class-RetailCrm.Response.ApiResponse.html#7-127" title="Go to source code">RetailCrm/Response/ApiResponse.php</a><br>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Methods summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped methods" id="methods">
|
|
||||||
<tr data-order="__construct" id="___construct">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#___construct">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#18-34" title="Go to source code">__construct</a>( <span>mixed <var>$statusCode</var></span>, <span>mixed <var>$responseBody</var> = <span class="php-keyword1">null</span></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="getStatusCode" id="_getStatusCode">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
integer
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_getStatusCode">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#36-44" title="Go to source code">getStatusCode</a>( )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
<p>Return HTTP response status code</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
<p>Return HTTP response status code</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code>integer</code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="isSuccessful" id="_isSuccessful">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
boolean
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_isSuccessful">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#46-54" title="Go to source code">isSuccessful</a>( )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
<p>HTTP request was successful</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
<p>HTTP request was successful</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code>boolean</code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="__call" id="___call">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
mixed
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#___call">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#56-72" title="Go to source code">__call</a>( <span>string <var>$name</var></span>, <span>mixed <var>$arguments</var></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
<p>Allow to access for the property throw class method</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
<p>Allow to access for the property throw class method</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$name</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
<dt><var>$arguments</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code>mixed</code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="__get" id="___get">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
mixed
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#___get">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#74-87" title="Go to source code">__get</a>( <span>string <var>$name</var></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
<p>Allow to access for the property throw object property</p>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
<p>Allow to access for the property throw object property</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$name</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code>mixed</code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="offsetSet" id="_offsetSet">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_offsetSet">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#89-96" title="Go to source code">offsetSet</a>( <span>mixed <var>$offset</var></span>, <span>mixed <var>$value</var></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$offset</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
<dt><var>$value</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Implementation of</h4>
|
|
||||||
<div class="list"><code>ArrayAccess::offsetSet()</code></div>
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="offsetUnset" id="_offsetUnset">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_offsetUnset">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#98-104" title="Go to source code">offsetUnset</a>( <span>mixed <var>$offset</var></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$offset</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Implementation of</h4>
|
|
||||||
<div class="list"><code>ArrayAccess::offsetUnset()</code></div>
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="offsetExists" id="_offsetExists">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
boolean
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_offsetExists">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#106-113" title="Go to source code">offsetExists</a>( <span>mixed <var>$offset</var></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$offset</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code>boolean</code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Implementation of</h4>
|
|
||||||
<div class="list"><code>ArrayAccess::offsetExists()</code></div>
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
<tr data-order="offsetGet" id="_offsetGet">
|
|
||||||
|
|
||||||
<td class="attributes"><code>
|
|
||||||
public
|
|
||||||
mixed
|
|
||||||
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
<td class="name"><div>
|
|
||||||
<a class="anchor" href="#_offsetGet">#</a>
|
|
||||||
<code><a href="source-class-RetailCrm.Response.ApiResponse.html#115-126" title="Go to source code">offsetGet</a>( <span>mixed <var>$offset</var></span> )</code>
|
|
||||||
|
|
||||||
<div class="description short">
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="description detailed hidden">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Parameters</h4>
|
|
||||||
<div class="list"><dl>
|
|
||||||
<dt><var>$offset</var></dt>
|
|
||||||
<dd>
|
|
||||||
</dd>
|
|
||||||
</dl></div>
|
|
||||||
|
|
||||||
<h4>Returns</h4>
|
|
||||||
<div class="list">
|
|
||||||
<code>mixed</code>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h4>Implementation of</h4>
|
|
||||||
<div class="list"><code>ArrayAccess::offsetGet()</code></div>
|
|
||||||
</div>
|
|
||||||
</div></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Magic methods summary</h3>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,123 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Deprecated | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<span>Deprecated</span> </li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.ApiClient.html">RetailCrm\ApiClient</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Http.Client.html">RetailCrm\Http\Client</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">RetailCrm\Exception\CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">RetailCrm\Exception\InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content">
|
|
||||||
<h1>Deprecated</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,3 +0,0 @@
|
|||||||
|
|
||||||
var ApiGen = ApiGen || {};
|
|
||||||
ApiGen.elements = [["c","RetailCrm\\ApiClient"],["m","RetailCrm\\ApiClient::__construct()"],["m","RetailCrm\\ApiClient::customersCreate()"],["m","RetailCrm\\ApiClient::customersEdit()"],["m","RetailCrm\\ApiClient::customersFixExternalIds()"],["m","RetailCrm\\ApiClient::customersGet()"],["m","RetailCrm\\ApiClient::customersList()"],["m","RetailCrm\\ApiClient::customersUpload()"],["m","RetailCrm\\ApiClient::deliveryServicesEdit()"],["m","RetailCrm\\ApiClient::deliveryServicesList()"],["m","RetailCrm\\ApiClient::deliveryTypesEdit()"],["m","RetailCrm\\ApiClient::deliveryTypesList()"],["m","RetailCrm\\ApiClient::orderMethodsEdit()"],["m","RetailCrm\\ApiClient::orderMethodsList()"],["m","RetailCrm\\ApiClient::ordersCreate()"],["m","RetailCrm\\ApiClient::ordersEdit()"],["m","RetailCrm\\ApiClient::ordersFixExternalIds()"],["m","RetailCrm\\ApiClient::ordersGet()"],["m","RetailCrm\\ApiClient::ordersHistory()"],["m","RetailCrm\\ApiClient::ordersList()"],["m","RetailCrm\\ApiClient::ordersStatuses()"],["m","RetailCrm\\ApiClient::ordersUpload()"],["m","RetailCrm\\ApiClient::orderTypesEdit()"],["m","RetailCrm\\ApiClient::orderTypesList()"],["m","RetailCrm\\ApiClient::paymentStatusesEdit()"],["m","RetailCrm\\ApiClient::paymentStatusesList()"],["m","RetailCrm\\ApiClient::paymentTypesEdit()"],["m","RetailCrm\\ApiClient::paymentTypesList()"],["m","RetailCrm\\ApiClient::productStatusesEdit()"],["m","RetailCrm\\ApiClient::productStatusesList()"],["m","RetailCrm\\ApiClient::statisticUpdate()"],["m","RetailCrm\\ApiClient::statusesEdit()"],["m","RetailCrm\\ApiClient::statusesList()"],["m","RetailCrm\\ApiClient::statusGroupsList()"],["cc","RetailCrm\\ApiClient::VERSION"],["c","RetailCrm\\Exception\\CurlException"],["c","RetailCrm\\Exception\\InvalidJsonException"],["c","RetailCrm\\Http\\Client"],["m","RetailCrm\\Http\\Client::__construct()"],["m","RetailCrm\\Http\\Client::makeRequest()"],["cc","RetailCrm\\Http\\Client::METHOD_GET"],["cc","RetailCrm\\Http\\Client::METHOD_POST"],["c","RetailCrm\\Response\\ApiResponse"],["m","RetailCrm\\Response\\ApiResponse::__call()"],["m","RetailCrm\\Response\\ApiResponse::__construct()"],["m","RetailCrm\\Response\\ApiResponse::__get()"],["m","RetailCrm\\Response\\ApiResponse::getStatusCode()"],["m","RetailCrm\\Response\\ApiResponse::isSuccessful()"],["m","RetailCrm\\Response\\ApiResponse::offsetExists()"],["m","RetailCrm\\Response\\ApiResponse::offsetGet()"],["m","RetailCrm\\Response\\ApiResponse::offsetSet()"],["m","RetailCrm\\Response\\ApiResponse::offsetUnset()"]];
|
|
@ -1,134 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search" autofocus>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.ApiClient.html">RetailCrm\ApiClient</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Http.Client.html">RetailCrm\Http\Client</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">RetailCrm\Exception\CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">RetailCrm\Exception\InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content">
|
|
||||||
<h1>retailCRM PHP API client</h1>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Namespaces summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped" id="namespaces">
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.html">RetailCrm</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.Exception.html">RetailCrm\Exception</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.Http.html">RetailCrm\Http</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.Response.html">RetailCrm\Response</a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js"></script>
|
|
||||||
<script src="elementlist.js"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,130 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Namespace RetailCrm\Exception | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active">
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="namespace">
|
|
||||||
<h1>Namespace RetailCrm\Exception</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Exceptions summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped" id="exceptions">
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="class-RetailCrm.Exception.CurlException.html">CurlException</a></td>
|
|
||||||
<td>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="class-RetailCrm.Exception.InvalidJsonException.html">InvalidJsonException</a></td>
|
|
||||||
<td>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,124 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Namespace RetailCrm\Http | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active">
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Http.Client.html">Client</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="namespace">
|
|
||||||
<h1>Namespace RetailCrm\Http</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Classes summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped" id="classes">
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="class-RetailCrm.Http.Client.html">Client</a></td>
|
|
||||||
<td>HTTP client
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,124 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Namespace RetailCrm\Response | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active">
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Response.ApiResponse.html">ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="namespace">
|
|
||||||
<h1>Namespace RetailCrm\Response</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Classes summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped" id="classes">
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="class-RetailCrm.Response.ApiResponse.html">ApiResponse</a></td>
|
|
||||||
<td>Response from retailCRM API
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,136 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Namespace RetailCrm | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li class="active">
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.ApiClient.html">ApiClient</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content" class="namespace">
|
|
||||||
<h1>Namespace RetailCrm</h1>
|
|
||||||
|
|
||||||
<h2>Namespaces summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped" id="namespaces">
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.Exception.html">RetailCrm\Exception</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.Http.html">RetailCrm\Http</a></td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="namespace-RetailCrm.Response.html">RetailCrm\Response</a></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Classes summary</h2>
|
|
||||||
<table class="summary table table-bordered table-striped" id="classes">
|
|
||||||
<tr>
|
|
||||||
<td class="name"><a href="class-RetailCrm.ApiClient.html">ApiClient</a></td>
|
|
||||||
<td>retailCRM API client class
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
632
docs/api/resources/bootstrap.min.css
vendored
@ -1,632 +0,0 @@
|
|||||||
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
|
|
||||||
audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
|
|
||||||
audio:not([controls]){display:none;}
|
|
||||||
html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
|
|
||||||
a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
|
|
||||||
a:hover,a:active{outline:0;}
|
|
||||||
sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
|
|
||||||
sup{top:-0.5em;}
|
|
||||||
sub{bottom:-0.25em;}
|
|
||||||
img{max-width:100%;height:auto;border:0;-ms-interpolation-mode:bicubic;}
|
|
||||||
button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
|
|
||||||
button,input{*overflow:visible;line-height:normal;}
|
|
||||||
button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
|
|
||||||
button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
|
|
||||||
input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
|
|
||||||
input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
|
|
||||||
textarea{overflow:auto;vertical-align:top;}
|
|
||||||
.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
|
|
||||||
.clearfix:after{clear:both;}
|
|
||||||
body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-color:#ffffff;}
|
|
||||||
a{color:#0088cc;text-decoration:none;}
|
|
||||||
a:hover{color:#005580;text-decoration:underline;}
|
|
||||||
.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";}
|
|
||||||
.row:after{clear:both;}
|
|
||||||
[class*="span"]{float:left;margin-left:20px;}
|
|
||||||
.span1{width:60px;}
|
|
||||||
.span2{width:140px;}
|
|
||||||
.span3{width:220px;}
|
|
||||||
.span4{width:300px;}
|
|
||||||
.span5{width:380px;}
|
|
||||||
.span6{width:460px;}
|
|
||||||
.span7{width:540px;}
|
|
||||||
.span8{width:620px;}
|
|
||||||
.span9{width:700px;}
|
|
||||||
.span10{width:780px;}
|
|
||||||
.span11{width:860px;}
|
|
||||||
.span12,.container{width:940px;}
|
|
||||||
.offset1{margin-left:100px;}
|
|
||||||
.offset2{margin-left:180px;}
|
|
||||||
.offset3{margin-left:260px;}
|
|
||||||
.offset4{margin-left:340px;}
|
|
||||||
.offset5{margin-left:420px;}
|
|
||||||
.offset6{margin-left:500px;}
|
|
||||||
.offset7{margin-left:580px;}
|
|
||||||
.offset8{margin-left:660px;}
|
|
||||||
.offset9{margin-left:740px;}
|
|
||||||
.offset10{margin-left:820px;}
|
|
||||||
.offset11{margin-left:900px;}
|
|
||||||
.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";}
|
|
||||||
.row-fluid:after{clear:both;}
|
|
||||||
.row-fluid>[class*="span"]{float:left;margin-left:2.127659574%;}
|
|
||||||
.row-fluid>[class*="span"]:first-child{margin-left:0;}
|
|
||||||
.row-fluid>.span1{width:6.382978723%;}
|
|
||||||
.row-fluid>.span2{width:14.89361702%;}
|
|
||||||
.row-fluid>.span3{width:23.404255317%;}
|
|
||||||
.row-fluid>.span4{width:31.914893614%;}
|
|
||||||
.row-fluid>.span5{width:40.425531911%;}
|
|
||||||
.row-fluid>.span6{width:48.93617020799999%;}
|
|
||||||
.row-fluid>.span7{width:57.446808505%;}
|
|
||||||
.row-fluid>.span8{width:65.95744680199999%;}
|
|
||||||
.row-fluid>.span9{width:74.468085099%;}
|
|
||||||
.row-fluid>.span10{width:82.97872339599999%;}
|
|
||||||
.row-fluid>.span11{width:91.489361693%;}
|
|
||||||
.row-fluid>.span12{width:99.99999998999999%;}
|
|
||||||
.container{width:940px;margin-left:auto;margin-right:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";}
|
|
||||||
.container:after{clear:both;}
|
|
||||||
.container-fluid{padding-left:20px;padding-right:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";}
|
|
||||||
.container-fluid:after{clear:both;}
|
|
||||||
p{margin:0 0 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;}p small{font-size:11px;color:#999999;}
|
|
||||||
.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px;}
|
|
||||||
h1,h2,h3,h4,h5,h6{margin:0;font-weight:bold;color:#333333;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999;}
|
|
||||||
h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;}
|
|
||||||
h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;}
|
|
||||||
h3{line-height:27px;font-size:18px;}h3 small{font-size:14px;}
|
|
||||||
h4,h5,h6{line-height:18px;}
|
|
||||||
h4{font-size:14px;}h4 small{font-size:12px;}
|
|
||||||
h5{font-size:12px;}
|
|
||||||
h6{font-size:11px;color:#999999;text-transform:uppercase;}
|
|
||||||
.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee;}
|
|
||||||
.page-header h1{line-height:1;}
|
|
||||||
ul,ol{padding:0;margin:0 0 9px 25px;}
|
|
||||||
ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
|
|
||||||
ul{list-style:disc;}
|
|
||||||
ol{list-style:decimal;}
|
|
||||||
li{line-height:18px;}
|
|
||||||
ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}
|
|
||||||
dl{margin-bottom:18px;}
|
|
||||||
dt,dd{line-height:18px;}
|
|
||||||
dt{font-weight:bold;}
|
|
||||||
dd{margin-left:9px;}
|
|
||||||
hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;}
|
|
||||||
strong{font-weight:bold;}
|
|
||||||
em{font-style:italic;}
|
|
||||||
.muted{color:#999999;}
|
|
||||||
abbr{font-size:90%;text-transform:uppercase;border-bottom:1px dotted #ddd;cursor:help;}
|
|
||||||
blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee;}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px;}
|
|
||||||
blockquote small{display:block;line-height:18px;color:#999999;}blockquote small:before{content:'\2014 \00A0';}
|
|
||||||
blockquote.pull-right{float:right;padding-left:0;padding-right:15px;border-left:0;border-right:5px solid #eeeeee;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;}
|
|
||||||
q:before,q:after,blockquote:before,blockquote:after{content:"";}
|
|
||||||
address{display:block;margin-bottom:18px;line-height:18px;font-style:normal;}
|
|
||||||
small{font-size:100%;}
|
|
||||||
cite{font-style:normal;}
|
|
||||||
code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
|
||||||
code{padding:3px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;}
|
|
||||||
pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;white-space:pre;white-space:pre-wrap;word-break:break-all;word-wrap:break-word;}pre.prettyprint{margin-bottom:18px;}
|
|
||||||
pre code{padding:0;color:inherit;background-color:transparent;border:0;}
|
|
||||||
.pre-scrollable{max-height:340px;overflow-y:scroll;}
|
|
||||||
form{margin:0 0 18px;}
|
|
||||||
fieldset{padding:0;margin:0;border:0;}
|
|
||||||
legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee;}legend small{font-size:13.5px;color:#999999;}
|
|
||||||
label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px;}
|
|
||||||
input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
|
|
||||||
label{display:block;margin-bottom:5px;color:#333333;}
|
|
||||||
input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
|
||||||
.uneditable-textarea{width:auto;height:auto;}
|
|
||||||
label input,label textarea,label select{display:block;}
|
|
||||||
input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0 \9;}
|
|
||||||
input[type="image"]{border:0;}
|
|
||||||
input[type="file"]{width:auto;padding:initial;line-height:initial;border:initial;background-color:#ffffff;background-color:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
|
|
||||||
input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;}
|
|
||||||
select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px;}
|
|
||||||
input[type="file"]{line-height:18px \9;}
|
|
||||||
select{width:220px;background-color:#ffffff;}
|
|
||||||
select[multiple],select[size]{height:auto;}
|
|
||||||
input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
|
|
||||||
textarea{height:auto;}
|
|
||||||
input[type="hidden"]{display:none;}
|
|
||||||
.radio,.checkbox{padding-left:18px;}
|
|
||||||
.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px;}
|
|
||||||
.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;}
|
|
||||||
.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle;}
|
|
||||||
.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;}
|
|
||||||
input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;}
|
|
||||||
input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);outline:0;outline:thin dotted \9;}
|
|
||||||
input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
|
|
||||||
.input-mini{width:60px;}
|
|
||||||
.input-small{width:90px;}
|
|
||||||
.input-medium{width:150px;}
|
|
||||||
.input-large{width:210px;}
|
|
||||||
.input-xlarge{width:270px;}
|
|
||||||
.input-xxlarge{width:530px;}
|
|
||||||
input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{float:none;margin-left:0;}
|
|
||||||
input.span1,textarea.span1,.uneditable-input.span1{width:50px;}
|
|
||||||
input.span2,textarea.span2,.uneditable-input.span2{width:130px;}
|
|
||||||
input.span3,textarea.span3,.uneditable-input.span3{width:210px;}
|
|
||||||
input.span4,textarea.span4,.uneditable-input.span4{width:290px;}
|
|
||||||
input.span5,textarea.span5,.uneditable-input.span5{width:370px;}
|
|
||||||
input.span6,textarea.span6,.uneditable-input.span6{width:450px;}
|
|
||||||
input.span7,textarea.span7,.uneditable-input.span7{width:530px;}
|
|
||||||
input.span8,textarea.span8,.uneditable-input.span8{width:610px;}
|
|
||||||
input.span9,textarea.span9,.uneditable-input.span9{width:690px;}
|
|
||||||
input.span10,textarea.span10,.uneditable-input.span10{width:770px;}
|
|
||||||
input.span11,textarea.span11,.uneditable-input.span11{width:850px;}
|
|
||||||
input.span12,textarea.span12,.uneditable-input.span12{width:930px;}
|
|
||||||
input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#f5f5f5;border-color:#ddd;cursor:not-allowed;}
|
|
||||||
.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;}
|
|
||||||
.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e;}
|
|
||||||
.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;}
|
|
||||||
.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;}
|
|
||||||
.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392;}
|
|
||||||
.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;}
|
|
||||||
.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;}
|
|
||||||
.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b;}
|
|
||||||
.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;}
|
|
||||||
input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;}
|
|
||||||
.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#f5f5f5;border-top:1px solid #ddd;}
|
|
||||||
.uneditable-input{display:block;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;}
|
|
||||||
:-moz-placeholder{color:#999999;}
|
|
||||||
::-webkit-input-placeholder{color:#999999;}
|
|
||||||
.help-block{display:block;margin-top:5px;margin-bottom:0;color:#999999;}
|
|
||||||
.help-inline{display:inline-block;*display:inline;*zoom:1;margin-bottom:9px;vertical-align:middle;padding-left:5px;}
|
|
||||||
.input-prepend,.input-append{margin-bottom:5px;*zoom:1;}.input-prepend:before,.input-append:before,.input-prepend:after,.input-append:after{display:table;content:"";}
|
|
||||||
.input-prepend:after,.input-append:after{clear:both;}
|
|
||||||
.input-prepend input,.input-append input,.input-prepend .uneditable-input,.input-append .uneditable-input{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}.input-prepend input:focus,.input-append input:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{position:relative;z-index:2;}
|
|
||||||
.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc;}
|
|
||||||
.input-prepend .add-on,.input-append .add-on{float:left;display:block;width:auto;min-width:16px;height:18px;margin-right:-1px;padding:4px 5px;font-weight:normal;line-height:18px;color:#999999;text-align:center;text-shadow:0 1px 0 #ffffff;background-color:#f5f5f5;border:1px solid #ccc;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
|
|
||||||
.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546;}
|
|
||||||
.input-prepend .add-on{*margin-top:1px;}
|
|
||||||
.input-append input,.input-append .uneditable-input{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
|
|
||||||
.input-append .uneditable-input{border-left-color:#eee;border-right-color:#ccc;}
|
|
||||||
.input-append .add-on{margin-right:0;margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
|
|
||||||
.input-append input:first-child{*margin-left:-160px;}.input-append input:first-child+.add-on{*margin-left:-21px;}
|
|
||||||
.search-query{padding-left:14px;padding-right:14px;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;}
|
|
||||||
.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input{display:inline-block;margin-bottom:0;}
|
|
||||||
.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none;}
|
|
||||||
.form-search label,.form-inline label,.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{display:inline-block;}
|
|
||||||
.form-search .input-append .add-on,.form-inline .input-prepend .add-on,.form-search .input-append .add-on,.form-inline .input-prepend .add-on{vertical-align:middle;}
|
|
||||||
.form-search .radio,.form-inline .radio,.form-search .checkbox,.form-inline .checkbox{margin-bottom:0;vertical-align:middle;}
|
|
||||||
.control-group{margin-bottom:9px;}
|
|
||||||
legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate;}
|
|
||||||
.form-horizontal .control-group{margin-bottom:18px;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";}
|
|
||||||
.form-horizontal .control-group:after{clear:both;}
|
|
||||||
.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right;}
|
|
||||||
.form-horizontal .controls{margin-left:160px;}
|
|
||||||
.form-horizontal .form-actions{padding-left:160px;}
|
|
||||||
table{max-width:100%;border-collapse:collapse;border-spacing:0;}
|
|
||||||
.table{width:100%;margin-bottom:18px;}.table th,.table td{padding:8px;line-height:18px;text-align:left;vertical-align:top;border-top:1px solid #ddd;}
|
|
||||||
.table th{font-weight:bold;}
|
|
||||||
.table thead th{vertical-align:bottom;}
|
|
||||||
.table thead:first-child tr th,.table thead:first-child tr td{border-top:0;}
|
|
||||||
.table tbody+tbody{border-top:2px solid #ddd;}
|
|
||||||
.table-condensed th,.table-condensed td{padding:4px 5px;}
|
|
||||||
.table-bordered{border:1px solid #ddd;border-collapse:separate;*border-collapse:collapsed;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th+th,.table-bordered td+td,.table-bordered th+td,.table-bordered td+th{border-left:1px solid #ddd;}
|
|
||||||
.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;}
|
|
||||||
.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0;}
|
|
||||||
.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0;}
|
|
||||||
.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;}
|
|
||||||
.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-radius:0 0 4px 0;-moz-border-radius:0 0 4px 0;border-radius:0 0 4px 0;}
|
|
||||||
.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9;}
|
|
||||||
.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5;}
|
|
||||||
table .span1{float:none;width:44px;margin-left:0;}
|
|
||||||
table .span2{float:none;width:124px;margin-left:0;}
|
|
||||||
table .span3{float:none;width:204px;margin-left:0;}
|
|
||||||
table .span4{float:none;width:284px;margin-left:0;}
|
|
||||||
table .span5{float:none;width:364px;margin-left:0;}
|
|
||||||
table .span6{float:none;width:444px;margin-left:0;}
|
|
||||||
table .span7{float:none;width:524px;margin-left:0;}
|
|
||||||
table .span8{float:none;width:604px;margin-left:0;}
|
|
||||||
table .span9{float:none;width:684px;margin-left:0;}
|
|
||||||
table .span10{float:none;width:764px;margin-left:0;}
|
|
||||||
table .span11{float:none;width:844px;margin-left:0;}
|
|
||||||
table .span12{float:none;width:924px;margin-left:0;}
|
|
||||||
[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;*margin-right:.3em;}[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0;}
|
|
||||||
.icon-white{background-image:url("../img/glyphicons-halflings-white.png");}
|
|
||||||
.icon-glass{background-position:0 0;}
|
|
||||||
.icon-music{background-position:-24px 0;}
|
|
||||||
.icon-search{background-position:-48px 0;}
|
|
||||||
.icon-envelope{background-position:-72px 0;}
|
|
||||||
.icon-heart{background-position:-96px 0;}
|
|
||||||
.icon-star{background-position:-120px 0;}
|
|
||||||
.icon-star-empty{background-position:-144px 0;}
|
|
||||||
.icon-user{background-position:-168px 0;}
|
|
||||||
.icon-film{background-position:-192px 0;}
|
|
||||||
.icon-th-large{background-position:-216px 0;}
|
|
||||||
.icon-th{background-position:-240px 0;}
|
|
||||||
.icon-th-list{background-position:-264px 0;}
|
|
||||||
.icon-ok{background-position:-288px 0;}
|
|
||||||
.icon-remove{background-position:-312px 0;}
|
|
||||||
.icon-zoom-in{background-position:-336px 0;}
|
|
||||||
.icon-zoom-out{background-position:-360px 0;}
|
|
||||||
.icon-off{background-position:-384px 0;}
|
|
||||||
.icon-signal{background-position:-408px 0;}
|
|
||||||
.icon-cog{background-position:-432px 0;}
|
|
||||||
.icon-trash{background-position:-456px 0;}
|
|
||||||
.icon-home{background-position:0 -24px;}
|
|
||||||
.icon-file{background-position:-24px -24px;}
|
|
||||||
.icon-time{background-position:-48px -24px;}
|
|
||||||
.icon-road{background-position:-72px -24px;}
|
|
||||||
.icon-download-alt{background-position:-96px -24px;}
|
|
||||||
.icon-download{background-position:-120px -24px;}
|
|
||||||
.icon-upload{background-position:-144px -24px;}
|
|
||||||
.icon-inbox{background-position:-168px -24px;}
|
|
||||||
.icon-play-circle{background-position:-192px -24px;}
|
|
||||||
.icon-repeat{background-position:-216px -24px;}
|
|
||||||
.icon-refresh{background-position:-240px -24px;}
|
|
||||||
.icon-list-alt{background-position:-264px -24px;}
|
|
||||||
.icon-lock{background-position:-287px -24px;}
|
|
||||||
.icon-flag{background-position:-312px -24px;}
|
|
||||||
.icon-headphones{background-position:-336px -24px;}
|
|
||||||
.icon-volume-off{background-position:-360px -24px;}
|
|
||||||
.icon-volume-down{background-position:-384px -24px;}
|
|
||||||
.icon-volume-up{background-position:-408px -24px;}
|
|
||||||
.icon-qrcode{background-position:-432px -24px;}
|
|
||||||
.icon-barcode{background-position:-456px -24px;}
|
|
||||||
.icon-tag{background-position:0 -48px;}
|
|
||||||
.icon-tags{background-position:-25px -48px;}
|
|
||||||
.icon-book{background-position:-48px -48px;}
|
|
||||||
.icon-bookmark{background-position:-72px -48px;}
|
|
||||||
.icon-print{background-position:-96px -48px;}
|
|
||||||
.icon-camera{background-position:-120px -48px;}
|
|
||||||
.icon-font{background-position:-144px -48px;}
|
|
||||||
.icon-bold{background-position:-167px -48px;}
|
|
||||||
.icon-italic{background-position:-192px -48px;}
|
|
||||||
.icon-text-height{background-position:-216px -48px;}
|
|
||||||
.icon-text-width{background-position:-240px -48px;}
|
|
||||||
.icon-align-left{background-position:-264px -48px;}
|
|
||||||
.icon-align-center{background-position:-288px -48px;}
|
|
||||||
.icon-align-right{background-position:-312px -48px;}
|
|
||||||
.icon-align-justify{background-position:-336px -48px;}
|
|
||||||
.icon-list{background-position:-360px -48px;}
|
|
||||||
.icon-indent-left{background-position:-384px -48px;}
|
|
||||||
.icon-indent-right{background-position:-408px -48px;}
|
|
||||||
.icon-facetime-video{background-position:-432px -48px;}
|
|
||||||
.icon-picture{background-position:-456px -48px;}
|
|
||||||
.icon-pencil{background-position:0 -72px;}
|
|
||||||
.icon-map-marker{background-position:-24px -72px;}
|
|
||||||
.icon-adjust{background-position:-48px -72px;}
|
|
||||||
.icon-tint{background-position:-72px -72px;}
|
|
||||||
.icon-edit{background-position:-96px -72px;}
|
|
||||||
.icon-share{background-position:-120px -72px;}
|
|
||||||
.icon-check{background-position:-144px -72px;}
|
|
||||||
.icon-move{background-position:-168px -72px;}
|
|
||||||
.icon-step-backward{background-position:-192px -72px;}
|
|
||||||
.icon-fast-backward{background-position:-216px -72px;}
|
|
||||||
.icon-backward{background-position:-240px -72px;}
|
|
||||||
.icon-play{background-position:-264px -72px;}
|
|
||||||
.icon-pause{background-position:-288px -72px;}
|
|
||||||
.icon-stop{background-position:-312px -72px;}
|
|
||||||
.icon-forward{background-position:-336px -72px;}
|
|
||||||
.icon-fast-forward{background-position:-360px -72px;}
|
|
||||||
.icon-step-forward{background-position:-384px -72px;}
|
|
||||||
.icon-eject{background-position:-408px -72px;}
|
|
||||||
.icon-chevron-left{background-position:-432px -72px;}
|
|
||||||
.icon-chevron-right{background-position:-456px -72px;}
|
|
||||||
.icon-plus-sign{background-position:0 -96px;}
|
|
||||||
.icon-minus-sign{background-position:-24px -96px;}
|
|
||||||
.icon-remove-sign{background-position:-48px -96px;}
|
|
||||||
.icon-ok-sign{background-position:-72px -96px;}
|
|
||||||
.icon-question-sign{background-position:-96px -96px;}
|
|
||||||
.icon-info-sign{background-position:-120px -96px;}
|
|
||||||
.icon-screenshot{background-position:-144px -96px;}
|
|
||||||
.icon-remove-circle{background-position:-168px -96px;}
|
|
||||||
.icon-ok-circle{background-position:-192px -96px;}
|
|
||||||
.icon-ban-circle{background-position:-216px -96px;}
|
|
||||||
.icon-arrow-left{background-position:-240px -96px;}
|
|
||||||
.icon-arrow-right{background-position:-264px -96px;}
|
|
||||||
.icon-arrow-up{background-position:-289px -96px;}
|
|
||||||
.icon-arrow-down{background-position:-312px -96px;}
|
|
||||||
.icon-share-alt{background-position:-336px -96px;}
|
|
||||||
.icon-resize-full{background-position:-360px -96px;}
|
|
||||||
.icon-resize-small{background-position:-384px -96px;}
|
|
||||||
.icon-plus{background-position:-408px -96px;}
|
|
||||||
.icon-minus{background-position:-433px -96px;}
|
|
||||||
.icon-asterisk{background-position:-456px -96px;}
|
|
||||||
.icon-exclamation-sign{background-position:0 -120px;}
|
|
||||||
.icon-gift{background-position:-24px -120px;}
|
|
||||||
.icon-leaf{background-position:-48px -120px;}
|
|
||||||
.icon-fire{background-position:-72px -120px;}
|
|
||||||
.icon-eye-open{background-position:-96px -120px;}
|
|
||||||
.icon-eye-close{background-position:-120px -120px;}
|
|
||||||
.icon-warning-sign{background-position:-144px -120px;}
|
|
||||||
.icon-plane{background-position:-168px -120px;}
|
|
||||||
.icon-calendar{background-position:-192px -120px;}
|
|
||||||
.icon-random{background-position:-216px -120px;}
|
|
||||||
.icon-comment{background-position:-240px -120px;}
|
|
||||||
.icon-magnet{background-position:-264px -120px;}
|
|
||||||
.icon-chevron-up{background-position:-288px -120px;}
|
|
||||||
.icon-chevron-down{background-position:-313px -119px;}
|
|
||||||
.icon-retweet{background-position:-336px -120px;}
|
|
||||||
.icon-shopping-cart{background-position:-360px -120px;}
|
|
||||||
.icon-folder-close{background-position:-384px -120px;}
|
|
||||||
.icon-folder-open{background-position:-408px -120px;}
|
|
||||||
.icon-resize-vertical{background-position:-432px -119px;}
|
|
||||||
.icon-resize-horizontal{background-position:-456px -118px;}
|
|
||||||
.dropdown{position:relative;}
|
|
||||||
.dropdown-toggle{*margin-bottom:-3px;}
|
|
||||||
.dropdown-toggle:active,.open .dropdown-toggle{outline:0;}
|
|
||||||
.caret{display:inline-block;width:0;height:0;text-indent:-99999px;*text-indent:0;vertical-align:top;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000000;opacity:0.3;filter:alpha(opacity=30);content:"\2193";}
|
|
||||||
.dropdown .caret{margin-top:8px;margin-left:2px;}
|
|
||||||
.dropdown:hover .caret,.open.dropdown .caret{opacity:1;filter:alpha(opacity=100);}
|
|
||||||
.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;_width:160px;padding:4px 0;margin:0;list-style:none;background-color:#ffffff;border-color:#ccc;border-color:rgba(0, 0, 0, 0.2);border-style:solid;border-width:1px;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px;}.dropdown-menu.bottom-up{top:auto;bottom:100%;margin-bottom:2px;}
|
|
||||||
.dropdown-menu .divider{height:1px;margin:5px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;*width:100%;*margin:-5px 0 5px;}
|
|
||||||
.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#555555;white-space:nowrap;}
|
|
||||||
.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#0088cc;}
|
|
||||||
.dropdown.open{*z-index:1000;}.dropdown.open .dropdown-toggle{color:#ffffff;background:#ccc;background:rgba(0, 0, 0, 0.3);}
|
|
||||||
.dropdown.open .dropdown-menu{display:block;}
|
|
||||||
.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
|
||||||
.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);}
|
|
||||||
.fade{-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;opacity:0;}.fade.in{opacity:1;}
|
|
||||||
.collapse{-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease;position:relative;overflow:hidden;height:0;}.collapse.in{height:auto;}
|
|
||||||
.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.close:hover{color:#000000;text-decoration:none;opacity:0.4;filter:alpha(opacity=40);cursor:pointer;}
|
|
||||||
.btn{display:inline-block;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:middle;background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-ms-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);border:1px solid #ccc;border-bottom-color:#bbb;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);cursor:pointer;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);*margin-left:.3em;}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#e6e6e6;}
|
|
||||||
.btn:active,.btn.active{background-color:#cccccc \9;}
|
|
||||||
.btn:first-child{*margin-left:0;}
|
|
||||||
.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;}
|
|
||||||
.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
|
|
||||||
.btn.active,.btn:active{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);background-color:#e6e6e6;background-color:#d9d9d9 \9;outline:0;}
|
|
||||||
.btn.disabled,.btn[disabled]{cursor:default;background-image:none;background-color:#e6e6e6;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
|
|
||||||
.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
|
|
||||||
.btn-large [class^="icon-"]{margin-top:1px;}
|
|
||||||
.btn-small{padding:5px 9px;font-size:11px;line-height:16px;}
|
|
||||||
.btn-small [class^="icon-"]{margin-top:-1px;}
|
|
||||||
.btn-mini{padding:2px 6px;font-size:11px;line-height:14px;}
|
|
||||||
.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);color:#ffffff;}
|
|
||||||
.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-dark.active{color:rgba(255, 255, 255, 0.75);}
|
|
||||||
.btn-primary{background-color:#006dcc;background-image:-moz-linear-gradient(top, #0088cc, #0044cc);background-image:-ms-linear-gradient(top, #0088cc, #0044cc);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));background-image:-webkit-linear-gradient(top, #0088cc, #0044cc);background-image:-o-linear-gradient(top, #0088cc, #0044cc);background-image:linear-gradient(top, #0088cc, #0044cc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);border-color:#0044cc #0044cc #002a80;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#0044cc;}
|
|
||||||
.btn-primary:active,.btn-primary.active{background-color:#003399 \9;}
|
|
||||||
.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;}
|
|
||||||
.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;}
|
|
||||||
.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-ms-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(top, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;}
|
|
||||||
.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;}
|
|
||||||
.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-ms-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(top, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;}
|
|
||||||
.btn-success:active,.btn-success.active{background-color:#408140 \9;}
|
|
||||||
.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-ms-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(top, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;}
|
|
||||||
.btn-info:active,.btn-info.active{background-color:#24748c \9;}
|
|
||||||
.btn-inverse{background-color:#393939;background-image:-moz-linear-gradient(top, #454545, #262626);background-image:-ms-linear-gradient(top, #454545, #262626);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#454545), to(#262626));background-image:-webkit-linear-gradient(top, #454545, #262626);background-image:-o-linear-gradient(top, #454545, #262626);background-image:linear-gradient(top, #454545, #262626);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#454545', endColorstr='#262626', GradientType=0);border-color:#262626 #262626 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#262626;}
|
|
||||||
.btn-inverse:active,.btn-inverse.active{background-color:#0c0c0c \9;}
|
|
||||||
button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;}
|
|
||||||
button.btn.large,input[type="submit"].btn.large{*padding-top:7px;*padding-bottom:7px;}
|
|
||||||
button.btn.small,input[type="submit"].btn.small{*padding-top:3px;*padding-bottom:3px;}
|
|
||||||
.btn-group{position:relative;*zoom:1;*margin-left:.3em;}.btn-group:before,.btn-group:after{display:table;content:"";}
|
|
||||||
.btn-group:after{clear:both;}
|
|
||||||
.btn-group:first-child{*margin-left:0;}
|
|
||||||
.btn-group+.btn-group{margin-left:5px;}
|
|
||||||
.btn-toolbar{margin-top:9px;margin-bottom:9px;}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1;}
|
|
||||||
.btn-group .btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
|
|
||||||
.btn-group .btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;}
|
|
||||||
.btn-group .btn:last-child,.btn-group .dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;}
|
|
||||||
.btn-group .btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;}
|
|
||||||
.btn-group .btn.large:last-child,.btn-group .large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;}
|
|
||||||
.btn-group .btn:hover,.btn-group .btn:focus,.btn-group .btn:active,.btn-group .btn.active{z-index:2;}
|
|
||||||
.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0;}
|
|
||||||
.btn-group .dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);*padding-top:5px;*padding-bottom:5px;}
|
|
||||||
.btn-group.open{*z-index:1000;}.btn-group.open .dropdown-menu{display:block;margin-top:1px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
|
|
||||||
.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);}
|
|
||||||
.btn .caret{margin-top:7px;margin-left:0;}
|
|
||||||
.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100);}
|
|
||||||
.btn-primary .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;opacity:0.75;filter:alpha(opacity=75);}
|
|
||||||
.btn-small .caret{margin-top:4px;}
|
|
||||||
.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
|
||||||
.alert,.alert-heading{color:#c09853;}
|
|
||||||
.alert .close{position:relative;top:-2px;right:-21px;line-height:18px;}
|
|
||||||
.alert-success{background-color:#dff0d8;border-color:#d6e9c6;}
|
|
||||||
.alert-success,.alert-success .alert-heading{color:#468847;}
|
|
||||||
.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;}
|
|
||||||
.alert-danger,.alert-error,.alert-danger .alert-heading,.alert-error .alert-heading{color:#b94a48;}
|
|
||||||
.alert-info{background-color:#d9edf7;border-color:#bce8f1;}
|
|
||||||
.alert-info,.alert-info .alert-heading{color:#3a87ad;}
|
|
||||||
.alert-block{padding-top:14px;padding-bottom:14px;}
|
|
||||||
.alert-block>p,.alert-block>ul{margin-bottom:0;}
|
|
||||||
.alert-block p+p{margin-top:5px;}
|
|
||||||
.nav{margin-left:0;margin-bottom:18px;list-style:none;}
|
|
||||||
.nav>li>a{display:block;}
|
|
||||||
.nav>li>a:hover{text-decoration:none;background-color:#eeeeee;}
|
|
||||||
.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);text-transform:uppercase;}
|
|
||||||
.nav li+.nav-header{margin-top:9px;}
|
|
||||||
.nav-list{padding-left:14px;padding-right:14px;margin-bottom:0;}
|
|
||||||
.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}
|
|
||||||
.nav-list>li>a{padding:3px 15px;}
|
|
||||||
.nav-list .active>a,.nav-list .active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.2);background-color:#0088cc;}
|
|
||||||
.nav-list [class^="icon-"]{margin-right:2px;}
|
|
||||||
.nav-tabs,.nav-pills{*zoom:1;}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";}
|
|
||||||
.nav-tabs:after,.nav-pills:after{clear:both;}
|
|
||||||
.nav-tabs>li,.nav-pills>li{float:left;}
|
|
||||||
.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px;}
|
|
||||||
.nav-tabs{border-bottom:1px solid #ddd;}
|
|
||||||
.nav-tabs>li{margin-bottom:-1px;}
|
|
||||||
.nav-tabs>li>a{padding-top:9px;padding-bottom:9px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd;}
|
|
||||||
.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default;}
|
|
||||||
.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
|
|
||||||
.nav-pills .active>a,.nav-pills .active>a:hover{color:#ffffff;background-color:#0088cc;}
|
|
||||||
.nav-stacked>li{float:none;}
|
|
||||||
.nav-stacked>li>a{margin-right:0;}
|
|
||||||
.nav-tabs.nav-stacked{border-bottom:0;}
|
|
||||||
.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
|
|
||||||
.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}
|
|
||||||
.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}
|
|
||||||
.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2;}
|
|
||||||
.nav-pills.nav-stacked>li>a{margin-bottom:3px;}
|
|
||||||
.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px;}
|
|
||||||
.nav-tabs .dropdown-menu,.nav-pills .dropdown-menu{margin-top:1px;border-width:1px;}
|
|
||||||
.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
|
||||||
.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#0088cc;margin-top:6px;}
|
|
||||||
.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#005580;}
|
|
||||||
.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;}
|
|
||||||
.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer;}
|
|
||||||
.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999;}
|
|
||||||
.nav .open .caret,.nav .open.active .caret,.nav .open a:hover .caret{border-top-color:#ffffff;opacity:1;filter:alpha(opacity=100);}
|
|
||||||
.tabs-stacked .open>a:hover{border-color:#999999;}
|
|
||||||
.tabbable{*zoom:1;}.tabbable:before,.tabbable:after{display:table;content:"";}
|
|
||||||
.tabbable:after{clear:both;}
|
|
||||||
.tab-content{overflow:hidden;}
|
|
||||||
.tabs-below .nav-tabs,.tabs-right .nav-tabs,.tabs-left .nav-tabs{border-bottom:0;}
|
|
||||||
.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;}
|
|
||||||
.tab-content>.active,.pill-content>.active{display:block;}
|
|
||||||
.tabs-below .nav-tabs{border-top:1px solid #ddd;}
|
|
||||||
.tabs-below .nav-tabs>li{margin-top:-1px;margin-bottom:0;}
|
|
||||||
.tabs-below .nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.tabs-below .nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd;}
|
|
||||||
.tabs-below .nav-tabs .active>a,.tabs-below .nav-tabs .active>a:hover{border-color:transparent #ddd #ddd #ddd;}
|
|
||||||
.tabs-left .nav-tabs>li,.tabs-right .nav-tabs>li{float:none;}
|
|
||||||
.tabs-left .nav-tabs>li>a,.tabs-right .nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px;}
|
|
||||||
.tabs-left .nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd;}
|
|
||||||
.tabs-left .nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;}
|
|
||||||
.tabs-left .nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee;}
|
|
||||||
.tabs-left .nav-tabs .active>a,.tabs-left .nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff;}
|
|
||||||
.tabs-right .nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd;}
|
|
||||||
.tabs-right .nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;}
|
|
||||||
.tabs-right .nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd;}
|
|
||||||
.tabs-right .nav-tabs .active>a,.tabs-right .nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff;}
|
|
||||||
.navbar{overflow:visible;margin-bottom:18px;}
|
|
||||||
.navbar-inner{padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);}
|
|
||||||
.btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);}.btn-navbar:hover,.btn-navbar:active,.btn-navbar.active,.btn-navbar.disabled,.btn-navbar[disabled]{background-color:#222222;}
|
|
||||||
.btn-navbar:active,.btn-navbar.active{background-color:#080808 \9;}
|
|
||||||
.btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);}
|
|
||||||
.btn-navbar .icon-bar+.icon-bar{margin-top:3px;}
|
|
||||||
.nav-collapse.collapse{height:auto;}
|
|
||||||
.navbar .brand:hover{text-decoration:none;}
|
|
||||||
.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#ffffff;}
|
|
||||||
.navbar .navbar-text{margin-bottom:0;line-height:40px;color:#999999;}.navbar .navbar-text a:hover{color:#ffffff;background-color:transparent;}
|
|
||||||
.navbar .btn,.navbar .btn-group{margin-top:5px;}
|
|
||||||
.navbar .btn-group .btn{margin-top:0;}
|
|
||||||
.navbar-form{margin-bottom:0;*zoom:1;}.navbar-form:before,.navbar-form:after{display:table;content:"";}
|
|
||||||
.navbar-form:after{clear:both;}
|
|
||||||
.navbar-form input,.navbar-form select{display:inline-block;margin-top:5px;margin-bottom:0;}
|
|
||||||
.navbar-form .radio,.navbar-form .checkbox{margin-top:5px;}
|
|
||||||
.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px;}
|
|
||||||
.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap;}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0;}
|
|
||||||
.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0;}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;color:rgba(255, 255, 255, 0.75);background:#666;background:rgba(255, 255, 255, 0.3);border:1px solid #111;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;}.navbar-search .search-query :-moz-placeholder{color:#eeeeee;}
|
|
||||||
.navbar-search .search-query::-webkit-input-placeholder{color:#eeeeee;}
|
|
||||||
.navbar-search .search-query:hover{color:#ffffff;background-color:#999999;background-color:rgba(255, 255, 255, 0.5);}
|
|
||||||
.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);outline:0;}
|
|
||||||
.navbar-fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030;}
|
|
||||||
.navbar-fixed-top .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
|
|
||||||
.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0;}
|
|
||||||
.navbar .nav.pull-right{float:right;}
|
|
||||||
.navbar .nav>li{display:block;float:left;}
|
|
||||||
.navbar .nav>li>a{float:none;padding:10px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}
|
|
||||||
.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none;}
|
|
||||||
.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222;}
|
|
||||||
.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333;}
|
|
||||||
.navbar .nav.pull-right{margin-left:10px;margin-right:0;}
|
|
||||||
.navbar .dropdown-menu{margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0, 0, 0, 0.2);position:absolute;top:-7px;left:9px;}
|
|
||||||
.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px;}
|
|
||||||
.navbar .nav .dropdown-toggle .caret,.navbar .nav .open.dropdown .caret{border-top-color:#ffffff;}
|
|
||||||
.navbar .nav .active .caret{opacity:1;filter:alpha(opacity=100);}
|
|
||||||
.navbar .nav .open>.dropdown-toggle,.navbar .nav .active>.dropdown-toggle,.navbar .nav .open.active>.dropdown-toggle{background-color:transparent;}
|
|
||||||
.navbar .nav .active>.dropdown-toggle:hover{color:#ffffff;}
|
|
||||||
.navbar .nav.pull-right .dropdown-menu{left:auto;right:0;}.navbar .nav.pull-right .dropdown-menu:before{left:auto;right:12px;}
|
|
||||||
.navbar .nav.pull-right .dropdown-menu:after{left:auto;right:13px;}
|
|
||||||
.breadcrumb{padding:7px 14px;margin:0 0 18px;background-color:#fbfbfb;background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);background-image:-o-linear-gradient(top, #ffffff, #f5f5f5);background-image:linear-gradient(top, #ffffff, #f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;}.breadcrumb li{display:inline-block;text-shadow:0 1px 0 #ffffff;}
|
|
||||||
.breadcrumb .divider{padding:0 5px;color:#999999;}
|
|
||||||
.breadcrumb .active a{color:#333333;}
|
|
||||||
.pagination{height:36px;margin:18px 0;}
|
|
||||||
.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);}
|
|
||||||
.pagination li{display:inline;}
|
|
||||||
.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0;}
|
|
||||||
.pagination a:hover,.pagination .active a{background-color:#f5f5f5;}
|
|
||||||
.pagination .active a{color:#999999;cursor:default;}
|
|
||||||
.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default;}
|
|
||||||
.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
|
|
||||||
.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
|
|
||||||
.pagination-centered{text-align:center;}
|
|
||||||
.pagination-right{text-align:right;}
|
|
||||||
.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1;}.pager:before,.pager:after{display:table;content:"";}
|
|
||||||
.pager:after{clear:both;}
|
|
||||||
.pager li{display:inline;}
|
|
||||||
.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}
|
|
||||||
.pager a:hover{text-decoration:none;background-color:#f5f5f5;}
|
|
||||||
.pager .next a{float:right;}
|
|
||||||
.pager .previous a{float:left;}
|
|
||||||
.modal-open .dropdown-menu{z-index:2050;}
|
|
||||||
.modal-open .dropdown.open{*z-index:2050;}
|
|
||||||
.modal-open .popover{z-index:2060;}
|
|
||||||
.modal-open .tooltip{z-index:2070;}
|
|
||||||
.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000;}.modal-backdrop.fade{opacity:0;}
|
|
||||||
.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80);}
|
|
||||||
.modal{position:fixed;top:50%;left:50%;z-index:1050;max-height:500px;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-ms-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%;}
|
|
||||||
.modal.fade.in{top:50%;}
|
|
||||||
.modal-header{padding:9px 15px;border-bottom:1px solid #eee;}.modal-header .close{margin-top:2px;}
|
|
||||||
.modal-body{padding:15px;}
|
|
||||||
.modal-body .modal-form{margin-bottom:0;}
|
|
||||||
.modal-footer{padding:14px 15px 15px;margin-bottom:0;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1;}.modal-footer:before,.modal-footer:after{display:table;content:"";}
|
|
||||||
.modal-footer:after{clear:both;}
|
|
||||||
.modal-footer .btn{float:right;margin-left:5px;margin-bottom:0;}
|
|
||||||
.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);}.tooltip.in{opacity:0.8;filter:alpha(opacity=80);}
|
|
||||||
.tooltip.top{margin-top:-2px;}
|
|
||||||
.tooltip.right{margin-left:2px;}
|
|
||||||
.tooltip.bottom{margin-top:2px;}
|
|
||||||
.tooltip.left{margin-left:-2px;}
|
|
||||||
.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
|
|
||||||
.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
|
|
||||||
.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
|
|
||||||
.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
|
|
||||||
.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
|
||||||
.tooltip-arrow{position:absolute;width:0;height:0;}
|
|
||||||
.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px;}.popover.top{margin-top:-5px;}
|
|
||||||
.popover.right{margin-left:5px;}
|
|
||||||
.popover.bottom{margin-top:5px;}
|
|
||||||
.popover.left{margin-left:-5px;}
|
|
||||||
.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
|
|
||||||
.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
|
|
||||||
.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
|
|
||||||
.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
|
|
||||||
.popover .arrow{position:absolute;width:0;height:0;}
|
|
||||||
.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0, 0, 0, 0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);}
|
|
||||||
.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;}
|
|
||||||
.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0;}
|
|
||||||
.thumbnails{margin-left:-20px;list-style:none;*zoom:1;}.thumbnails:before,.thumbnails:after{display:table;content:"";}
|
|
||||||
.thumbnails:after{clear:both;}
|
|
||||||
.thumbnails>li{float:left;margin:0 0 18px 20px;}
|
|
||||||
.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);}
|
|
||||||
a.thumbnail:hover{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);-moz-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);}
|
|
||||||
.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto;}
|
|
||||||
.thumbnail .caption{padding:9px;}
|
|
||||||
.label{padding:2px 4px 3px;font-size:11.049999999999999px;font-weight:bold;color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
|
||||||
.label:hover{color:#ffffff;text-decoration:none;}
|
|
||||||
.label-important{background-color:#b94a48;}
|
|
||||||
.label-important:hover{background-color:#953b39;}
|
|
||||||
.label-warning{background-color:#f89406;}
|
|
||||||
.label-warning:hover{background-color:#c67605;}
|
|
||||||
.label-success{background-color:#468847;}
|
|
||||||
.label-success:hover{background-color:#356635;}
|
|
||||||
.label-info{background-color:#3a87ad;}
|
|
||||||
.label-info:hover{background-color:#2d6987;}
|
|
||||||
@-webkit-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@-moz-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-ms-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));background-image:-webkit-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-o-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:linear-gradient(top, #f5f5f5, #f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
|
||||||
.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top, #149bdf, #0480be);background-image:-ms-linear-gradient(top, #149bdf, #0480be);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));background-image:-webkit-linear-gradient(top, #149bdf, #0480be);background-image:-o-linear-gradient(top, #149bdf, #0480be);background-image:linear-gradient(top, #149bdf, #0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease;}
|
|
||||||
.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px;}
|
|
||||||
.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;}
|
|
||||||
.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-ms-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(top, #ee5f5b, #c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);}
|
|
||||||
.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
|
|
||||||
.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-ms-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(top, #62c462, #57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);}
|
|
||||||
.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
|
|
||||||
.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(top, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);}
|
|
||||||
.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
|
|
||||||
.accordion{margin-bottom:18px;}
|
|
||||||
.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
|
|
||||||
.accordion-heading{border-bottom:0;}
|
|
||||||
.accordion-heading .accordion-toggle{display:block;padding:8px 15px;}
|
|
||||||
.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;}
|
|
||||||
.carousel{position:relative;margin-bottom:18px;line-height:1;}
|
|
||||||
.carousel-inner{overflow:hidden;width:100%;position:relative;}
|
|
||||||
.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;}
|
|
||||||
.carousel .item>img{display:block;line-height:1;}
|
|
||||||
.carousel .active,.carousel .next,.carousel .prev{display:block;}
|
|
||||||
.carousel .active{left:0;}
|
|
||||||
.carousel .next,.carousel .prev{position:absolute;top:0;width:100%;}
|
|
||||||
.carousel .next{left:100%;}
|
|
||||||
.carousel .prev{left:-100%;}
|
|
||||||
.carousel .next.left,.carousel .prev.right{left:0;}
|
|
||||||
.carousel .active.left{left:-100%;}
|
|
||||||
.carousel .active.right{left:100%;}
|
|
||||||
.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50);}.carousel-control.right{left:auto;right:15px;}
|
|
||||||
.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);}
|
|
||||||
.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0, 0, 0, 0.75);}
|
|
||||||
.carousel-caption h4,.carousel-caption p{color:#ffffff;}
|
|
||||||
.hero-unit{padding:60px;margin-bottom:30px;background-color:#f5f5f5;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;letter-spacing:-1px;}
|
|
||||||
.hero-unit p{font-size:18px;font-weight:200;line-height:27px;}
|
|
||||||
.pull-right{float:right;}
|
|
||||||
.pull-left{float:left;}
|
|
||||||
.hide{display:none;}
|
|
||||||
.show{display:block;}
|
|
||||||
.invisible{visibility:hidden;}
|
|
Before Width: | Height: | Size: 249 B |
Before Width: | Height: | Size: 152 B |
Before Width: | Height: | Size: 121 B |
Before Width: | Height: | Size: 171 B |
@ -1,508 +0,0 @@
|
|||||||
body {
|
|
||||||
padding: 40px 0 0 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 2em;
|
|
||||||
margin: 0.67em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin: 0.83em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-size: 1.17em;
|
|
||||||
margin: 1em 0 0.2em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-size: 100%;
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul, ol {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
a, a:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
var {
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
color: #c09853;
|
|
||||||
}
|
|
||||||
|
|
||||||
code {
|
|
||||||
color: #000000;
|
|
||||||
white-space: nowrap;
|
|
||||||
border: none;
|
|
||||||
background: transparent;
|
|
||||||
padding: 0
|
|
||||||
}
|
|
||||||
|
|
||||||
code:empty {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
code a b {
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre code {
|
|
||||||
white-space: pre;
|
|
||||||
}
|
|
||||||
|
|
||||||
.deprecated {
|
|
||||||
text-decoration: line-through;
|
|
||||||
opacity: .5;
|
|
||||||
}
|
|
||||||
|
|
||||||
.invalid {
|
|
||||||
color: #dd1144;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hidden {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Left side */
|
|
||||||
#left {
|
|
||||||
overflow: auto;
|
|
||||||
width: 270px;
|
|
||||||
height: 100%;
|
|
||||||
position: fixed;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Menu */
|
|
||||||
#menu {
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu h3 {
|
|
||||||
border-bottom: 1px solid #cccccc;
|
|
||||||
margin-left: -10px;
|
|
||||||
margin-right: -10px;
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu ul {
|
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu ul ul {
|
|
||||||
padding-left: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu li {
|
|
||||||
white-space: nowrap;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu a {
|
|
||||||
display: block;
|
|
||||||
padding: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu a:hover {
|
|
||||||
background-color: #0088cc;
|
|
||||||
color: #ffffff !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu .active > a {
|
|
||||||
font-weight: bold;
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu .active > a.invalid {
|
|
||||||
color: #dd1144;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu #groups span {
|
|
||||||
position: absolute;
|
|
||||||
top: 6px;
|
|
||||||
right: 3px;
|
|
||||||
cursor: pointer;
|
|
||||||
display: block;
|
|
||||||
width: 12px;
|
|
||||||
height: 12px;
|
|
||||||
background: url('collapsed.png') transparent 0 0 no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu #groups span:hover {
|
|
||||||
background-position: -12px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu #groups span.collapsed {
|
|
||||||
background-position: 0 -12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu #groups span.collapsed:hover {
|
|
||||||
background-position: -12px -12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu #groups ul.collapsed {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Search */
|
|
||||||
#menu .form-search {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#menu .search-query {
|
|
||||||
height: auto;
|
|
||||||
width: 100%;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Autocomplete */
|
|
||||||
.ac_results {
|
|
||||||
border-radius: 4px;
|
|
||||||
margin-top: 2px;
|
|
||||||
background-clip: padding-box;
|
|
||||||
background-color: #ffffff;
|
|
||||||
border-color: rgba(0, 0, 0, 0.2);
|
|
||||||
border-style: solid;
|
|
||||||
border-width: 1px;
|
|
||||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
||||||
overflow: hidden;
|
|
||||||
z-index: 99999;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ac_results ul {
|
|
||||||
width: 100%;
|
|
||||||
list-style-position: outside;
|
|
||||||
list-style: none;
|
|
||||||
padding: 0;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ac_results li {
|
|
||||||
margin: 0;
|
|
||||||
padding: 2px 5px;
|
|
||||||
cursor: default;
|
|
||||||
display: block;
|
|
||||||
overflow: hidden;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ac_results li strong {
|
|
||||||
color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ac_over {
|
|
||||||
background-color: #0088cc;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.ac_results li.ac_over strong {
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Right side */
|
|
||||||
#right {
|
|
||||||
overflow: auto;
|
|
||||||
margin-left: 275px;
|
|
||||||
height: 100%;
|
|
||||||
position: relative;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#rightInner {
|
|
||||||
max-width: 1000px;
|
|
||||||
min-width: 350px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navigation */
|
|
||||||
.navbar-fixed-top .container {
|
|
||||||
width: auto;
|
|
||||||
padding: 0 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar .nav > li > span {
|
|
||||||
display: block;
|
|
||||||
color: #999999;
|
|
||||||
line-height: 19px;
|
|
||||||
padding: 10px 10px 11px;
|
|
||||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
|
||||||
}
|
|
||||||
|
|
||||||
.navbar .nav > li.active > span {
|
|
||||||
background-color: #222222;
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Content */
|
|
||||||
#content {
|
|
||||||
clear: both;
|
|
||||||
padding: 5px 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content > .description {
|
|
||||||
margin: 1.2em 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content .alert-info {
|
|
||||||
margin-top: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
dl.tree {
|
|
||||||
margin: 1.2em 0;
|
|
||||||
padding: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
dl.tree dd {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
line-height: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.elementList {
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2.switchable {
|
|
||||||
background: transparent url('sort.png') no-repeat center right;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary td:first-child {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
#packages.summary td:first-child, #namespaces.summary td:first-child, .inherited.summary td:first-child, .used.summary td:first-child {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary tr:hover td {
|
|
||||||
background: #f6f6f4;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary .description p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.class #methods.summary .description p:first-child, .summary .description.detailed h4:first-child {
|
|
||||||
margin-top: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary .description p + p, .summary .description ul, .summary .description pre, .summary .description.detailed h4 {
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary dl {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary dd {
|
|
||||||
margin: 0 0 0 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.summary dt, dd {
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.name, .attributes {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.value code {
|
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
td.attributes {
|
|
||||||
width: 1%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.class .methods .name, .class .properties .name, .class .constants .name {
|
|
||||||
width: auto;
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
.class .methods .name > div > code {
|
|
||||||
white-space: pre-wrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.class .methods .name > div > code span, .function .value > code {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.class .methods td.name > div, .class td.value > div {
|
|
||||||
position: relative;
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.attributes code, .name code, dd code {
|
|
||||||
color: #468847;
|
|
||||||
}
|
|
||||||
|
|
||||||
.anchor {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
right: 0;
|
|
||||||
line-height: 1;
|
|
||||||
font-size: 85%;
|
|
||||||
margin: 0;
|
|
||||||
color: #0088cc !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list {
|
|
||||||
margin: 0 0 5px 25px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Splitter */
|
|
||||||
#splitter {
|
|
||||||
position: fixed;
|
|
||||||
height: 100%;
|
|
||||||
width: 5px;
|
|
||||||
left: 270px;
|
|
||||||
background: #0088cc url('resize.png') left center no-repeat;
|
|
||||||
cursor: e-resize;
|
|
||||||
}
|
|
||||||
|
|
||||||
#splitter.active {
|
|
||||||
opacity: .5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Footer */
|
|
||||||
#footer {
|
|
||||||
border-top: 1px solid #e5e5e5;
|
|
||||||
clear: both;
|
|
||||||
color: #808080;
|
|
||||||
text-align: right;
|
|
||||||
padding: 2em 1em;
|
|
||||||
margin: 3em 0 40px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Tree */
|
|
||||||
div.tree ul {
|
|
||||||
list-style: none;
|
|
||||||
background: url('tree-vertical.png') left repeat-y;
|
|
||||||
padding: 0;
|
|
||||||
margin-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tree li {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tree div {
|
|
||||||
padding-left: 30px;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tree div.notlast {
|
|
||||||
background: url('tree-hasnext.png') left 10px no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tree div.last {
|
|
||||||
background: url('tree-last.png') left -240px no-repeat;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tree li.last {
|
|
||||||
background: url('tree-cleaner.png') left center repeat-y;
|
|
||||||
}
|
|
||||||
|
|
||||||
div.tree span.padding {
|
|
||||||
padding-left: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Source code */
|
|
||||||
#source {
|
|
||||||
margin: 1em 0 1em 1em;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.php-keyword1 {
|
|
||||||
color: #468847;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.php-keyword2 {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.php-var {
|
|
||||||
color: #c09853;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
.php-num {
|
|
||||||
color: #006dcc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.php-quote {
|
|
||||||
color: #006dcc;
|
|
||||||
}
|
|
||||||
|
|
||||||
.php-comment {
|
|
||||||
color: #929292;
|
|
||||||
}
|
|
||||||
|
|
||||||
.xlang {
|
|
||||||
color: #468847;
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l.selected {
|
|
||||||
background: #f9f2d2;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l a {
|
|
||||||
color: #333333;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l a:hover, span.l a:active, span.l a:focus {
|
|
||||||
background: transparent;
|
|
||||||
color: #333333 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l .php-var a {
|
|
||||||
color: #c09853;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l .php-var a:hover, span.l .php-var a:active, span.l .php-var a:focus {
|
|
||||||
color: #c09853 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l a.l {
|
|
||||||
background: #fbfbfc;
|
|
||||||
margin-right: 8px;
|
|
||||||
padding: 2px 2px 2px 8px;
|
|
||||||
color: #c0c0c0;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.l a.l:hover, span.l a.l:active, span.l a.l:focus {
|
|
||||||
background: #fbfbfc;
|
|
||||||
color: #c0c0c0 !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Small screens */
|
|
||||||
#rightInner.medium .name, #rightInner.medium .attributes {
|
|
||||||
white-space: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* global style */
|
|
||||||
.left, .summary td.left {
|
|
||||||
text-align: left;
|
|
||||||
}
|
|
||||||
.right, .summary td.right {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
Before Width: | Height: | Size: 126 B |
Before Width: | Height: | Size: 128 B |
Before Width: | Height: | Size: 172 B |
Before Width: | Height: | Size: 127 B |
@ -1,718 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
|
|
||||||
<title>File RetailCrm/ApiClient.php | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.html" title="Summary of RetailCrm"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="class-RetailCrm.ApiClient.html" title="Summary of RetailCrm\ApiClient"><span>Class</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.ApiClient.html">ApiClient</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<pre id="source"><code><span id="1" class="l"><a class="l" href="#1"> 1 </a><span class="xlang"><?php</span>
|
|
||||||
</span><span id="2" class="l"><a class="l" href="#2"> 2 </a>
|
|
||||||
</span><span id="3" class="l"><a class="l" href="#3"> 3 </a><span class="php-keyword1">namespace</span> RetailCrm;
|
|
||||||
</span><span id="4" class="l"><a class="l" href="#4"> 4 </a>
|
|
||||||
</span><span id="5" class="l"><a class="l" href="#5"> 5 </a><span class="php-keyword1">use</span> RetailCrm\Http\Client;
|
|
||||||
</span><span id="6" class="l"><a class="l" href="#6"> 6 </a><span class="php-keyword1">use</span> RetailCrm\Response\ApiResponse;
|
|
||||||
</span><span id="7" class="l"><a class="l" href="#7"> 7 </a>
|
|
||||||
</span><span id="8" class="l"><a class="l" href="#8"> 8 </a><span class="php-comment">/**
|
|
||||||
</span></span><span id="9" class="l"><a class="l" href="#9"> 9 </a><span class="php-comment"> * retailCRM API client class
|
|
||||||
</span></span><span id="10" class="l"><a class="l" href="#10"> 10 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="11" class="l"><a class="l" href="#11"> 11 </a><span class="php-keyword1">class</span> <a id="ApiClient" href="#ApiClient">ApiClient</a>
|
|
||||||
</span><span id="12" class="l"><a class="l" href="#12"> 12 </a>{
|
|
||||||
</span><span id="13" class="l"><a class="l" href="#13"> 13 </a> <span class="php-keyword1">const</span> <a id="VERSION" href="#VERSION">VERSION</a> = <span class="php-quote">'v3'</span>;
|
|
||||||
</span><span id="14" class="l"><a class="l" href="#14"> 14 </a>
|
|
||||||
</span><span id="15" class="l"><a class="l" href="#15"> 15 </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$client" href="#$client">$client</a></span>;
|
|
||||||
</span><span id="16" class="l"><a class="l" href="#16"> 16 </a>
|
|
||||||
</span><span id="17" class="l"><a class="l" href="#17"> 17 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="18" class="l"><a class="l" href="#18"> 18 </a><span class="php-comment"> * Client creating
|
|
||||||
</span></span><span id="19" class="l"><a class="l" href="#19"> 19 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="20" class="l"><a class="l" href="#20"> 20 </a><span class="php-comment"> * @param string $url
|
|
||||||
</span></span><span id="21" class="l"><a class="l" href="#21"> 21 </a><span class="php-comment"> * @param string $apiKey
|
|
||||||
</span></span><span id="22" class="l"><a class="l" href="#22"> 22 </a><span class="php-comment"> * @return mixed
|
|
||||||
</span></span><span id="23" class="l"><a class="l" href="#23"> 23 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="24" class="l"><a class="l" href="#24"> 24 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>(<span class="php-var">$url</span>, <span class="php-var">$apiKey</span>)
|
|
||||||
</span><span id="25" class="l"><a class="l" href="#25"> 25 </a> {
|
|
||||||
</span><span id="26" class="l"><a class="l" href="#26"> 26 </a> <span class="php-keyword1">if</span> (<span class="php-quote">'/'</span> != <span class="php-keyword2">substr</span>(<span class="php-var">$url</span>, <span class="php-keyword2">strlen</span>(<span class="php-var">$url</span>) - <span class="php-num">1</span>, <span class="php-num">1</span>)) {
|
|
||||||
</span><span id="27" class="l"><a class="l" href="#27"> 27 </a> <span class="php-var">$url</span> .= <span class="php-quote">'/'</span>;
|
|
||||||
</span><span id="28" class="l"><a class="l" href="#28"> 28 </a> }
|
|
||||||
</span><span id="29" class="l"><a class="l" href="#29"> 29 </a>
|
|
||||||
</span><span id="30" class="l"><a class="l" href="#30"> 30 </a> <span class="php-var">$url</span> = <span class="php-var">$url</span> . <span class="php-quote">'api/'</span> . self::VERSION;
|
|
||||||
</span><span id="31" class="l"><a class="l" href="#31"> 31 </a>
|
|
||||||
</span><span id="32" class="l"><a class="l" href="#32"> 32 </a> <span class="php-var">$this</span>->client = <span class="php-keyword1">new</span> Client(<span class="php-var">$url</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'apiKey'</span> => <span class="php-var">$apiKey</span>));
|
|
||||||
</span><span id="33" class="l"><a class="l" href="#33"> 33 </a> }
|
|
||||||
</span><span id="34" class="l"><a class="l" href="#34"> 34 </a>
|
|
||||||
</span><span id="35" class="l"><a class="l" href="#35"> 35 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="36" class="l"><a class="l" href="#36"> 36 </a><span class="php-comment"> * Create a order
|
|
||||||
</span></span><span id="37" class="l"><a class="l" href="#37"> 37 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="38" class="l"><a class="l" href="#38"> 38 </a><span class="php-comment"> * @param array $order
|
|
||||||
</span></span><span id="39" class="l"><a class="l" href="#39"> 39 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="40" class="l"><a class="l" href="#40"> 40 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="41" class="l"><a class="l" href="#41"> 41 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersCreate" href="#_ordersCreate">ordersCreate</a>(<span class="php-keyword1">array</span> <span class="php-var">$order</span>)
|
|
||||||
</span><span id="42" class="l"><a class="l" href="#42"> 42 </a> {
|
|
||||||
</span><span id="43" class="l"><a class="l" href="#43"> 43 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$order</span>)) {
|
|
||||||
</span><span id="44" class="l"><a class="l" href="#44"> 44 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Parameter `order` must contains a data'</span>);
|
|
||||||
</span><span id="45" class="l"><a class="l" href="#45"> 45 </a> }
|
|
||||||
</span><span id="46" class="l"><a class="l" href="#46"> 46 </a>
|
|
||||||
</span><span id="47" class="l"><a class="l" href="#47"> 47 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/orders/create"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="48" class="l"><a class="l" href="#48"> 48 </a> <span class="php-quote">'order'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$order</span>)
|
|
||||||
</span><span id="49" class="l"><a class="l" href="#49"> 49 </a> ));
|
|
||||||
</span><span id="50" class="l"><a class="l" href="#50"> 50 </a> }
|
|
||||||
</span><span id="51" class="l"><a class="l" href="#51"> 51 </a>
|
|
||||||
</span><span id="52" class="l"><a class="l" href="#52"> 52 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="53" class="l"><a class="l" href="#53"> 53 </a><span class="php-comment"> * Edit a order
|
|
||||||
</span></span><span id="54" class="l"><a class="l" href="#54"> 54 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="55" class="l"><a class="l" href="#55"> 55 </a><span class="php-comment"> * @param array $order
|
|
||||||
</span></span><span id="56" class="l"><a class="l" href="#56"> 56 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="57" class="l"><a class="l" href="#57"> 57 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="58" class="l"><a class="l" href="#58"> 58 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersEdit" href="#_ordersEdit">ordersEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$order</span>, <span class="php-var">$by</span> = <span class="php-quote">'externalId'</span>)
|
|
||||||
</span><span id="59" class="l"><a class="l" href="#59"> 59 </a> {
|
|
||||||
</span><span id="60" class="l"><a class="l" href="#60"> 60 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$order</span>)) {
|
|
||||||
</span><span id="61" class="l"><a class="l" href="#61"> 61 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Parameter `order` must contains a data'</span>);
|
|
||||||
</span><span id="62" class="l"><a class="l" href="#62"> 62 </a> }
|
|
||||||
</span><span id="63" class="l"><a class="l" href="#63"> 63 </a>
|
|
||||||
</span><span id="64" class="l"><a class="l" href="#64"> 64 </a> <span class="php-var">$this</span>->checkIdParameter(<span class="php-var">$by</span>);
|
|
||||||
</span><span id="65" class="l"><a class="l" href="#65"> 65 </a>
|
|
||||||
</span><span id="66" class="l"><a class="l" href="#66"> 66 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$order</span>[<span class="php-var">$by</span>])) {
|
|
||||||
</span><span id="67" class="l"><a class="l" href="#67"> 67 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-keyword2">sprintf</span>(<span class="php-quote">'Order array must contain the "%s" parameter.'</span>, <span class="php-var">$by</span>));
|
|
||||||
</span><span id="68" class="l"><a class="l" href="#68"> 68 </a> }
|
|
||||||
</span><span id="69" class="l"><a class="l" href="#69"> 69 </a>
|
|
||||||
</span><span id="70" class="l"><a class="l" href="#70"> 70 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/orders/"</span> . <span class="php-var">$order</span>[<span class="php-var">$by</span>] . <span class="php-quote">"/edit"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="71" class="l"><a class="l" href="#71"> 71 </a> <span class="php-quote">'order'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$order</span>),
|
|
||||||
</span><span id="72" class="l"><a class="l" href="#72"> 72 </a> <span class="php-quote">'by'</span> => <span class="php-var">$by</span>,
|
|
||||||
</span><span id="73" class="l"><a class="l" href="#73"> 73 </a> ));
|
|
||||||
</span><span id="74" class="l"><a class="l" href="#74"> 74 </a> }
|
|
||||||
</span><span id="75" class="l"><a class="l" href="#75"> 75 </a>
|
|
||||||
</span><span id="76" class="l"><a class="l" href="#76"> 76 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="77" class="l"><a class="l" href="#77"> 77 </a><span class="php-comment"> * Upload array of the orders
|
|
||||||
</span></span><span id="78" class="l"><a class="l" href="#78"> 78 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="79" class="l"><a class="l" href="#79"> 79 </a><span class="php-comment"> * @param array $orders
|
|
||||||
</span></span><span id="80" class="l"><a class="l" href="#80"> 80 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="81" class="l"><a class="l" href="#81"> 81 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="82" class="l"><a class="l" href="#82"> 82 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersUpload" href="#_ordersUpload">ordersUpload</a>(<span class="php-keyword1">array</span> <span class="php-var">$orders</span>)
|
|
||||||
</span><span id="83" class="l"><a class="l" href="#83"> 83 </a> {
|
|
||||||
</span><span id="84" class="l"><a class="l" href="#84"> 84 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$orders</span>)) {
|
|
||||||
</span><span id="85" class="l"><a class="l" href="#85"> 85 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Parameter `orders` must contains array of the orders'</span>);
|
|
||||||
</span><span id="86" class="l"><a class="l" href="#86"> 86 </a> }
|
|
||||||
</span><span id="87" class="l"><a class="l" href="#87"> 87 </a>
|
|
||||||
</span><span id="88" class="l"><a class="l" href="#88"> 88 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/orders/upload"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="89" class="l"><a class="l" href="#89"> 89 </a> <span class="php-quote">'orders'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$orders</span>),
|
|
||||||
</span><span id="90" class="l"><a class="l" href="#90"> 90 </a> ));
|
|
||||||
</span><span id="91" class="l"><a class="l" href="#91"> 91 </a> }
|
|
||||||
</span><span id="92" class="l"><a class="l" href="#92"> 92 </a>
|
|
||||||
</span><span id="93" class="l"><a class="l" href="#93"> 93 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="94" class="l"><a class="l" href="#94"> 94 </a><span class="php-comment"> * Get order by id or externalId
|
|
||||||
</span></span><span id="95" class="l"><a class="l" href="#95"> 95 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="96" class="l"><a class="l" href="#96"> 96 </a><span class="php-comment"> * @param string $id
|
|
||||||
</span></span><span id="97" class="l"><a class="l" href="#97"> 97 </a><span class="php-comment"> * @param string $by (default: 'externalId')
|
|
||||||
</span></span><span id="98" class="l"><a class="l" href="#98"> 98 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="99" class="l"><a class="l" href="#99"> 99 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="100" class="l"><a class="l" href="#100">100 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersGet" href="#_ordersGet">ordersGet</a>(<span class="php-var">$id</span>, <span class="php-var">$by</span> = <span class="php-quote">'externalId'</span>)
|
|
||||||
</span><span id="101" class="l"><a class="l" href="#101">101 </a> {
|
|
||||||
</span><span id="102" class="l"><a class="l" href="#102">102 </a> <span class="php-var">$this</span>->checkIdParameter(<span class="php-var">$by</span>);
|
|
||||||
</span><span id="103" class="l"><a class="l" href="#103">103 </a>
|
|
||||||
</span><span id="104" class="l"><a class="l" href="#104">104 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/orders/</span><span class="php-var">$id</span><span class="php-quote">"</span>, Client::METHOD_GET, <span class="php-keyword1">array</span>(<span class="php-quote">'by'</span> => <span class="php-var">$by</span>));
|
|
||||||
</span><span id="105" class="l"><a class="l" href="#105">105 </a> }
|
|
||||||
</span><span id="106" class="l"><a class="l" href="#106">106 </a>
|
|
||||||
</span><span id="107" class="l"><a class="l" href="#107">107 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="108" class="l"><a class="l" href="#108">108 </a><span class="php-comment"> * Returns a orders history
|
|
||||||
</span></span><span id="109" class="l"><a class="l" href="#109">109 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="110" class="l"><a class="l" href="#110">110 </a><span class="php-comment"> * @param \DateTime $startDate (default: null)
|
|
||||||
</span></span><span id="111" class="l"><a class="l" href="#111">111 </a><span class="php-comment"> * @param \DateTime $endDate (default: null)
|
|
||||||
</span></span><span id="112" class="l"><a class="l" href="#112">112 </a><span class="php-comment"> * @param int $limit (default: 100)
|
|
||||||
</span></span><span id="113" class="l"><a class="l" href="#113">113 </a><span class="php-comment"> * @param int $offset (default: 0)
|
|
||||||
</span></span><span id="114" class="l"><a class="l" href="#114">114 </a><span class="php-comment"> * @param bool $skipMyChanges (default: true)
|
|
||||||
</span></span><span id="115" class="l"><a class="l" href="#115">115 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="116" class="l"><a class="l" href="#116">116 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="117" class="l"><a class="l" href="#117">117 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersHistory" href="#_ordersHistory">ordersHistory</a>(
|
|
||||||
</span><span id="118" class="l"><a class="l" href="#118">118 </a> \DateTime <span class="php-var">$startDate</span> = <span class="php-keyword1">null</span>,
|
|
||||||
</span><span id="119" class="l"><a class="l" href="#119">119 </a> \DateTime <span class="php-var">$endDate</span> = <span class="php-keyword1">null</span>,
|
|
||||||
</span><span id="120" class="l"><a class="l" href="#120">120 </a> <span class="php-var">$limit</span> = <span class="php-num">100</span>,
|
|
||||||
</span><span id="121" class="l"><a class="l" href="#121">121 </a> <span class="php-var">$offset</span> = <span class="php-num">0</span>,
|
|
||||||
</span><span id="122" class="l"><a class="l" href="#122">122 </a> <span class="php-var">$skipMyChanges</span> = <span class="php-keyword1">true</span>
|
|
||||||
</span><span id="123" class="l"><a class="l" href="#123">123 </a> ) {
|
|
||||||
</span><span id="124" class="l"><a class="l" href="#124">124 </a> <span class="php-var">$parameters</span> = <span class="php-keyword1">array</span>();
|
|
||||||
</span><span id="125" class="l"><a class="l" href="#125">125 </a>
|
|
||||||
</span><span id="126" class="l"><a class="l" href="#126">126 </a> <span class="php-keyword1">if</span> (<span class="php-var">$startDate</span>) {
|
|
||||||
</span><span id="127" class="l"><a class="l" href="#127">127 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'startDate'</span>] = <span class="php-var">$startDate</span>->format(<span class="php-quote">'Y-m-d H:i:s'</span>);
|
|
||||||
</span><span id="128" class="l"><a class="l" href="#128">128 </a> }
|
|
||||||
</span><span id="129" class="l"><a class="l" href="#129">129 </a> <span class="php-keyword1">if</span> (<span class="php-var">$endDate</span>) {
|
|
||||||
</span><span id="130" class="l"><a class="l" href="#130">130 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'endDate'</span>] = <span class="php-var">$endDate</span>->format(<span class="php-quote">'Y-m-d H:i:s'</span>);
|
|
||||||
</span><span id="131" class="l"><a class="l" href="#131">131 </a> }
|
|
||||||
</span><span id="132" class="l"><a class="l" href="#132">132 </a> <span class="php-keyword1">if</span> (<span class="php-var">$limit</span>) {
|
|
||||||
</span><span id="133" class="l"><a class="l" href="#133">133 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'limit'</span>] = (int) <span class="php-var">$limit</span>;
|
|
||||||
</span><span id="134" class="l"><a class="l" href="#134">134 </a> }
|
|
||||||
</span><span id="135" class="l"><a class="l" href="#135">135 </a> <span class="php-keyword1">if</span> (<span class="php-var">$offset</span>) {
|
|
||||||
</span><span id="136" class="l"><a class="l" href="#136">136 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'offset'</span>] = (int) <span class="php-var">$offset</span>;
|
|
||||||
</span><span id="137" class="l"><a class="l" href="#137">137 </a> }
|
|
||||||
</span><span id="138" class="l"><a class="l" href="#138">138 </a> <span class="php-keyword1">if</span> (<span class="php-var">$skipMyChanges</span>) {
|
|
||||||
</span><span id="139" class="l"><a class="l" href="#139">139 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'skipMyChanges'</span>] = (bool) <span class="php-var">$skipMyChanges</span>;
|
|
||||||
</span><span id="140" class="l"><a class="l" href="#140">140 </a> }
|
|
||||||
</span><span id="141" class="l"><a class="l" href="#141">141 </a>
|
|
||||||
</span><span id="142" class="l"><a class="l" href="#142">142 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/orders/history'</span>, Client::METHOD_GET, <span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="143" class="l"><a class="l" href="#143">143 </a> }
|
|
||||||
</span><span id="144" class="l"><a class="l" href="#144">144 </a>
|
|
||||||
</span><span id="145" class="l"><a class="l" href="#145">145 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="146" class="l"><a class="l" href="#146">146 </a><span class="php-comment"> * Returns filtered orders list
|
|
||||||
</span></span><span id="147" class="l"><a class="l" href="#147">147 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="148" class="l"><a class="l" href="#148">148 </a><span class="php-comment"> * @param array $filter (default: array())
|
|
||||||
</span></span><span id="149" class="l"><a class="l" href="#149">149 </a><span class="php-comment"> * @param int $page (default: null)
|
|
||||||
</span></span><span id="150" class="l"><a class="l" href="#150">150 </a><span class="php-comment"> * @param int $limit (default: null)
|
|
||||||
</span></span><span id="151" class="l"><a class="l" href="#151">151 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="152" class="l"><a class="l" href="#152">152 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="153" class="l"><a class="l" href="#153">153 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersList" href="#_ordersList">ordersList</a>(<span class="php-keyword1">array</span> <span class="php-var">$filter</span> = <span class="php-keyword1">array</span>(), <span class="php-var">$page</span> = <span class="php-keyword1">null</span>, <span class="php-var">$limit</span> = <span class="php-keyword1">null</span>)
|
|
||||||
</span><span id="154" class="l"><a class="l" href="#154">154 </a> {
|
|
||||||
</span><span id="155" class="l"><a class="l" href="#155">155 </a> <span class="php-var">$parameters</span> = <span class="php-keyword1">array</span>();
|
|
||||||
</span><span id="156" class="l"><a class="l" href="#156">156 </a>
|
|
||||||
</span><span id="157" class="l"><a class="l" href="#157">157 </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">sizeof</span>(<span class="php-var">$filter</span>)) {
|
|
||||||
</span><span id="158" class="l"><a class="l" href="#158">158 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'filter'</span>] = <span class="php-var">$filter</span>;
|
|
||||||
</span><span id="159" class="l"><a class="l" href="#159">159 </a> }
|
|
||||||
</span><span id="160" class="l"><a class="l" href="#160">160 </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">null</span> !== <span class="php-var">$page</span>) {
|
|
||||||
</span><span id="161" class="l"><a class="l" href="#161">161 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'page'</span>] = (int) <span class="php-var">$page</span>;
|
|
||||||
</span><span id="162" class="l"><a class="l" href="#162">162 </a> }
|
|
||||||
</span><span id="163" class="l"><a class="l" href="#163">163 </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">null</span> !== <span class="php-var">$limit</span>) {
|
|
||||||
</span><span id="164" class="l"><a class="l" href="#164">164 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'limit'</span>] = (int) <span class="php-var">$limit</span>;
|
|
||||||
</span><span id="165" class="l"><a class="l" href="#165">165 </a> }
|
|
||||||
</span><span id="166" class="l"><a class="l" href="#166">166 </a>
|
|
||||||
</span><span id="167" class="l"><a class="l" href="#167">167 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/orders'</span>, Client::METHOD_GET, <span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="168" class="l"><a class="l" href="#168">168 </a> }
|
|
||||||
</span><span id="169" class="l"><a class="l" href="#169">169 </a>
|
|
||||||
</span><span id="170" class="l"><a class="l" href="#170">170 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="171" class="l"><a class="l" href="#171">171 </a><span class="php-comment"> * Returns statuses of the orders
|
|
||||||
</span></span><span id="172" class="l"><a class="l" href="#172">172 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="173" class="l"><a class="l" href="#173">173 </a><span class="php-comment"> * @param array $ids (default: array())
|
|
||||||
</span></span><span id="174" class="l"><a class="l" href="#174">174 </a><span class="php-comment"> * @param array $externalIds (default: array())
|
|
||||||
</span></span><span id="175" class="l"><a class="l" href="#175">175 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="176" class="l"><a class="l" href="#176">176 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="177" class="l"><a class="l" href="#177">177 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersStatuses" href="#_ordersStatuses">ordersStatuses</a>(<span class="php-keyword1">array</span> <span class="php-var">$ids</span> = <span class="php-keyword1">array</span>(), <span class="php-keyword1">array</span> <span class="php-var">$externalIds</span> = <span class="php-keyword1">array</span>())
|
|
||||||
</span><span id="178" class="l"><a class="l" href="#178">178 </a> {
|
|
||||||
</span><span id="179" class="l"><a class="l" href="#179">179 </a> <span class="php-var">$parameters</span> = <span class="php-keyword1">array</span>();
|
|
||||||
</span><span id="180" class="l"><a class="l" href="#180">180 </a>
|
|
||||||
</span><span id="181" class="l"><a class="l" href="#181">181 </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">sizeof</span>(<span class="php-var">$ids</span>)) {
|
|
||||||
</span><span id="182" class="l"><a class="l" href="#182">182 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'ids'</span>] = <span class="php-var">$ids</span>;
|
|
||||||
</span><span id="183" class="l"><a class="l" href="#183">183 </a> }
|
|
||||||
</span><span id="184" class="l"><a class="l" href="#184">184 </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">sizeof</span>(<span class="php-var">$externalIds</span>)) {
|
|
||||||
</span><span id="185" class="l"><a class="l" href="#185">185 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'externalIds'</span>] = <span class="php-var">$externalIds</span>;
|
|
||||||
</span><span id="186" class="l"><a class="l" href="#186">186 </a> }
|
|
||||||
</span><span id="187" class="l"><a class="l" href="#187">187 </a>
|
|
||||||
</span><span id="188" class="l"><a class="l" href="#188">188 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/orders/statuses'</span>, Client::METHOD_GET, <span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="189" class="l"><a class="l" href="#189">189 </a> }
|
|
||||||
</span><span id="190" class="l"><a class="l" href="#190">190 </a>
|
|
||||||
</span><span id="191" class="l"><a class="l" href="#191">191 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="192" class="l"><a class="l" href="#192">192 </a><span class="php-comment"> * Save order IDs' (id and externalId) association in the CRM
|
|
||||||
</span></span><span id="193" class="l"><a class="l" href="#193">193 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="194" class="l"><a class="l" href="#194">194 </a><span class="php-comment"> * @param array $ids
|
|
||||||
</span></span><span id="195" class="l"><a class="l" href="#195">195 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="196" class="l"><a class="l" href="#196">196 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="197" class="l"><a class="l" href="#197">197 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_ordersFixExternalIds" href="#_ordersFixExternalIds">ordersFixExternalIds</a>(<span class="php-keyword1">array</span> <span class="php-var">$ids</span>)
|
|
||||||
</span><span id="198" class="l"><a class="l" href="#198">198 </a> {
|
|
||||||
</span><span id="199" class="l"><a class="l" href="#199">199 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$ids</span>)) {
|
|
||||||
</span><span id="200" class="l"><a class="l" href="#200">200 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Method parameter must contains at least one IDs pair'</span>);
|
|
||||||
</span><span id="201" class="l"><a class="l" href="#201">201 </a> }
|
|
||||||
</span><span id="202" class="l"><a class="l" href="#202">202 </a>
|
|
||||||
</span><span id="203" class="l"><a class="l" href="#203">203 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/orders/fix-external-ids"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="204" class="l"><a class="l" href="#204">204 </a> <span class="php-quote">'orders'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$ids</span>),
|
|
||||||
</span><span id="205" class="l"><a class="l" href="#205">205 </a> ));
|
|
||||||
</span><span id="206" class="l"><a class="l" href="#206">206 </a> }
|
|
||||||
</span><span id="207" class="l"><a class="l" href="#207">207 </a>
|
|
||||||
</span><span id="208" class="l"><a class="l" href="#208">208 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="209" class="l"><a class="l" href="#209">209 </a><span class="php-comment"> * Create a customer
|
|
||||||
</span></span><span id="210" class="l"><a class="l" href="#210">210 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="211" class="l"><a class="l" href="#211">211 </a><span class="php-comment"> * @param array $customer
|
|
||||||
</span></span><span id="212" class="l"><a class="l" href="#212">212 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="213" class="l"><a class="l" href="#213">213 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="214" class="l"><a class="l" href="#214">214 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_customersCreate" href="#_customersCreate">customersCreate</a>(<span class="php-keyword1">array</span> <span class="php-var">$customer</span>)
|
|
||||||
</span><span id="215" class="l"><a class="l" href="#215">215 </a> {
|
|
||||||
</span><span id="216" class="l"><a class="l" href="#216">216 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$customer</span>)) {
|
|
||||||
</span><span id="217" class="l"><a class="l" href="#217">217 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Parameter `customer` must contains a data'</span>);
|
|
||||||
</span><span id="218" class="l"><a class="l" href="#218">218 </a> }
|
|
||||||
</span><span id="219" class="l"><a class="l" href="#219">219 </a>
|
|
||||||
</span><span id="220" class="l"><a class="l" href="#220">220 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/customers/create"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="221" class="l"><a class="l" href="#221">221 </a> <span class="php-quote">'customer'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$customer</span>)
|
|
||||||
</span><span id="222" class="l"><a class="l" href="#222">222 </a> ));
|
|
||||||
</span><span id="223" class="l"><a class="l" href="#223">223 </a> }
|
|
||||||
</span><span id="224" class="l"><a class="l" href="#224">224 </a>
|
|
||||||
</span><span id="225" class="l"><a class="l" href="#225">225 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="226" class="l"><a class="l" href="#226">226 </a><span class="php-comment"> * Edit a customer
|
|
||||||
</span></span><span id="227" class="l"><a class="l" href="#227">227 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="228" class="l"><a class="l" href="#228">228 </a><span class="php-comment"> * @param array $customer
|
|
||||||
</span></span><span id="229" class="l"><a class="l" href="#229">229 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="230" class="l"><a class="l" href="#230">230 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="231" class="l"><a class="l" href="#231">231 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_customersEdit" href="#_customersEdit">customersEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$customer</span>, <span class="php-var">$by</span> = <span class="php-quote">'externalId'</span>)
|
|
||||||
</span><span id="232" class="l"><a class="l" href="#232">232 </a> {
|
|
||||||
</span><span id="233" class="l"><a class="l" href="#233">233 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$customer</span>)) {
|
|
||||||
</span><span id="234" class="l"><a class="l" href="#234">234 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Parameter `customer` must contains a data'</span>);
|
|
||||||
</span><span id="235" class="l"><a class="l" href="#235">235 </a> }
|
|
||||||
</span><span id="236" class="l"><a class="l" href="#236">236 </a>
|
|
||||||
</span><span id="237" class="l"><a class="l" href="#237">237 </a> <span class="php-var">$this</span>->checkIdParameter(<span class="php-var">$by</span>);
|
|
||||||
</span><span id="238" class="l"><a class="l" href="#238">238 </a>
|
|
||||||
</span><span id="239" class="l"><a class="l" href="#239">239 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$customer</span>[<span class="php-var">$by</span>])) {
|
|
||||||
</span><span id="240" class="l"><a class="l" href="#240">240 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-keyword2">sprintf</span>(<span class="php-quote">'Customer array must contain the "%s" parameter.'</span>, <span class="php-var">$by</span>));
|
|
||||||
</span><span id="241" class="l"><a class="l" href="#241">241 </a> }
|
|
||||||
</span><span id="242" class="l"><a class="l" href="#242">242 </a>
|
|
||||||
</span><span id="243" class="l"><a class="l" href="#243">243 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/customers/"</span> . <span class="php-var">$customer</span>[<span class="php-var">$by</span>] . <span class="php-quote">"/edit"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="244" class="l"><a class="l" href="#244">244 </a> <span class="php-quote">'customer'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$customer</span>),
|
|
||||||
</span><span id="245" class="l"><a class="l" href="#245">245 </a> <span class="php-quote">'by'</span> => <span class="php-var">$by</span>,
|
|
||||||
</span><span id="246" class="l"><a class="l" href="#246">246 </a> ));
|
|
||||||
</span><span id="247" class="l"><a class="l" href="#247">247 </a> }
|
|
||||||
</span><span id="248" class="l"><a class="l" href="#248">248 </a>
|
|
||||||
</span><span id="249" class="l"><a class="l" href="#249">249 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="250" class="l"><a class="l" href="#250">250 </a><span class="php-comment"> * Upload array of the customers
|
|
||||||
</span></span><span id="251" class="l"><a class="l" href="#251">251 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="252" class="l"><a class="l" href="#252">252 </a><span class="php-comment"> * @param array $customers
|
|
||||||
</span></span><span id="253" class="l"><a class="l" href="#253">253 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="254" class="l"><a class="l" href="#254">254 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="255" class="l"><a class="l" href="#255">255 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_customersUpload" href="#_customersUpload">customersUpload</a>(<span class="php-keyword1">array</span> <span class="php-var">$customers</span>)
|
|
||||||
</span><span id="256" class="l"><a class="l" href="#256">256 </a> {
|
|
||||||
</span><span id="257" class="l"><a class="l" href="#257">257 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$customers</span>)) {
|
|
||||||
</span><span id="258" class="l"><a class="l" href="#258">258 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Parameter `customers` must contains array of the customers'</span>);
|
|
||||||
</span><span id="259" class="l"><a class="l" href="#259">259 </a> }
|
|
||||||
</span><span id="260" class="l"><a class="l" href="#260">260 </a>
|
|
||||||
</span><span id="261" class="l"><a class="l" href="#261">261 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/customers/upload"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="262" class="l"><a class="l" href="#262">262 </a> <span class="php-quote">'customers'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$customers</span>),
|
|
||||||
</span><span id="263" class="l"><a class="l" href="#263">263 </a> ));
|
|
||||||
</span><span id="264" class="l"><a class="l" href="#264">264 </a> }
|
|
||||||
</span><span id="265" class="l"><a class="l" href="#265">265 </a>
|
|
||||||
</span><span id="266" class="l"><a class="l" href="#266">266 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="267" class="l"><a class="l" href="#267">267 </a><span class="php-comment"> * Get customer by id or externalId
|
|
||||||
</span></span><span id="268" class="l"><a class="l" href="#268">268 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="269" class="l"><a class="l" href="#269">269 </a><span class="php-comment"> * @param string $id
|
|
||||||
</span></span><span id="270" class="l"><a class="l" href="#270">270 </a><span class="php-comment"> * @param string $by (default: 'externalId')
|
|
||||||
</span></span><span id="271" class="l"><a class="l" href="#271">271 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="272" class="l"><a class="l" href="#272">272 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="273" class="l"><a class="l" href="#273">273 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_customersGet" href="#_customersGet">customersGet</a>(<span class="php-var">$id</span>, <span class="php-var">$by</span> = <span class="php-quote">'externalId'</span>)
|
|
||||||
</span><span id="274" class="l"><a class="l" href="#274">274 </a> {
|
|
||||||
</span><span id="275" class="l"><a class="l" href="#275">275 </a> <span class="php-var">$this</span>->checkIdParameter(<span class="php-var">$by</span>);
|
|
||||||
</span><span id="276" class="l"><a class="l" href="#276">276 </a>
|
|
||||||
</span><span id="277" class="l"><a class="l" href="#277">277 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/customers/</span><span class="php-var">$id</span><span class="php-quote">"</span>, Client::METHOD_GET, <span class="php-keyword1">array</span>(<span class="php-quote">'by'</span> => <span class="php-var">$by</span>));
|
|
||||||
</span><span id="278" class="l"><a class="l" href="#278">278 </a> }
|
|
||||||
</span><span id="279" class="l"><a class="l" href="#279">279 </a>
|
|
||||||
</span><span id="280" class="l"><a class="l" href="#280">280 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="281" class="l"><a class="l" href="#281">281 </a><span class="php-comment"> * Returns filtered customers list
|
|
||||||
</span></span><span id="282" class="l"><a class="l" href="#282">282 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="283" class="l"><a class="l" href="#283">283 </a><span class="php-comment"> * @param array $filter (default: array())
|
|
||||||
</span></span><span id="284" class="l"><a class="l" href="#284">284 </a><span class="php-comment"> * @param int $page (default: null)
|
|
||||||
</span></span><span id="285" class="l"><a class="l" href="#285">285 </a><span class="php-comment"> * @param int $limit (default: null)
|
|
||||||
</span></span><span id="286" class="l"><a class="l" href="#286">286 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="287" class="l"><a class="l" href="#287">287 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="288" class="l"><a class="l" href="#288">288 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_customersList" href="#_customersList">customersList</a>(<span class="php-keyword1">array</span> <span class="php-var">$filter</span> = <span class="php-keyword1">array</span>(), <span class="php-var">$page</span> = <span class="php-keyword1">null</span>, <span class="php-var">$limit</span> = <span class="php-keyword1">null</span>)
|
|
||||||
</span><span id="289" class="l"><a class="l" href="#289">289 </a> {
|
|
||||||
</span><span id="290" class="l"><a class="l" href="#290">290 </a> <span class="php-var">$parameters</span> = <span class="php-keyword1">array</span>();
|
|
||||||
</span><span id="291" class="l"><a class="l" href="#291">291 </a>
|
|
||||||
</span><span id="292" class="l"><a class="l" href="#292">292 </a> <span class="php-keyword1">if</span> (<span class="php-keyword2">sizeof</span>(<span class="php-var">$filter</span>)) {
|
|
||||||
</span><span id="293" class="l"><a class="l" href="#293">293 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'filter'</span>] = <span class="php-var">$filter</span>;
|
|
||||||
</span><span id="294" class="l"><a class="l" href="#294">294 </a> }
|
|
||||||
</span><span id="295" class="l"><a class="l" href="#295">295 </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">null</span> !== <span class="php-var">$page</span>) {
|
|
||||||
</span><span id="296" class="l"><a class="l" href="#296">296 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'page'</span>] = (int) <span class="php-var">$page</span>;
|
|
||||||
</span><span id="297" class="l"><a class="l" href="#297">297 </a> }
|
|
||||||
</span><span id="298" class="l"><a class="l" href="#298">298 </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">null</span> !== <span class="php-var">$limit</span>) {
|
|
||||||
</span><span id="299" class="l"><a class="l" href="#299">299 </a> <span class="php-var">$parameters</span>[<span class="php-quote">'limit'</span>] = (int) <span class="php-var">$limit</span>;
|
|
||||||
</span><span id="300" class="l"><a class="l" href="#300">300 </a> }
|
|
||||||
</span><span id="301" class="l"><a class="l" href="#301">301 </a>
|
|
||||||
</span><span id="302" class="l"><a class="l" href="#302">302 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/customers'</span>, Client::METHOD_GET, <span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="303" class="l"><a class="l" href="#303">303 </a> }
|
|
||||||
</span><span id="304" class="l"><a class="l" href="#304">304 </a>
|
|
||||||
</span><span id="305" class="l"><a class="l" href="#305">305 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="306" class="l"><a class="l" href="#306">306 </a><span class="php-comment"> * Save customer IDs' (id and externalId) association in the CRM
|
|
||||||
</span></span><span id="307" class="l"><a class="l" href="#307">307 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="308" class="l"><a class="l" href="#308">308 </a><span class="php-comment"> * @param array $ids
|
|
||||||
</span></span><span id="309" class="l"><a class="l" href="#309">309 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="310" class="l"><a class="l" href="#310">310 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="311" class="l"><a class="l" href="#311">311 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_customersFixExternalIds" href="#_customersFixExternalIds">customersFixExternalIds</a>(<span class="php-keyword1">array</span> <span class="php-var">$ids</span>)
|
|
||||||
</span><span id="312" class="l"><a class="l" href="#312">312 </a> {
|
|
||||||
</span><span id="313" class="l"><a class="l" href="#313">313 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">sizeof</span>(<span class="php-var">$ids</span>)) {
|
|
||||||
</span><span id="314" class="l"><a class="l" href="#314">314 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Method parameter must contains at least one IDs pair'</span>);
|
|
||||||
</span><span id="315" class="l"><a class="l" href="#315">315 </a> }
|
|
||||||
</span><span id="316" class="l"><a class="l" href="#316">316 </a>
|
|
||||||
</span><span id="317" class="l"><a class="l" href="#317">317 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">"/customers/fix-external-ids"</span>, Client::METHOD_POST, <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="318" class="l"><a class="l" href="#318">318 </a> <span class="php-quote">'customers'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$ids</span>),
|
|
||||||
</span><span id="319" class="l"><a class="l" href="#319">319 </a> ));
|
|
||||||
</span><span id="320" class="l"><a class="l" href="#320">320 </a> }
|
|
||||||
</span><span id="321" class="l"><a class="l" href="#321">321 </a>
|
|
||||||
</span><span id="322" class="l"><a class="l" href="#322">322 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="323" class="l"><a class="l" href="#323">323 </a><span class="php-comment"> * Returns deliveryServices list
|
|
||||||
</span></span><span id="324" class="l"><a class="l" href="#324">324 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="325" class="l"><a class="l" href="#325">325 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="326" class="l"><a class="l" href="#326">326 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="327" class="l"><a class="l" href="#327">327 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_deliveryServicesList" href="#_deliveryServicesList">deliveryServicesList</a>()
|
|
||||||
</span><span id="328" class="l"><a class="l" href="#328">328 </a> {
|
|
||||||
</span><span id="329" class="l"><a class="l" href="#329">329 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/delivery-services'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="330" class="l"><a class="l" href="#330">330 </a> }
|
|
||||||
</span><span id="331" class="l"><a class="l" href="#331">331 </a>
|
|
||||||
</span><span id="332" class="l"><a class="l" href="#332">332 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="333" class="l"><a class="l" href="#333">333 </a><span class="php-comment"> * Returns deliveryTypes list
|
|
||||||
</span></span><span id="334" class="l"><a class="l" href="#334">334 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="335" class="l"><a class="l" href="#335">335 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="336" class="l"><a class="l" href="#336">336 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="337" class="l"><a class="l" href="#337">337 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_deliveryTypesList" href="#_deliveryTypesList">deliveryTypesList</a>()
|
|
||||||
</span><span id="338" class="l"><a class="l" href="#338">338 </a> {
|
|
||||||
</span><span id="339" class="l"><a class="l" href="#339">339 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/delivery-types'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="340" class="l"><a class="l" href="#340">340 </a> }
|
|
||||||
</span><span id="341" class="l"><a class="l" href="#341">341 </a>
|
|
||||||
</span><span id="342" class="l"><a class="l" href="#342">342 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="343" class="l"><a class="l" href="#343">343 </a><span class="php-comment"> * Returns orderMethods list
|
|
||||||
</span></span><span id="344" class="l"><a class="l" href="#344">344 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="345" class="l"><a class="l" href="#345">345 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="346" class="l"><a class="l" href="#346">346 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="347" class="l"><a class="l" href="#347">347 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_orderMethodsList" href="#_orderMethodsList">orderMethodsList</a>()
|
|
||||||
</span><span id="348" class="l"><a class="l" href="#348">348 </a> {
|
|
||||||
</span><span id="349" class="l"><a class="l" href="#349">349 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/order-methods'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="350" class="l"><a class="l" href="#350">350 </a> }
|
|
||||||
</span><span id="351" class="l"><a class="l" href="#351">351 </a>
|
|
||||||
</span><span id="352" class="l"><a class="l" href="#352">352 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="353" class="l"><a class="l" href="#353">353 </a><span class="php-comment"> * Returns orderTypes list
|
|
||||||
</span></span><span id="354" class="l"><a class="l" href="#354">354 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="355" class="l"><a class="l" href="#355">355 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="356" class="l"><a class="l" href="#356">356 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="357" class="l"><a class="l" href="#357">357 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_orderTypesList" href="#_orderTypesList">orderTypesList</a>()
|
|
||||||
</span><span id="358" class="l"><a class="l" href="#358">358 </a> {
|
|
||||||
</span><span id="359" class="l"><a class="l" href="#359">359 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/order-types'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="360" class="l"><a class="l" href="#360">360 </a> }
|
|
||||||
</span><span id="361" class="l"><a class="l" href="#361">361 </a>
|
|
||||||
</span><span id="362" class="l"><a class="l" href="#362">362 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="363" class="l"><a class="l" href="#363">363 </a><span class="php-comment"> * Returns paymentStatuses list
|
|
||||||
</span></span><span id="364" class="l"><a class="l" href="#364">364 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="365" class="l"><a class="l" href="#365">365 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="366" class="l"><a class="l" href="#366">366 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="367" class="l"><a class="l" href="#367">367 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_paymentStatusesList" href="#_paymentStatusesList">paymentStatusesList</a>()
|
|
||||||
</span><span id="368" class="l"><a class="l" href="#368">368 </a> {
|
|
||||||
</span><span id="369" class="l"><a class="l" href="#369">369 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/payment-statuses'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="370" class="l"><a class="l" href="#370">370 </a> }
|
|
||||||
</span><span id="371" class="l"><a class="l" href="#371">371 </a>
|
|
||||||
</span><span id="372" class="l"><a class="l" href="#372">372 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="373" class="l"><a class="l" href="#373">373 </a><span class="php-comment"> * Returns paymentTypes list
|
|
||||||
</span></span><span id="374" class="l"><a class="l" href="#374">374 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="375" class="l"><a class="l" href="#375">375 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="376" class="l"><a class="l" href="#376">376 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="377" class="l"><a class="l" href="#377">377 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_paymentTypesList" href="#_paymentTypesList">paymentTypesList</a>()
|
|
||||||
</span><span id="378" class="l"><a class="l" href="#378">378 </a> {
|
|
||||||
</span><span id="379" class="l"><a class="l" href="#379">379 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/payment-types'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="380" class="l"><a class="l" href="#380">380 </a> }
|
|
||||||
</span><span id="381" class="l"><a class="l" href="#381">381 </a>
|
|
||||||
</span><span id="382" class="l"><a class="l" href="#382">382 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="383" class="l"><a class="l" href="#383">383 </a><span class="php-comment"> * Returns productStatuses list
|
|
||||||
</span></span><span id="384" class="l"><a class="l" href="#384">384 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="385" class="l"><a class="l" href="#385">385 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="386" class="l"><a class="l" href="#386">386 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="387" class="l"><a class="l" href="#387">387 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_productStatusesList" href="#_productStatusesList">productStatusesList</a>()
|
|
||||||
</span><span id="388" class="l"><a class="l" href="#388">388 </a> {
|
|
||||||
</span><span id="389" class="l"><a class="l" href="#389">389 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/product-statuses'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="390" class="l"><a class="l" href="#390">390 </a> }
|
|
||||||
</span><span id="391" class="l"><a class="l" href="#391">391 </a>
|
|
||||||
</span><span id="392" class="l"><a class="l" href="#392">392 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="393" class="l"><a class="l" href="#393">393 </a><span class="php-comment"> * Returns statusGroups list
|
|
||||||
</span></span><span id="394" class="l"><a class="l" href="#394">394 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="395" class="l"><a class="l" href="#395">395 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="396" class="l"><a class="l" href="#396">396 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="397" class="l"><a class="l" href="#397">397 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_statusGroupsList" href="#_statusGroupsList">statusGroupsList</a>()
|
|
||||||
</span><span id="398" class="l"><a class="l" href="#398">398 </a> {
|
|
||||||
</span><span id="399" class="l"><a class="l" href="#399">399 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/status-groups'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="400" class="l"><a class="l" href="#400">400 </a> }
|
|
||||||
</span><span id="401" class="l"><a class="l" href="#401">401 </a>
|
|
||||||
</span><span id="402" class="l"><a class="l" href="#402">402 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="403" class="l"><a class="l" href="#403">403 </a><span class="php-comment"> * Returns statuses list
|
|
||||||
</span></span><span id="404" class="l"><a class="l" href="#404">404 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="405" class="l"><a class="l" href="#405">405 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="406" class="l"><a class="l" href="#406">406 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="407" class="l"><a class="l" href="#407">407 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_statusesList" href="#_statusesList">statusesList</a>()
|
|
||||||
</span><span id="408" class="l"><a class="l" href="#408">408 </a> {
|
|
||||||
</span><span id="409" class="l"><a class="l" href="#409">409 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/reference/statuses'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="410" class="l"><a class="l" href="#410">410 </a> }
|
|
||||||
</span><span id="411" class="l"><a class="l" href="#411">411 </a>
|
|
||||||
</span><span id="412" class="l"><a class="l" href="#412">412 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="413" class="l"><a class="l" href="#413">413 </a><span class="php-comment"> * Edit deliveryService
|
|
||||||
</span></span><span id="414" class="l"><a class="l" href="#414">414 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="415" class="l"><a class="l" href="#415">415 </a><span class="php-comment"> * @param array $data delivery service data
|
|
||||||
</span></span><span id="416" class="l"><a class="l" href="#416">416 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="417" class="l"><a class="l" href="#417">417 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="418" class="l"><a class="l" href="#418">418 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_deliveryServicesEdit" href="#_deliveryServicesEdit">deliveryServicesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="419" class="l"><a class="l" href="#419">419 </a> {
|
|
||||||
</span><span id="420" class="l"><a class="l" href="#420">420 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="421" class="l"><a class="l" href="#421">421 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="422" class="l"><a class="l" href="#422">422 </a> }
|
|
||||||
</span><span id="423" class="l"><a class="l" href="#423">423 </a>
|
|
||||||
</span><span id="424" class="l"><a class="l" href="#424">424 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="425" class="l"><a class="l" href="#425">425 </a> <span class="php-quote">'/reference/delivery-services/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="426" class="l"><a class="l" href="#426">426 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="427" class="l"><a class="l" href="#427">427 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="428" class="l"><a class="l" href="#428">428 </a> <span class="php-quote">'deliveryService'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="429" class="l"><a class="l" href="#429">429 </a> )
|
|
||||||
</span><span id="430" class="l"><a class="l" href="#430">430 </a> );
|
|
||||||
</span><span id="431" class="l"><a class="l" href="#431">431 </a> }
|
|
||||||
</span><span id="432" class="l"><a class="l" href="#432">432 </a>
|
|
||||||
</span><span id="433" class="l"><a class="l" href="#433">433 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="434" class="l"><a class="l" href="#434">434 </a><span class="php-comment"> * Edit deliveryType
|
|
||||||
</span></span><span id="435" class="l"><a class="l" href="#435">435 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="436" class="l"><a class="l" href="#436">436 </a><span class="php-comment"> * @param array $data delivery type data
|
|
||||||
</span></span><span id="437" class="l"><a class="l" href="#437">437 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="438" class="l"><a class="l" href="#438">438 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="439" class="l"><a class="l" href="#439">439 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_deliveryTypesEdit" href="#_deliveryTypesEdit">deliveryTypesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="440" class="l"><a class="l" href="#440">440 </a> {
|
|
||||||
</span><span id="441" class="l"><a class="l" href="#441">441 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="442" class="l"><a class="l" href="#442">442 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="443" class="l"><a class="l" href="#443">443 </a> }
|
|
||||||
</span><span id="444" class="l"><a class="l" href="#444">444 </a>
|
|
||||||
</span><span id="445" class="l"><a class="l" href="#445">445 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="446" class="l"><a class="l" href="#446">446 </a> <span class="php-quote">'/reference/delivery-types/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="447" class="l"><a class="l" href="#447">447 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="448" class="l"><a class="l" href="#448">448 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="449" class="l"><a class="l" href="#449">449 </a> <span class="php-quote">'deliveryType'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="450" class="l"><a class="l" href="#450">450 </a> )
|
|
||||||
</span><span id="451" class="l"><a class="l" href="#451">451 </a> );
|
|
||||||
</span><span id="452" class="l"><a class="l" href="#452">452 </a> }
|
|
||||||
</span><span id="453" class="l"><a class="l" href="#453">453 </a>
|
|
||||||
</span><span id="454" class="l"><a class="l" href="#454">454 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="455" class="l"><a class="l" href="#455">455 </a><span class="php-comment"> * Edit orderMethod
|
|
||||||
</span></span><span id="456" class="l"><a class="l" href="#456">456 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="457" class="l"><a class="l" href="#457">457 </a><span class="php-comment"> * @param array $data order method data
|
|
||||||
</span></span><span id="458" class="l"><a class="l" href="#458">458 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="459" class="l"><a class="l" href="#459">459 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="460" class="l"><a class="l" href="#460">460 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_orderMethodsEdit" href="#_orderMethodsEdit">orderMethodsEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="461" class="l"><a class="l" href="#461">461 </a> {
|
|
||||||
</span><span id="462" class="l"><a class="l" href="#462">462 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="463" class="l"><a class="l" href="#463">463 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="464" class="l"><a class="l" href="#464">464 </a> }
|
|
||||||
</span><span id="465" class="l"><a class="l" href="#465">465 </a>
|
|
||||||
</span><span id="466" class="l"><a class="l" href="#466">466 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="467" class="l"><a class="l" href="#467">467 </a> <span class="php-quote">'/reference/order-methods/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="468" class="l"><a class="l" href="#468">468 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="469" class="l"><a class="l" href="#469">469 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="470" class="l"><a class="l" href="#470">470 </a> <span class="php-quote">'orderMethod'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="471" class="l"><a class="l" href="#471">471 </a> )
|
|
||||||
</span><span id="472" class="l"><a class="l" href="#472">472 </a> );
|
|
||||||
</span><span id="473" class="l"><a class="l" href="#473">473 </a> }
|
|
||||||
</span><span id="474" class="l"><a class="l" href="#474">474 </a>
|
|
||||||
</span><span id="475" class="l"><a class="l" href="#475">475 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="476" class="l"><a class="l" href="#476">476 </a><span class="php-comment"> * Edit orderType
|
|
||||||
</span></span><span id="477" class="l"><a class="l" href="#477">477 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="478" class="l"><a class="l" href="#478">478 </a><span class="php-comment"> * @param array $data order type data
|
|
||||||
</span></span><span id="479" class="l"><a class="l" href="#479">479 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="480" class="l"><a class="l" href="#480">480 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="481" class="l"><a class="l" href="#481">481 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_orderTypesEdit" href="#_orderTypesEdit">orderTypesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="482" class="l"><a class="l" href="#482">482 </a> {
|
|
||||||
</span><span id="483" class="l"><a class="l" href="#483">483 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="484" class="l"><a class="l" href="#484">484 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="485" class="l"><a class="l" href="#485">485 </a> }
|
|
||||||
</span><span id="486" class="l"><a class="l" href="#486">486 </a>
|
|
||||||
</span><span id="487" class="l"><a class="l" href="#487">487 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="488" class="l"><a class="l" href="#488">488 </a> <span class="php-quote">'/reference/order-types/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="489" class="l"><a class="l" href="#489">489 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="490" class="l"><a class="l" href="#490">490 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="491" class="l"><a class="l" href="#491">491 </a> <span class="php-quote">'orderType'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="492" class="l"><a class="l" href="#492">492 </a> )
|
|
||||||
</span><span id="493" class="l"><a class="l" href="#493">493 </a> );
|
|
||||||
</span><span id="494" class="l"><a class="l" href="#494">494 </a> }
|
|
||||||
</span><span id="495" class="l"><a class="l" href="#495">495 </a>
|
|
||||||
</span><span id="496" class="l"><a class="l" href="#496">496 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="497" class="l"><a class="l" href="#497">497 </a><span class="php-comment"> * Edit paymentStatus
|
|
||||||
</span></span><span id="498" class="l"><a class="l" href="#498">498 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="499" class="l"><a class="l" href="#499">499 </a><span class="php-comment"> * @param array $data payment status data
|
|
||||||
</span></span><span id="500" class="l"><a class="l" href="#500">500 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="501" class="l"><a class="l" href="#501">501 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="502" class="l"><a class="l" href="#502">502 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_paymentStatusesEdit" href="#_paymentStatusesEdit">paymentStatusesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="503" class="l"><a class="l" href="#503">503 </a> {
|
|
||||||
</span><span id="504" class="l"><a class="l" href="#504">504 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="505" class="l"><a class="l" href="#505">505 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="506" class="l"><a class="l" href="#506">506 </a> }
|
|
||||||
</span><span id="507" class="l"><a class="l" href="#507">507 </a>
|
|
||||||
</span><span id="508" class="l"><a class="l" href="#508">508 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="509" class="l"><a class="l" href="#509">509 </a> <span class="php-quote">'/reference/payment-statuses/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="510" class="l"><a class="l" href="#510">510 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="511" class="l"><a class="l" href="#511">511 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="512" class="l"><a class="l" href="#512">512 </a> <span class="php-quote">'paymentStatus'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="513" class="l"><a class="l" href="#513">513 </a> )
|
|
||||||
</span><span id="514" class="l"><a class="l" href="#514">514 </a> );
|
|
||||||
</span><span id="515" class="l"><a class="l" href="#515">515 </a> }
|
|
||||||
</span><span id="516" class="l"><a class="l" href="#516">516 </a>
|
|
||||||
</span><span id="517" class="l"><a class="l" href="#517">517 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="518" class="l"><a class="l" href="#518">518 </a><span class="php-comment"> * Edit paymentType
|
|
||||||
</span></span><span id="519" class="l"><a class="l" href="#519">519 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="520" class="l"><a class="l" href="#520">520 </a><span class="php-comment"> * @param array $data payment type data
|
|
||||||
</span></span><span id="521" class="l"><a class="l" href="#521">521 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="522" class="l"><a class="l" href="#522">522 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="523" class="l"><a class="l" href="#523">523 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_paymentTypesEdit" href="#_paymentTypesEdit">paymentTypesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="524" class="l"><a class="l" href="#524">524 </a> {
|
|
||||||
</span><span id="525" class="l"><a class="l" href="#525">525 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="526" class="l"><a class="l" href="#526">526 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="527" class="l"><a class="l" href="#527">527 </a> }
|
|
||||||
</span><span id="528" class="l"><a class="l" href="#528">528 </a>
|
|
||||||
</span><span id="529" class="l"><a class="l" href="#529">529 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="530" class="l"><a class="l" href="#530">530 </a> <span class="php-quote">'/reference/payment-types/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="531" class="l"><a class="l" href="#531">531 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="532" class="l"><a class="l" href="#532">532 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="533" class="l"><a class="l" href="#533">533 </a> <span class="php-quote">'paymentType'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="534" class="l"><a class="l" href="#534">534 </a> )
|
|
||||||
</span><span id="535" class="l"><a class="l" href="#535">535 </a> );
|
|
||||||
</span><span id="536" class="l"><a class="l" href="#536">536 </a> }
|
|
||||||
</span><span id="537" class="l"><a class="l" href="#537">537 </a>
|
|
||||||
</span><span id="538" class="l"><a class="l" href="#538">538 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="539" class="l"><a class="l" href="#539">539 </a><span class="php-comment"> * Edit productStatus
|
|
||||||
</span></span><span id="540" class="l"><a class="l" href="#540">540 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="541" class="l"><a class="l" href="#541">541 </a><span class="php-comment"> * @param array $data product status data
|
|
||||||
</span></span><span id="542" class="l"><a class="l" href="#542">542 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="543" class="l"><a class="l" href="#543">543 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="544" class="l"><a class="l" href="#544">544 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_productStatusesEdit" href="#_productStatusesEdit">productStatusesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="545" class="l"><a class="l" href="#545">545 </a> {
|
|
||||||
</span><span id="546" class="l"><a class="l" href="#546">546 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="547" class="l"><a class="l" href="#547">547 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="548" class="l"><a class="l" href="#548">548 </a> }
|
|
||||||
</span><span id="549" class="l"><a class="l" href="#549">549 </a>
|
|
||||||
</span><span id="550" class="l"><a class="l" href="#550">550 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="551" class="l"><a class="l" href="#551">551 </a> <span class="php-quote">'/reference/product-statuses/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="552" class="l"><a class="l" href="#552">552 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="553" class="l"><a class="l" href="#553">553 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="554" class="l"><a class="l" href="#554">554 </a> <span class="php-quote">'productStatus'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="555" class="l"><a class="l" href="#555">555 </a> )
|
|
||||||
</span><span id="556" class="l"><a class="l" href="#556">556 </a> );
|
|
||||||
</span><span id="557" class="l"><a class="l" href="#557">557 </a> }
|
|
||||||
</span><span id="558" class="l"><a class="l" href="#558">558 </a>
|
|
||||||
</span><span id="559" class="l"><a class="l" href="#559">559 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="560" class="l"><a class="l" href="#560">560 </a><span class="php-comment"> * Edit order status
|
|
||||||
</span></span><span id="561" class="l"><a class="l" href="#561">561 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="562" class="l"><a class="l" href="#562">562 </a><span class="php-comment"> * @param array $data status data
|
|
||||||
</span></span><span id="563" class="l"><a class="l" href="#563">563 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="564" class="l"><a class="l" href="#564">564 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="565" class="l"><a class="l" href="#565">565 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_statusesEdit" href="#_statusesEdit">statusesEdit</a>(<span class="php-keyword1">array</span> <span class="php-var">$data</span>)
|
|
||||||
</span><span id="566" class="l"><a class="l" href="#566">566 </a> {
|
|
||||||
</span><span id="567" class="l"><a class="l" href="#567">567 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$data</span>[<span class="php-quote">'code'</span>])) {
|
|
||||||
</span><span id="568" class="l"><a class="l" href="#568">568 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'Data must contain "code" parameter.'</span>);
|
|
||||||
</span><span id="569" class="l"><a class="l" href="#569">569 </a> }
|
|
||||||
</span><span id="570" class="l"><a class="l" href="#570">570 </a>
|
|
||||||
</span><span id="571" class="l"><a class="l" href="#571">571 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(
|
|
||||||
</span><span id="572" class="l"><a class="l" href="#572">572 </a> <span class="php-quote">'/reference/statuses/'</span> . <span class="php-var">$data</span>[<span class="php-quote">'code'</span>] . <span class="php-quote">'/edit'</span>,
|
|
||||||
</span><span id="573" class="l"><a class="l" href="#573">573 </a> Client::METHOD_POST,
|
|
||||||
</span><span id="574" class="l"><a class="l" href="#574">574 </a> <span class="php-keyword1">array</span>(
|
|
||||||
</span><span id="575" class="l"><a class="l" href="#575">575 </a> <span class="php-quote">'status'</span> => <span class="php-keyword2">json_encode</span>(<span class="php-var">$data</span>)
|
|
||||||
</span><span id="576" class="l"><a class="l" href="#576">576 </a> )
|
|
||||||
</span><span id="577" class="l"><a class="l" href="#577">577 </a> );
|
|
||||||
</span><span id="578" class="l"><a class="l" href="#578">578 </a> }
|
|
||||||
</span><span id="579" class="l"><a class="l" href="#579">579 </a>
|
|
||||||
</span><span id="580" class="l"><a class="l" href="#580">580 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="581" class="l"><a class="l" href="#581">581 </a><span class="php-comment"> * Update CRM basic statistic
|
|
||||||
</span></span><span id="582" class="l"><a class="l" href="#582">582 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="583" class="l"><a class="l" href="#583">583 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="584" class="l"><a class="l" href="#584">584 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="585" class="l"><a class="l" href="#585">585 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_statisticUpdate" href="#_statisticUpdate">statisticUpdate</a>()
|
|
||||||
</span><span id="586" class="l"><a class="l" href="#586">586 </a> {
|
|
||||||
</span><span id="587" class="l"><a class="l" href="#587">587 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->client->makeRequest(<span class="php-quote">'/statistic/update'</span>, Client::METHOD_GET);
|
|
||||||
</span><span id="588" class="l"><a class="l" href="#588">588 </a> }
|
|
||||||
</span><span id="589" class="l"><a class="l" href="#589">589 </a>
|
|
||||||
</span><span id="590" class="l"><a class="l" href="#590">590 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="591" class="l"><a class="l" href="#591">591 </a><span class="php-comment"> * Check ID parameter
|
|
||||||
</span></span><span id="592" class="l"><a class="l" href="#592">592 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="593" class="l"><a class="l" href="#593">593 </a><span class="php-comment"> * @param string $by
|
|
||||||
</span></span><span id="594" class="l"><a class="l" href="#594">594 </a><span class="php-comment"> * @return bool
|
|
||||||
</span></span><span id="595" class="l"><a class="l" href="#595">595 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="596" class="l"><a class="l" href="#596">596 </a> <span class="php-keyword1">protected</span> <span class="php-keyword1">function</span> <a id="_checkIdParameter" href="#_checkIdParameter">checkIdParameter</a>(<span class="php-var">$by</span>)
|
|
||||||
</span><span id="597" class="l"><a class="l" href="#597">597 </a> {
|
|
||||||
</span><span id="598" class="l"><a class="l" href="#598">598 </a> <span class="php-var">$allowedForBy</span> = <span class="php-keyword1">array</span>(<span class="php-quote">'externalId'</span>, <span class="php-quote">'id'</span>);
|
|
||||||
</span><span id="599" class="l"><a class="l" href="#599">599 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">in_array</span>(<span class="php-var">$by</span>, <span class="php-var">$allowedForBy</span>)) {
|
|
||||||
</span><span id="600" class="l"><a class="l" href="#600">600 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-keyword2">sprintf</span>(
|
|
||||||
</span><span id="601" class="l"><a class="l" href="#601">601 </a> <span class="php-quote">'Value "%s" for parameter "by" is not valid. Allowed values are %s.'</span>,
|
|
||||||
</span><span id="602" class="l"><a class="l" href="#602">602 </a> <span class="php-var">$by</span>,
|
|
||||||
</span><span id="603" class="l"><a class="l" href="#603">603 </a> <span class="php-keyword2">implode</span>(<span class="php-quote">', '</span>, <span class="php-var">$allowedForBy</span>)
|
|
||||||
</span><span id="604" class="l"><a class="l" href="#604">604 </a> ));
|
|
||||||
</span><span id="605" class="l"><a class="l" href="#605">605 </a> }
|
|
||||||
</span><span id="606" class="l"><a class="l" href="#606">606 </a>
|
|
||||||
</span><span id="607" class="l"><a class="l" href="#607">607 </a> <span class="php-keyword1">return</span> <span class="php-keyword1">true</span>;
|
|
||||||
</span><span id="608" class="l"><a class="l" href="#608">608 </a> }
|
|
||||||
</span><span id="609" class="l"><a class="l" href="#609">609 </a>}
|
|
||||||
</span><span id="610" class="l"><a class="l" href="#610">610 </a></span></code></pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,117 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
|
|
||||||
<title>File RetailCrm/Exception/CurlException.php | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html" title="Summary of RetailCrm\Exception"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="class-RetailCrm.Exception.CurlException.html" title="Summary of RetailCrm\Exception\CurlException"><span>Class</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Exception.CurlException.html">CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<pre id="source"><code><span id="1" class="l"><a class="l" href="#1">1 </a><span class="xlang"><?php</span>
|
|
||||||
</span><span id="2" class="l"><a class="l" href="#2">2 </a>
|
|
||||||
</span><span id="3" class="l"><a class="l" href="#3">3 </a><span class="php-keyword1">namespace</span> RetailCrm\Exception;
|
|
||||||
</span><span id="4" class="l"><a class="l" href="#4">4 </a>
|
|
||||||
</span><span id="5" class="l"><a class="l" href="#5">5 </a><span class="php-keyword1">class</span> <a id="CurlException" href="#CurlException">CurlException</a> <span class="php-keyword1">extends</span> \RuntimeException
|
|
||||||
</span><span id="6" class="l"><a class="l" href="#6">6 </a>{
|
|
||||||
</span><span id="7" class="l"><a class="l" href="#7">7 </a>}
|
|
||||||
</span><span id="8" class="l"><a class="l" href="#8">8 </a></span></code></pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,117 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
|
|
||||||
<title>File RetailCrm/Exception/InvalidJsonException.php | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html" title="Summary of RetailCrm\Exception"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="class-RetailCrm.Exception.InvalidJsonException.html" title="Summary of RetailCrm\Exception\InvalidJsonException"><span>Class</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">CurlException</a></li>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Exception.InvalidJsonException.html">InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<pre id="source"><code><span id="1" class="l"><a class="l" href="#1">1 </a><span class="xlang"><?php</span>
|
|
||||||
</span><span id="2" class="l"><a class="l" href="#2">2 </a>
|
|
||||||
</span><span id="3" class="l"><a class="l" href="#3">3 </a><span class="php-keyword1">namespace</span> RetailCrm\Exception;
|
|
||||||
</span><span id="4" class="l"><a class="l" href="#4">4 </a>
|
|
||||||
</span><span id="5" class="l"><a class="l" href="#5">5 </a><span class="php-keyword1">class</span> <a id="InvalidJsonException" href="#InvalidJsonException">InvalidJsonException</a> <span class="php-keyword1">extends</span> \DomainException
|
|
||||||
</span><span id="6" class="l"><a class="l" href="#6">6 </a>{
|
|
||||||
</span><span id="7" class="l"><a class="l" href="#7">7 </a>}
|
|
||||||
</span><span id="8" class="l"><a class="l" href="#8">8 </a></span></code></pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,191 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
|
|
||||||
<title>File RetailCrm/Http/Client.php | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html" title="Summary of RetailCrm\Http"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="class-RetailCrm.Http.Client.html" title="Summary of RetailCrm\Http\Client"><span>Class</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Http.Client.html">Client</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<pre id="source"><code><span id="1" class="l"><a class="l" href="#1"> 1 </a><span class="xlang"><?php</span>
|
|
||||||
</span><span id="2" class="l"><a class="l" href="#2"> 2 </a>
|
|
||||||
</span><span id="3" class="l"><a class="l" href="#3"> 3 </a><span class="php-keyword1">namespace</span> RetailCrm\Http;
|
|
||||||
</span><span id="4" class="l"><a class="l" href="#4"> 4 </a>
|
|
||||||
</span><span id="5" class="l"><a class="l" href="#5"> 5 </a><span class="php-keyword1">use</span> RetailCrm\Exception\CurlException;
|
|
||||||
</span><span id="6" class="l"><a class="l" href="#6"> 6 </a><span class="php-keyword1">use</span> RetailCrm\Response\ApiResponse;
|
|
||||||
</span><span id="7" class="l"><a class="l" href="#7"> 7 </a>
|
|
||||||
</span><span id="8" class="l"><a class="l" href="#8"> 8 </a><span class="php-comment">/**
|
|
||||||
</span></span><span id="9" class="l"><a class="l" href="#9"> 9 </a><span class="php-comment"> * HTTP client
|
|
||||||
</span></span><span id="10" class="l"><a class="l" href="#10">10 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="11" class="l"><a class="l" href="#11">11 </a><span class="php-keyword1">class</span> <a id="Client" href="#Client">Client</a>
|
|
||||||
</span><span id="12" class="l"><a class="l" href="#12">12 </a>{
|
|
||||||
</span><span id="13" class="l"><a class="l" href="#13">13 </a> <span class="php-keyword1">const</span> <a id="METHOD_GET" href="#METHOD_GET">METHOD_GET</a> = <span class="php-quote">'GET'</span>;
|
|
||||||
</span><span id="14" class="l"><a class="l" href="#14">14 </a> <span class="php-keyword1">const</span> <a id="METHOD_POST" href="#METHOD_POST">METHOD_POST</a> = <span class="php-quote">'POST'</span>;
|
|
||||||
</span><span id="15" class="l"><a class="l" href="#15">15 </a>
|
|
||||||
</span><span id="16" class="l"><a class="l" href="#16">16 </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$url" href="#$url">$url</a></span>;
|
|
||||||
</span><span id="17" class="l"><a class="l" href="#17">17 </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$defaultParameters" href="#$defaultParameters">$defaultParameters</a></span>;
|
|
||||||
</span><span id="18" class="l"><a class="l" href="#18">18 </a>
|
|
||||||
</span><span id="19" class="l"><a class="l" href="#19">19 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>(<span class="php-var">$url</span>, <span class="php-keyword1">array</span> <span class="php-var">$defaultParameters</span> = <span class="php-keyword1">array</span>())
|
|
||||||
</span><span id="20" class="l"><a class="l" href="#20">20 </a> {
|
|
||||||
</span><span id="21" class="l"><a class="l" href="#21">21 </a> <span class="php-keyword1">if</span> (<span class="php-keyword1">false</span> === <span class="php-keyword2">stripos</span>(<span class="php-var">$url</span>, <span class="php-quote">'https://'</span>)) {
|
|
||||||
</span><span id="22" class="l"><a class="l" href="#22">22 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">'API schema requires HTTPS protocol'</span>);
|
|
||||||
</span><span id="23" class="l"><a class="l" href="#23">23 </a> }
|
|
||||||
</span><span id="24" class="l"><a class="l" href="#24">24 </a>
|
|
||||||
</span><span id="25" class="l"><a class="l" href="#25">25 </a> <span class="php-var">$this</span>->url = <span class="php-var">$url</span>;
|
|
||||||
</span><span id="26" class="l"><a class="l" href="#26">26 </a> <span class="php-var">$this</span>->defaultParameters = <span class="php-var">$defaultParameters</span>;
|
|
||||||
</span><span id="27" class="l"><a class="l" href="#27">27 </a> }
|
|
||||||
</span><span id="28" class="l"><a class="l" href="#28">28 </a>
|
|
||||||
</span><span id="29" class="l"><a class="l" href="#29">29 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="30" class="l"><a class="l" href="#30">30 </a><span class="php-comment"> * Make HTTP request
|
|
||||||
</span></span><span id="31" class="l"><a class="l" href="#31">31 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="32" class="l"><a class="l" href="#32">32 </a><span class="php-comment"> * @param string $path
|
|
||||||
</span></span><span id="33" class="l"><a class="l" href="#33">33 </a><span class="php-comment"> * @param string $method (default: 'GET')
|
|
||||||
</span></span><span id="34" class="l"><a class="l" href="#34">34 </a><span class="php-comment"> * @param array $parameters (default: array())
|
|
||||||
</span></span><span id="35" class="l"><a class="l" href="#35">35 </a><span class="php-comment"> * @param int $timeout
|
|
||||||
</span></span><span id="36" class="l"><a class="l" href="#36">36 </a><span class="php-comment"> * @return ApiResponse
|
|
||||||
</span></span><span id="37" class="l"><a class="l" href="#37">37 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="38" class="l"><a class="l" href="#38">38 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_makeRequest" href="#_makeRequest">makeRequest</a>(<span class="php-var">$path</span>, <span class="php-var">$method</span>, <span class="php-keyword1">array</span> <span class="php-var">$parameters</span> = <span class="php-keyword1">array</span>(), <span class="php-var">$timeout</span> = <span class="php-num">30</span>)
|
|
||||||
</span><span id="39" class="l"><a class="l" href="#39">39 </a> {
|
|
||||||
</span><span id="40" class="l"><a class="l" href="#40">40 </a> <span class="php-var">$allowedMethods</span> = <span class="php-keyword1">array</span>(self::METHOD_GET, self::METHOD_POST);
|
|
||||||
</span><span id="41" class="l"><a class="l" href="#41">41 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword2">in_array</span>(<span class="php-var">$method</span>, <span class="php-var">$allowedMethods</span>)) {
|
|
||||||
</span><span id="42" class="l"><a class="l" href="#42">42 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-keyword2">sprintf</span>(
|
|
||||||
</span><span id="43" class="l"><a class="l" href="#43">43 </a> <span class="php-quote">'Method "%s" is not valid. Allowed methods are %s'</span>,
|
|
||||||
</span><span id="44" class="l"><a class="l" href="#44">44 </a> <span class="php-var">$method</span>,
|
|
||||||
</span><span id="45" class="l"><a class="l" href="#45">45 </a> <span class="php-keyword2">implode</span>(<span class="php-quote">', '</span>, <span class="php-var">$allowedMethods</span>)
|
|
||||||
</span><span id="46" class="l"><a class="l" href="#46">46 </a> ));
|
|
||||||
</span><span id="47" class="l"><a class="l" href="#47">47 </a> }
|
|
||||||
</span><span id="48" class="l"><a class="l" href="#48">48 </a>
|
|
||||||
</span><span id="49" class="l"><a class="l" href="#49">49 </a> <span class="php-var">$parameters</span> = <span class="php-keyword2">array_merge</span>(<span class="php-var">$this</span>->defaultParameters, <span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="50" class="l"><a class="l" href="#50">50 </a>
|
|
||||||
</span><span id="51" class="l"><a class="l" href="#51">51 </a> <span class="php-var">$path</span> = <span class="php-var">$this</span>->url . <span class="php-var">$path</span>;
|
|
||||||
</span><span id="52" class="l"><a class="l" href="#52">52 </a> <span class="php-keyword1">if</span> (self::METHOD_GET === <span class="php-var">$method</span> && <span class="php-keyword2">sizeof</span>(<span class="php-var">$parameters</span>)) {
|
|
||||||
</span><span id="53" class="l"><a class="l" href="#53">53 </a> <span class="php-var">$path</span> .= <span class="php-quote">'?'</span> . <span class="php-keyword2">http_build_query</span>(<span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="54" class="l"><a class="l" href="#54">54 </a> }
|
|
||||||
</span><span id="55" class="l"><a class="l" href="#55">55 </a>
|
|
||||||
</span><span id="56" class="l"><a class="l" href="#56">56 </a> <span class="php-var">$ch</span> = <span class="php-keyword2">curl_init</span>();
|
|
||||||
</span><span id="57" class="l"><a class="l" href="#57">57 </a> <span class="php-keyword2">curl_setopt</span>(<span class="php-var">$ch</span>, CURLOPT_URL, <span class="php-var">$path</span>);
|
|
||||||
</span><span id="58" class="l"><a class="l" href="#58">58 </a> <span class="php-keyword2">curl_setopt</span>(<span class="php-var">$ch</span>, CURLOPT_FAILONERROR, <span class="php-keyword1">false</span>);
|
|
||||||
</span><span id="59" class="l"><a class="l" href="#59">59 </a> <span class="php-keyword2">curl_setopt</span>(<span class="php-var">$ch</span>, CURLOPT_RETURNTRANSFER, <span class="php-num">1</span>); <span class="php-comment">// return into a variable</span>
|
|
||||||
</span><span id="60" class="l"><a class="l" href="#60">60 </a> <span class="php-keyword2">curl_setopt</span>(<span class="php-var">$ch</span>, CURLOPT_TIMEOUT, (int) <span class="php-var">$timeout</span>); <span class="php-comment">// times out after 30s</span>
|
|
||||||
</span><span id="61" class="l"><a class="l" href="#61">61 </a> <span class="php-comment">// curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);</span>
|
|
||||||
</span><span id="62" class="l"><a class="l" href="#62">62 </a> <span class="php-comment">// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); // allow redirects</span>
|
|
||||||
</span><span id="63" class="l"><a class="l" href="#63">63 </a>
|
|
||||||
</span><span id="64" class="l"><a class="l" href="#64">64 </a> <span class="php-keyword1">if</span> (self::METHOD_POST === <span class="php-var">$method</span>) {
|
|
||||||
</span><span id="65" class="l"><a class="l" href="#65">65 </a> <span class="php-keyword2">curl_setopt</span>(<span class="php-var">$ch</span>, CURLOPT_POST, <span class="php-keyword1">true</span>);
|
|
||||||
</span><span id="66" class="l"><a class="l" href="#66">66 </a> <span class="php-keyword2">curl_setopt</span>(<span class="php-var">$ch</span>, CURLOPT_POSTFIELDS, <span class="php-var">$parameters</span>);
|
|
||||||
</span><span id="67" class="l"><a class="l" href="#67">67 </a> }
|
|
||||||
</span><span id="68" class="l"><a class="l" href="#68">68 </a>
|
|
||||||
</span><span id="69" class="l"><a class="l" href="#69">69 </a> <span class="php-var">$responseBody</span> = <span class="php-keyword2">curl_exec</span>(<span class="php-var">$ch</span>);
|
|
||||||
</span><span id="70" class="l"><a class="l" href="#70">70 </a> <span class="php-var">$statusCode</span> = <span class="php-keyword2">curl_getinfo</span>(<span class="php-var">$ch</span>, CURLINFO_HTTP_CODE);
|
|
||||||
</span><span id="71" class="l"><a class="l" href="#71">71 </a>
|
|
||||||
</span><span id="72" class="l"><a class="l" href="#72">72 </a> <span class="php-var">$errno</span> = <span class="php-keyword2">curl_errno</span>(<span class="php-var">$ch</span>);
|
|
||||||
</span><span id="73" class="l"><a class="l" href="#73">73 </a> <span class="php-var">$error</span> = <span class="php-keyword2">curl_error</span>(<span class="php-var">$ch</span>);
|
|
||||||
</span><span id="74" class="l"><a class="l" href="#74">74 </a> <span class="php-keyword2">curl_close</span>(<span class="php-var">$ch</span>);
|
|
||||||
</span><span id="75" class="l"><a class="l" href="#75">75 </a>
|
|
||||||
</span><span id="76" class="l"><a class="l" href="#76">76 </a> <span class="php-keyword1">if</span> (<span class="php-var">$errno</span>) {
|
|
||||||
</span><span id="77" class="l"><a class="l" href="#77">77 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> CurlException(<span class="php-var">$error</span>, <span class="php-var">$errno</span>);
|
|
||||||
</span><span id="78" class="l"><a class="l" href="#78">78 </a> }
|
|
||||||
</span><span id="79" class="l"><a class="l" href="#79">79 </a>
|
|
||||||
</span><span id="80" class="l"><a class="l" href="#80">80 </a> <span class="php-keyword1">return</span> <span class="php-keyword1">new</span> ApiResponse(<span class="php-var">$statusCode</span>, <span class="php-var">$responseBody</span>);
|
|
||||||
</span><span id="81" class="l"><a class="l" href="#81">81 </a> }
|
|
||||||
</span><span id="82" class="l"><a class="l" href="#82">82 </a>}
|
|
||||||
</span><span id="83" class="l"><a class="l" href="#83">83 </a></span></code></pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,236 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta name="robots" content="noindex">
|
|
||||||
|
|
||||||
<title>File RetailCrm/Response/ApiResponse.php | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html" title="Summary of RetailCrm\Response"><span>Namespace</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="class-RetailCrm.Response.ApiResponse.html" title="Summary of RetailCrm\Response\ApiResponse"><span>Class</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li class="active"><a href="class-RetailCrm.Response.ApiResponse.html">ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<pre id="source"><code><span id="1" class="l"><a class="l" href="#1"> 1 </a><span class="xlang"><?php</span>
|
|
||||||
</span><span id="2" class="l"><a class="l" href="#2"> 2 </a>
|
|
||||||
</span><span id="3" class="l"><a class="l" href="#3"> 3 </a><span class="php-keyword1">namespace</span> RetailCrm\Response;
|
|
||||||
</span><span id="4" class="l"><a class="l" href="#4"> 4 </a>
|
|
||||||
</span><span id="5" class="l"><a class="l" href="#5"> 5 </a><span class="php-keyword1">use</span> RetailCrm\Exception\InvalidJsonException;
|
|
||||||
</span><span id="6" class="l"><a class="l" href="#6"> 6 </a>
|
|
||||||
</span><span id="7" class="l"><a class="l" href="#7"> 7 </a><span class="php-comment">/**
|
|
||||||
</span></span><span id="8" class="l"><a class="l" href="#8"> 8 </a><span class="php-comment"> * Response from retailCRM API
|
|
||||||
</span></span><span id="9" class="l"><a class="l" href="#9"> 9 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="10" class="l"><a class="l" href="#10"> 10 </a><span class="php-keyword1">class</span> <a id="ApiResponse" href="#ApiResponse">ApiResponse</a> <span class="php-keyword1">implements</span> \ArrayAccess
|
|
||||||
</span><span id="11" class="l"><a class="l" href="#11"> 11 </a>{
|
|
||||||
</span><span id="12" class="l"><a class="l" href="#12"> 12 </a> <span class="php-comment">// HTTP response status code</span>
|
|
||||||
</span><span id="13" class="l"><a class="l" href="#13"> 13 </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$statusCode" href="#$statusCode">$statusCode</a></span>;
|
|
||||||
</span><span id="14" class="l"><a class="l" href="#14"> 14 </a>
|
|
||||||
</span><span id="15" class="l"><a class="l" href="#15"> 15 </a> <span class="php-comment">// response assoc array</span>
|
|
||||||
</span><span id="16" class="l"><a class="l" href="#16"> 16 </a> <span class="php-keyword1">protected</span> <span class="php-var"><a id="$response" href="#$response">$response</a></span>;
|
|
||||||
</span><span id="17" class="l"><a class="l" href="#17"> 17 </a>
|
|
||||||
</span><span id="18" class="l"><a class="l" href="#18"> 18 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___construct" href="#___construct">__construct</a>(<span class="php-var">$statusCode</span>, <span class="php-var">$responseBody</span> = <span class="php-keyword1">null</span>)
|
|
||||||
</span><span id="19" class="l"><a class="l" href="#19"> 19 </a> {
|
|
||||||
</span><span id="20" class="l"><a class="l" href="#20"> 20 </a> <span class="php-var">$this</span>->statusCode = (int) <span class="php-var">$statusCode</span>;
|
|
||||||
</span><span id="21" class="l"><a class="l" href="#21"> 21 </a>
|
|
||||||
</span><span id="22" class="l"><a class="l" href="#22"> 22 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">empty</span>(<span class="php-var">$responseBody</span>)) {
|
|
||||||
</span><span id="23" class="l"><a class="l" href="#23"> 23 </a> <span class="php-var">$response</span> = <span class="php-keyword2">json_decode</span>(<span class="php-var">$responseBody</span>, <span class="php-keyword1">true</span>);
|
|
||||||
</span><span id="24" class="l"><a class="l" href="#24"> 24 </a>
|
|
||||||
</span><span id="25" class="l"><a class="l" href="#25"> 25 </a> <span class="php-keyword1">if</span> (!<span class="php-var">$response</span> && JSON_ERROR_NONE !== (<span class="php-var">$error</span> = <span class="php-keyword2">json_last_error</span>())) {
|
|
||||||
</span><span id="26" class="l"><a class="l" href="#26"> 26 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> InvalidJsonException(
|
|
||||||
</span><span id="27" class="l"><a class="l" href="#27"> 27 </a> <span class="php-quote">"Invalid JSON in the API response body. Error code #</span><span class="php-var">$error</span><span class="php-quote">"</span>,
|
|
||||||
</span><span id="28" class="l"><a class="l" href="#28"> 28 </a> <span class="php-var">$error</span>
|
|
||||||
</span><span id="29" class="l"><a class="l" href="#29"> 29 </a> );
|
|
||||||
</span><span id="30" class="l"><a class="l" href="#30"> 30 </a> }
|
|
||||||
</span><span id="31" class="l"><a class="l" href="#31"> 31 </a>
|
|
||||||
</span><span id="32" class="l"><a class="l" href="#32"> 32 </a> <span class="php-var">$this</span>->response = <span class="php-var">$response</span>;
|
|
||||||
</span><span id="33" class="l"><a class="l" href="#33"> 33 </a> }
|
|
||||||
</span><span id="34" class="l"><a class="l" href="#34"> 34 </a> }
|
|
||||||
</span><span id="35" class="l"><a class="l" href="#35"> 35 </a>
|
|
||||||
</span><span id="36" class="l"><a class="l" href="#36"> 36 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="37" class="l"><a class="l" href="#37"> 37 </a><span class="php-comment"> * Return HTTP response status code
|
|
||||||
</span></span><span id="38" class="l"><a class="l" href="#38"> 38 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="39" class="l"><a class="l" href="#39"> 39 </a><span class="php-comment"> * @return int
|
|
||||||
</span></span><span id="40" class="l"><a class="l" href="#40"> 40 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="41" class="l"><a class="l" href="#41"> 41 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_getStatusCode" href="#_getStatusCode">getStatusCode</a>()
|
|
||||||
</span><span id="42" class="l"><a class="l" href="#42"> 42 </a> {
|
|
||||||
</span><span id="43" class="l"><a class="l" href="#43"> 43 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->statusCode;
|
|
||||||
</span><span id="44" class="l"><a class="l" href="#44"> 44 </a> }
|
|
||||||
</span><span id="45" class="l"><a class="l" href="#45"> 45 </a>
|
|
||||||
</span><span id="46" class="l"><a class="l" href="#46"> 46 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="47" class="l"><a class="l" href="#47"> 47 </a><span class="php-comment"> * HTTP request was successful
|
|
||||||
</span></span><span id="48" class="l"><a class="l" href="#48"> 48 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="49" class="l"><a class="l" href="#49"> 49 </a><span class="php-comment"> * @return bool
|
|
||||||
</span></span><span id="50" class="l"><a class="l" href="#50"> 50 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="51" class="l"><a class="l" href="#51"> 51 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_isSuccessful" href="#_isSuccessful">isSuccessful</a>()
|
|
||||||
</span><span id="52" class="l"><a class="l" href="#52"> 52 </a> {
|
|
||||||
</span><span id="53" class="l"><a class="l" href="#53"> 53 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->statusCode < <span class="php-num">400</span>;
|
|
||||||
</span><span id="54" class="l"><a class="l" href="#54"> 54 </a> }
|
|
||||||
</span><span id="55" class="l"><a class="l" href="#55"> 55 </a>
|
|
||||||
</span><span id="56" class="l"><a class="l" href="#56"> 56 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="57" class="l"><a class="l" href="#57"> 57 </a><span class="php-comment"> * Allow to access for the property throw class method
|
|
||||||
</span></span><span id="58" class="l"><a class="l" href="#58"> 58 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="59" class="l"><a class="l" href="#59"> 59 </a><span class="php-comment"> * @param string $name
|
|
||||||
</span></span><span id="60" class="l"><a class="l" href="#60"> 60 </a><span class="php-comment"> * @return mixed
|
|
||||||
</span></span><span id="61" class="l"><a class="l" href="#61"> 61 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="62" class="l"><a class="l" href="#62"> 62 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___call" href="#___call">__call</a>(<span class="php-var">$name</span>, <span class="php-var">$arguments</span>)
|
|
||||||
</span><span id="63" class="l"><a class="l" href="#63"> 63 </a> {
|
|
||||||
</span><span id="64" class="l"><a class="l" href="#64"> 64 </a> <span class="php-comment">// convert getSomeProperty to someProperty</span>
|
|
||||||
</span><span id="65" class="l"><a class="l" href="#65"> 65 </a> <span class="php-var">$propertyName</span> = <span class="php-keyword2">strtolower</span>(<span class="php-keyword2">substr</span>(<span class="php-var">$name</span>, <span class="php-num">3</span>, <span class="php-num">1</span>)) . <span class="php-keyword2">substr</span>(<span class="php-var">$name</span>, <span class="php-num">4</span>);
|
|
||||||
</span><span id="66" class="l"><a class="l" href="#66"> 66 </a>
|
|
||||||
</span><span id="67" class="l"><a class="l" href="#67"> 67 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->response[<span class="php-var">$propertyName</span>])) {
|
|
||||||
</span><span id="68" class="l"><a class="l" href="#68"> 68 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">"Method \"</span><span class="php-var">$name</span><span class="php-quote">\" not found"</span>);
|
|
||||||
</span><span id="69" class="l"><a class="l" href="#69"> 69 </a> }
|
|
||||||
</span><span id="70" class="l"><a class="l" href="#70"> 70 </a>
|
|
||||||
</span><span id="71" class="l"><a class="l" href="#71"> 71 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->response[<span class="php-var">$propertyName</span>];
|
|
||||||
</span><span id="72" class="l"><a class="l" href="#72"> 72 </a> }
|
|
||||||
</span><span id="73" class="l"><a class="l" href="#73"> 73 </a>
|
|
||||||
</span><span id="74" class="l"><a class="l" href="#74"> 74 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="75" class="l"><a class="l" href="#75"> 75 </a><span class="php-comment"> * Allow to access for the property throw object property
|
|
||||||
</span></span><span id="76" class="l"><a class="l" href="#76"> 76 </a><span class="php-comment"> *
|
|
||||||
</span></span><span id="77" class="l"><a class="l" href="#77"> 77 </a><span class="php-comment"> * @param string $name
|
|
||||||
</span></span><span id="78" class="l"><a class="l" href="#78"> 78 </a><span class="php-comment"> * @return mixed
|
|
||||||
</span></span><span id="79" class="l"><a class="l" href="#79"> 79 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="80" class="l"><a class="l" href="#80"> 80 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="___get" href="#___get">__get</a>(<span class="php-var">$name</span>)
|
|
||||||
</span><span id="81" class="l"><a class="l" href="#81"> 81 </a> {
|
|
||||||
</span><span id="82" class="l"><a class="l" href="#82"> 82 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->response[<span class="php-var">$name</span>])) {
|
|
||||||
</span><span id="83" class="l"><a class="l" href="#83"> 83 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">"Property \"</span><span class="php-var">$name</span><span class="php-quote">\" not found"</span>);
|
|
||||||
</span><span id="84" class="l"><a class="l" href="#84"> 84 </a> }
|
|
||||||
</span><span id="85" class="l"><a class="l" href="#85"> 85 </a>
|
|
||||||
</span><span id="86" class="l"><a class="l" href="#86"> 86 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->response[<span class="php-var">$name</span>];
|
|
||||||
</span><span id="87" class="l"><a class="l" href="#87"> 87 </a> }
|
|
||||||
</span><span id="88" class="l"><a class="l" href="#88"> 88 </a>
|
|
||||||
</span><span id="89" class="l"><a class="l" href="#89"> 89 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="90" class="l"><a class="l" href="#90"> 90 </a><span class="php-comment"> * @param mixed $offset
|
|
||||||
</span></span><span id="91" class="l"><a class="l" href="#91"> 91 </a><span class="php-comment"> * @param mixed $value
|
|
||||||
</span></span><span id="92" class="l"><a class="l" href="#92"> 92 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="93" class="l"><a class="l" href="#93"> 93 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_offsetSet" href="#_offsetSet">offsetSet</a>(<span class="php-var">$offset</span>, <span class="php-var">$value</span>)
|
|
||||||
</span><span id="94" class="l"><a class="l" href="#94"> 94 </a> {
|
|
||||||
</span><span id="95" class="l"><a class="l" href="#95"> 95 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \BadMethodCallException(<span class="php-quote">'This activity not allowed'</span>);
|
|
||||||
</span><span id="96" class="l"><a class="l" href="#96"> 96 </a> }
|
|
||||||
</span><span id="97" class="l"><a class="l" href="#97"> 97 </a>
|
|
||||||
</span><span id="98" class="l"><a class="l" href="#98"> 98 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="99" class="l"><a class="l" href="#99"> 99 </a><span class="php-comment"> * @param mixed $offset
|
|
||||||
</span></span><span id="100" class="l"><a class="l" href="#100">100 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="101" class="l"><a class="l" href="#101">101 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_offsetUnset" href="#_offsetUnset">offsetUnset</a>(<span class="php-var">$offset</span>)
|
|
||||||
</span><span id="102" class="l"><a class="l" href="#102">102 </a> {
|
|
||||||
</span><span id="103" class="l"><a class="l" href="#103">103 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \BadMethodCallException(<span class="php-quote">'This call not allowed'</span>);
|
|
||||||
</span><span id="104" class="l"><a class="l" href="#104">104 </a> }
|
|
||||||
</span><span id="105" class="l"><a class="l" href="#105">105 </a>
|
|
||||||
</span><span id="106" class="l"><a class="l" href="#106">106 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="107" class="l"><a class="l" href="#107">107 </a><span class="php-comment"> * @param mixed $offset
|
|
||||||
</span></span><span id="108" class="l"><a class="l" href="#108">108 </a><span class="php-comment"> * @return bool
|
|
||||||
</span></span><span id="109" class="l"><a class="l" href="#109">109 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="110" class="l"><a class="l" href="#110">110 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_offsetExists" href="#_offsetExists">offsetExists</a>(<span class="php-var">$offset</span>)
|
|
||||||
</span><span id="111" class="l"><a class="l" href="#111">111 </a> {
|
|
||||||
</span><span id="112" class="l"><a class="l" href="#112">112 </a> <span class="php-keyword1">return</span> <span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->response[<span class="php-var">$offset</span>]);
|
|
||||||
</span><span id="113" class="l"><a class="l" href="#113">113 </a> }
|
|
||||||
</span><span id="114" class="l"><a class="l" href="#114">114 </a>
|
|
||||||
</span><span id="115" class="l"><a class="l" href="#115">115 </a> <span class="php-comment">/**
|
|
||||||
</span></span><span id="116" class="l"><a class="l" href="#116">116 </a><span class="php-comment"> * @param mixed $offset
|
|
||||||
</span></span><span id="117" class="l"><a class="l" href="#117">117 </a><span class="php-comment"> * @return mixed
|
|
||||||
</span></span><span id="118" class="l"><a class="l" href="#118">118 </a><span class="php-comment"> */</span>
|
|
||||||
</span><span id="119" class="l"><a class="l" href="#119">119 </a> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> <a id="_offsetGet" href="#_offsetGet">offsetGet</a>(<span class="php-var">$offset</span>)
|
|
||||||
</span><span id="120" class="l"><a class="l" href="#120">120 </a> {
|
|
||||||
</span><span id="121" class="l"><a class="l" href="#121">121 </a> <span class="php-keyword1">if</span> (!<span class="php-keyword1">isset</span>(<span class="php-var">$this</span>->response[<span class="php-var">$offset</span>])) {
|
|
||||||
</span><span id="122" class="l"><a class="l" href="#122">122 </a> <span class="php-keyword1">throw</span> <span class="php-keyword1">new</span> \InvalidArgumentException(<span class="php-quote">"Property \"</span><span class="php-var">$offset</span><span class="php-quote">\" not found"</span>);
|
|
||||||
</span><span id="123" class="l"><a class="l" href="#123">123 </a> }
|
|
||||||
</span><span id="124" class="l"><a class="l" href="#124">124 </a>
|
|
||||||
</span><span id="125" class="l"><a class="l" href="#125">125 </a> <span class="php-keyword1">return</span> <span class="php-var">$this</span>->response[<span class="php-var">$offset</span>];
|
|
||||||
</span><span id="126" class="l"><a class="l" href="#126">126 </a> }
|
|
||||||
</span><span id="127" class="l"><a class="l" href="#127">127 </a>}
|
|
||||||
</span><span id="128" class="l"><a class="l" href="#128">128 </a></span></code></pre>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,123 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Todo | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li>
|
|
||||||
<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li class="active">
|
|
||||||
<span>Todo</span> </li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.ApiClient.html">RetailCrm\ApiClient</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Http.Client.html">RetailCrm\Http\Client</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">RetailCrm\Exception\CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">RetailCrm\Exception\InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content">
|
|
||||||
<h1>Todo</h1>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
@ -1,191 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
|
|
||||||
<title>Tree | retailCRM PHP API client</title>
|
|
||||||
|
|
||||||
<link rel="stylesheet" href="resources/bootstrap.min.css?260161822">
|
|
||||||
<link rel="stylesheet" href="resources/style.css?2608535020">
|
|
||||||
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
<div id="navigation" class="navbar navbar-fixed-top">
|
|
||||||
<div class="navbar-inner">
|
|
||||||
<div class="container">
|
|
||||||
<a href="index.html" class="brand">retailCRM PHP API client</a>
|
|
||||||
<div class="nav-collapse">
|
|
||||||
<ul class="nav">
|
|
||||||
<li>
|
|
||||||
<span>Namespace</span> </li>
|
|
||||||
<li>
|
|
||||||
<span>Class</span> </li>
|
|
||||||
|
|
||||||
<li class="divider-vertical"></li>
|
|
||||||
|
|
||||||
<li class="active">
|
|
||||||
<span>Tree</span> </li>
|
|
||||||
<li>
|
|
||||||
<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="todo.html" title="Todo list"><span>Todo</span></a>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="left">
|
|
||||||
<div id="menu">
|
|
||||||
<form id="search" class="form-search">
|
|
||||||
<input type="hidden" name="cx" value="">
|
|
||||||
<input type="hidden" name="ie" value="UTF-8">
|
|
||||||
<input type="text" name="q" class="search-query" placeholder="Search">
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="groups">
|
|
||||||
<h3>Namespaces</h3>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.html">
|
|
||||||
RetailCrm<span></span>
|
|
||||||
</a>
|
|
||||||
<ul>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Exception.html">
|
|
||||||
Exception </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Http.html">
|
|
||||||
Http </a>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<a href="namespace-RetailCrm.Response.html">
|
|
||||||
Response </a>
|
|
||||||
</li>
|
|
||||||
</ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
<div id="elements">
|
|
||||||
<h3>Classes</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.ApiClient.html">RetailCrm\ApiClient</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Http.Client.html">RetailCrm\Http\Client</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Response.ApiResponse.html">RetailCrm\Response\ApiResponse</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h3>Exceptions</h3>
|
|
||||||
<ul>
|
|
||||||
<li><a href="class-RetailCrm.Exception.CurlException.html">RetailCrm\Exception\CurlException</a></li>
|
|
||||||
<li><a href="class-RetailCrm.Exception.InvalidJsonException.html">RetailCrm\Exception\InvalidJsonException</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="splitter"></div>
|
|
||||||
|
|
||||||
<div id="right">
|
|
||||||
<div id="rightInner">
|
|
||||||
<div id="content">
|
|
||||||
<h1>Tree</h1>
|
|
||||||
|
|
||||||
<h2>Classes</h2>
|
|
||||||
<div class="tree">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><div class="notlast"><a href="class-RetailCrm.ApiClient.html"><span>RetailCrm\ApiClient</span></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li><div class="notlast"><a href="class-RetailCrm.Http.Client.html"><span>RetailCrm\Http\Client</span></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
<li class="last"><div class="last"><a href="class-RetailCrm.Response.ApiResponse.html"><span>RetailCrm\Response\ApiResponse</span></a>
|
|
||||||
implements
|
|
||||||
<span>ArrayAccess</span>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h2>Exceptions</h2>
|
|
||||||
<div class="tree">
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="last"><div class="last"><span>Exception</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li><div class="notlast"><span>LogicException</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="last"><div class="last"><span>DomainException</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="last"><div class="last"><a href="class-RetailCrm.Exception.InvalidJsonException.html"><span>RetailCrm\Exception\InvalidJsonException</span></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</ul></li></ul></li>
|
|
||||||
|
|
||||||
<li class="last"><div class="last"><span>RuntimeException</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li class="last"><div class="last"><a href="class-RetailCrm.Exception.CurlException.html"><span>RetailCrm\Exception\CurlException</span></a>
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</li>
|
|
||||||
</ul></li></ul></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="footer">
|
|
||||||
retailCRM PHP API client API documentation generated by <a href="http://apigen.org">ApiGen</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<script src="resources/combined.js?371644040"></script>
|
|
||||||
<script src="elementlist.js?1838453619"></script>
|
|
||||||
</body>
|
|
||||||
</html>
|
|