Overview

Namespaces

  • Html2Text
  • Izberg
    • Exception
    • Resource
      • Category

Classes

  • Html2Text\Html2Text
  • Izberg\Helper
  • Izberg\Izberg
  • Izberg\Resource
  • Izberg\Resource\Address
  • Izberg\Resource\Application
  • Izberg\Resource\ApplicationCategory
  • Izberg\Resource\Attributes
  • Izberg\Resource\BillingAddress
  • Izberg\Resource\Brand
  • Izberg\Resource\Carrier
  • Izberg\Resource\Cart
  • Izberg\Resource\CartItem
  • Izberg\Resource\CartShippingChoice
  • Izberg\Resource\Category
  • Izberg\Resource\Category\CategoryAbstract
  • Izberg\Resource\Country
  • Izberg\Resource\CoverImage
  • Izberg\Resource\Currency
  • Izberg\Resource\Discount
  • Izberg\Resource\ExtraInfo
  • Izberg\Resource\Feed
  • Izberg\Resource\LocaleConfig
  • Izberg\Resource\Merchant
  • Izberg\Resource\MerchantAddress
  • Izberg\Resource\MerchantImage
  • Izberg\Resource\MerchantOrder
  • Izberg\Resource\MerchantReview
  • Izberg\Resource\Message
  • Izberg\Resource\Meta
  • Izberg\Resource\Offer
  • Izberg\Resource\OfferImage
  • Izberg\Resource\Order
  • Izberg\Resource\OrderItem
  • Izberg\Resource\Payment
  • Izberg\Resource\PaymentCardAlias
  • Izberg\Resource\Product
  • Izberg\Resource\ProductAttribute
  • Izberg\Resource\ProductBrand
  • Izberg\Resource\ProductChannel
  • Izberg\Resource\ProductChannelFileOutput
  • Izberg\Resource\Productoffer
  • Izberg\Resource\ProductOfferVariation
  • Izberg\Resource\ProductVariation
  • Izberg\Resource\ProfileImage
  • Izberg\Resource\Receiver
  • Izberg\Resource\ReturnRequest
  • Izberg\Resource\Review
  • Izberg\Resource\Sender
  • Izberg\Resource\ShippingAddress
  • Izberg\Resource\ShippingMerchantTemplate
  • Izberg\Resource\ShippingProvider
  • Izberg\Resource\ShippingProviderAssignment
  • Izberg\Resource\ShoppingPreference
  • Izberg\Resource\User
  • Izberg\Resource\Webhook

Exceptions

  • Izberg\Exception\BadRequestException
  • Izberg\Exception\ForbiddenException
  • Izberg\Exception\GenericException
  • Izberg\Exception\HttpException
  • Izberg\Exception\InternalErrorException
  • Izberg\Exception\MethodNotAllowedException
  • Izberg\Exception\NotFoundException
  • Izberg\Exception\UnauthorizedException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: namespace Izberg\Resource;
 3: use Izberg\Resource;
 4: 
 5: class User extends Resource
 6: {
 7:     public function getAddresses()
 8:     {
 9:         return parent::$Izberg->get_list("address", null, array("user" => $this->id), "Content-Type:Application/json");
10:     }
11: 
12:     public function getApplications()
13:     {
14:         return parent::$Izberg->get_list("application", null, array("contact_user" => $this->id), "Content-Type:Application/json");
15:     }
16: 
17:     public function getReviews()
18:     {
19:         return parent::$Izberg->get_list("review", null, array("user" => $this->id), "Content-Type:Application/json");
20: 
21:     }
22:     public function getProfile()
23:     {
24:         return parent::$Izberg->get("profile", $this->id."/profile/", null, null, $this->getName());
25:     }
26: 
27:     public function getInbox()
28:     {
29:         return parent::$Izberg->get_list("message", array(), "Accept: application/json", "user/" . $this->id . "/inbox/");
30:     }
31: 
32:     public function getOutbox()
33:     {
34:         return parent::$Izberg->get_list("message", array(), "Accept: application/json", "user/" . $this->id . "/outbox/");
35:     }
36: }
37: 
API documentation generated by ApiGen