Overview

Packages

  • Components
  • Internals
    • AR
  • RestApi
    • Objects
    • Services

Classes

  • Manufacturer
  • Product
  • ProductCategory
  • Overview
  • Package
  • Class
  • Tree
  • Todo
 1: <?php
 2: /**
 3:  * Product AR model.
 4:  *
 5:  * @property integer $id
 6:  * @property integer $manufacturerId
 7:  * @property string $title
 8:  * @property double $price
 9:  * @property string $internalCode
10:  * @property integer $createdByUserId
11:  *
12:  * @property Manufacturer $manufacturer Parent manufacturer (belongs-to relation)
13:  * @property ProductCategory[] $categories Relevant categories (many-to-many relation)
14:  *
15:  * @package Internals.AR
16:  * @author Konstantinos Filios <konfilios@gmail.com>
17:  */
18: class Product extends CActiveRecord
19: {
20:     // Implementation has been skipped. Class level doc-comments are all we need for the demo.
21: }
Bogo Yii Json Service API documentation generated by ApiGen 2.8.0