Overview

Packages

  • RestApi
    • Objects
    • Services

Classes

  • ManufacturerJson
  • ProductCategoryJson
  • ProductJson
  • ProductQueryJson
  • Overview
  • Package
  • Class
  • Tree
  • Todo

Class ProductJson

Json representation of the Product AR model.

This is the interface of the Product AR model exposed through the JSON API.

CBJsonModel
Extended by ProductJson
Package: RestApi\Objects
Author: Konstantinos Filios <konfilios@gmail.com>
Located at models/json/ProductJson.php
Methods summary
public string[]
# getAttributeTypes( )

Types of non-scalar members.

Types of non-scalar members.

Returns

string[]
Properties summary
public integer $id
#

Product id.

Product id.

public string $title
#

Product title.

Product title.

public float $price
#

Product price.

Product price.

public ManufacturerJson $manufacturer
#

Manufacturer.

Manufacturer.

public ProductCategoryJson[] $categories array()
#

Relevant categories.

Relevant categories.

Demo Json Service API documentation generated by ApiGen 2.8.0