Overview

Namespaces

  • Apptus
    • ESales
      • Connector
        • Report
        • Time
    • Util
      • Cache
  • PHP
  • Overview
  • Namespace
  • Class
  • Tree
 1:  2:  3:  4:  5:  6:  7:  8:  9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 
<?php
namespace Apptus\ESales\Connector;

/**
 * A class representing a category that holds only attribute information. In addition to its parent class
 * it also knows which tree it belongs to.
 */
class CategoryData extends Category implements \IteratorAggregate {
private $tree;

    /**
     * @internal
     * @param string $key
     * @param string $ticket
     * @param string $parentKey
     * @param string $tree
     */
    public function __construct($key, $ticket, $parentKey, $tree) {
        parent::__construct($key, $ticket, $parentKey);
        $this->tree = $tree;
    }

    /**
     * Get the tree name of this category, which is also the referencing product attribute.
     *
     * @return string the tree name of this category
     */
    public function getTree() {
        return $this->tree;
    }
}
Apptus ESales Connector PHP API documentation generated by ApiGen