ZMObject
└─ZMSearchCriteria
public class ZMSearchCriteria
extends ZMObject
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
Create new instance. |
|
| Method Summary | |
|---|---|
| integer | getCategoryId(string default) Get the category. |
| integer | Get the country for tax calculations (if required). |
| string | getDateFrom(string default) Get the from date. |
| string | getDateTo(string default) Get the to date. |
| string | getKeywords(string default) Get the keyword(s). |
| integer | Get the language id. |
| integer | getManufacturerId(string default) Get the manufacturer. |
| string | getPriceFrom(string default) Set the price from. |
| string | getPriceTo(string default) Get the price to. |
| integer | Get the zone for tax calculations (if required). |
| boolean | isIncludeDescription(string default) Get the include description flag. |
| boolean | isIncludeSubcategories(string default) Get the include subcategories flag. |
| boolean | Check if prices are tax inclusive. |
| void | setDateFrom(string date) Set the from date. |
| void | setDateTo(mixed date) Set the to date. |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMSearchCriteria()
Create new instance.
public integer getCategoryId(string default)
Get the category.
public integer getCountryId()
Get the country for tax calculations (if required).
public string getDateFrom(string default)
Get the from date.
public string getDateTo(string default)
Get the to date.
public string getKeywords(string default)
Get the keyword(s).
public integer getLanguageId()
Get the language id.
public integer getManufacturerId(string default)
Get the manufacturer.
public string getPriceFrom(string default)
Set the price from.
public string getPriceTo(string default)
Get the price to.
public integer getZoneId()
Get the zone for tax calculations (if required).
public boolean isIncludeDescription(string default)
Get the include description flag.
true if descriptions should be searched too.public boolean isIncludeSubcategories(string default)
Get the include subcategories flag.
true if subcategories should be searched too.public boolean isIncludeTax()
Check if prices are tax inclusive.
true if included, false if not.public void setDateFrom(string date)
Set the from date.
public void setDateTo(mixed date)
Set the to date. param return string date The to date.
Search criteria.