Diglin\Ricardo\Managers\Search\Parameter\GetCategoryBestMatchParameter
Class GetCategoryBestMatchParameter
Synopsis
class GetCategoryBestMatchParameter
extends ParameterAbstract
{
- // members
- protected int $_languageId = LanguageId::GERMAN;
- protected integer $_numberMaxOfResult = 1;
- protected bool $_onlyAllowToSell = true;
- protected string $_sentence = '';
- protected array $_requiredProperties = ;
- // Inherited members from ParameterAbstract
- protected array $_requiredProperties;
- protected array $_optionalProperties;
- // methods
- public int getLanguageId()
- public $this setLanguageId()
- public int getNumberMaxOfResult()
- public $this setNumberMaxOfResult()
- public boolean getOnlyAllowToSell()
- public $this setOnlyAllowToSell()
- public string getSentence()
- public $this setSentence()
- // Inherited methods from ParameterAbstract
- public array getRequiredProperties()
- public array getOptionalProperties()
- public array getDataProperties()
- protected string _normalizeProperty()
- protected string _getGetterMethod()
- protected string _getSetterMethod()
- public void offsetSet()
- public boolean offsetExists()
- public void offsetUnset()
- public mixed offsetGet()
Hierarchy
Members
protected
- $_languageId — int
- $_numberMaxOfResult — int
- $_onlyAllowToSell — Diglin\Ricardo\Managers\Search\Parameter\bool
- $_optionalProperties — array
- $_requiredProperties — array
- $_requiredProperties — array
- $_sentence — string
Methods
public
- getLanguageId()
- getNumberMaxOfResult()
- getOnlyAllowToSell()
- getSentence()
- setLanguageId()
- setNumberMaxOfResult()
- setOnlyAllowToSell()
- setSentence()
Inherited from Diglin\Ricardo\Managers\ParameterAbstract
protected
- _getGetterMethod() — Get the getter method name
- _getSetterMethod() — Get the setter method name
- _normalizeProperty() — Normalize the property from "_myProperty" to "MyProperty"
public
- getDataProperties() — Get all properties of a class as an array to be send or use properly by the ricardo.ch API
- getOptionalProperties()
- getRequiredProperties()
- offsetExists() — Implementation of ArrayAccess::offsetExists()
- offsetGet() — Implementation of ArrayAccess::offsetGet()
- offsetSet() — Implementation of ArrayAccess::offsetSet()
- offsetUnset() — Implementation of ArrayAccess::offsetUnset()
History
-
2015-04-02T18:36:19+02:00 (commit #38400aa)
Author: Sylvain Rayé (sly@diglin.com) / Commiter: Sylvain Rayé (sly@diglin.com)
Add method and test to get best match category