Overview

Namespaces

  • Datadepo
    • Api
      • DataStores
      • Structures
      • Synchronizers

Classes

  • Datadepo\Api\ApiWrapper
  • Datadepo\Api\Collector
  • Datadepo\Api\DataDepoResponse
  • Datadepo\Api\DataDepoSync
  • Datadepo\Api\DataStores\PdoDataStore
  • Datadepo\Api\IniConfiguration
  • Datadepo\Api\RunningFiles
  • Datadepo\Api\Structures\AbstractStructure
  • Datadepo\Api\Structures\BusinessLine
  • Datadepo\Api\Structures\BusinessSupplierLine
  • Datadepo\Api\Structures\CategoryLine
  • Datadepo\Api\Structures\DataLine
  • Datadepo\Api\Structures\ImageLine
  • Datadepo\Api\Structures\ParameterLine
  • Datadepo\Api\Structures\PriceLine
  • Datadepo\Api\Structures\RelatedLine
  • Datadepo\Api\Structures\StoreLine
  • Datadepo\Api\Structures\SupplierBankAccountLine
  • Datadepo\Api\Structures\SupplierLine
  • Datadepo\Api\Structures\SupplierPersonLine
  • Datadepo\Api\Structures\VariantLine
  • Datadepo\Api\Synchronizers\AbstractSynchronizer
  • Datadepo\Api\Synchronizers\BusinessSynchronizer
  • Datadepo\Api\Synchronizers\CategorySynchronizer
  • Datadepo\Api\Synchronizers\DataSynchronizer
  • Datadepo\Api\Synchronizers\SuppliersSynchronizer

Interfaces

  • Datadepo\Api\DataStores\IDataStore

Exceptions

  • Datadepo\Api\ApiException
  • Datadepo\Api\ConfigurationException
  • Datadepo\Api\DataDepoRunningException
  • Datadepo\Api\DataDepoSuspendedException
  • Overview
  • Namespace
  • Class
 1: <?php
 2: namespace Datadepo\Api\Structures;
 3: 
 4: /**
 5:  * @property-read string $groupName
 6:  * @property-read string $titleName
 7:  * @property-read string $value
 8:  * @property-read string $mj
 9:  */
10: class ParameterLine extends AbstractStructure
11: {
12:   
13:   /**
14:    * @param array $data
15:    */
16:   public function __construct($data)
17:   {
18:     $this->data = $data;
19:   }
20:   
21:   /**
22:    * @return string
23:    */
24:   public function getJson()
25:   {
26:     return json_encode($this->data);
27:   }
28:   
29:   /**
30:    * @return string
31:    */
32:   public function getGroupName()
33:   {
34:     return isset($this->data->groupName) ? $this->data->groupName : NULL;
35:   }
36:   
37:   /**
38:    * @return string
39:    */
40:   public function getTitleName()
41:   {
42:     return isset($this->data->titleName) ? $this->data->titleName : NULL;
43:   }
44:   
45:   /**
46:    * @return string
47:    */
48:   public function getMj()
49:   {
50:     return isset($this->data->mj) ? $this->data->mj : NULL;
51:   }
52:   
53:   /**
54:    * @return string
55:    */
56:   public function getValue()
57:   {
58:     return $this->data->value;
59:   }
60:   
61: 
62:   
63: }
API documentation generated by ApiGen