Класс определяет объект - избранные товары
|
| __construct () |
|
| addToFavorite ($product_id) |
|
| loadInFavoriteList () |
|
| alreadyInFavorite ($product_id) |
|
| getGuestId () |
|
| getUserId () |
|
| getFavoriteCount () |
|
| getFavoriteList ($page=1, $pageSize=null) |
|
| mergeFavorites () |
|
| removeFromFavorite ($product_id) |
|
| removeAllFromFavorite () |
|
| setGuestId ($guest_id) |
|
| setUserId ($user_id) |
|
| cleanLocalCache () |
|
| __construct (AbstractObject $orm_element, array $options=[]) |
|
| setDefaultOrder ($order) |
|
| getNameField () |
|
| setNameField ($field) |
|
| setAliasField ($field) |
|
| setSortField ($field) |
|
| setIdField ($field) |
|
| getIdField () |
|
| getSiteIdField () |
|
| setLoadOnDelete ($bool) |
|
| setSiteContext ($site_id=null) |
|
| getSiteContext () |
|
| setMultisite ($bool) |
|
| isMultisite () |
|
| resetQueryObject () |
|
| getCleanQueryObject () |
|
| queryObj () |
|
| setQueryObj (\RS\Orm\Request $q) |
|
| defAlias () |
|
| setFilter ($key, $value=null, $type= '=', $prefix= 'AND', array $options=[]) |
|
| clearFilter () |
|
| getList ($page=null, $page_size=null, $order=null) |
|
| getListAsArray ($page=0, $page_size=0, $order= '') |
|
| getListAsResource ($page=0, $page_size=0, $order= '') |
|
| getPagedList ($page_size) |
|
| loadAssocList ($key_field, $value=null) |
|
| getAssocList ($key_field, $value=null) |
|
| setOrder ($order=null, array $values=null) |
|
| setGroup ($group=null) |
|
| getListCount () |
|
| getFirst () |
|
| getOneItem ($id) |
|
| getById ($id, $request=null) |
|
| getElement () |
|
| setElement ($object) |
|
| getElementClass () |
|
| getNewElement () |
|
| save ($id=null, array $user_post=[]) |
|
| addFilterControl (\RS\Html\Filter\Control $filter_control) |
|
| addTableControl (\RS\Html\Table\Control $table_control) |
|
| del (array $ids) |
|
| multiDelete ($ids) |
|
| getSelectList ($first=[]) |
|
| multieditFormView ($tpl_path, $formfile, array $addparam=[]) |
|
| multiUpdate (array $data, $ids=[]) |
|
| moveElement ($from, $to, $flag,\RS\Orm\Request $extra_expr=null) |
|
| noWriteRights ($right=DefaultModuleRights::RIGHT_UPDATE) |
|
| getIdByAlias ($alias_or_id, $alias_field=null) |
|
| saveRequest ($key) |
|
| getIdsByRequest (\RS\Orm\Request $request) |
|
| __set ($name, $value) |
|
| __get ($name) |
|
| __isset ($name) |
|
| __unset ($name) |
|
| addError ($message, $fieldname=null, $form=null) |
|
| hasError () |
|
| getErrors () |
|
| cleanErrors () |
|
| getDisplayErrors () |
|
| getErrorsStr () |
|
| getFormErrors ($form, $separator= ', ') |
|
| getNonFormErrors ($separator= ', ') |
|
| exportErrors () |
|
| importErrors ($data) |
|
|
static | getInstance ($key= 'default') |
|
static | staticSelectList ($first=[]) |
|
static | getSavedRequest ($key, $default=null) |
|
const | WHERE_CONDITION_VAR = 'where_conditions' |
|
| $form_fieldname = [] |
|
| $errors_by_form = [] |
|
| $errors_non_form = [] |
|
| $errors = [] |
|
| parseArrayFilter ($filters) |
|
| filterLike ($key, $value, $type, $prefix, $options) |
|
| filterIs ($key, $value, $type, $prefix, $options) |
|
| filterFullText ($key, $value, $type, $prefix, $options) |
|
| filterIn ($key, $value, $type, $prefix, $options) |
|
| filterNotin ($key, $value, $type, $prefix, $options) |
|
| filterDefault ($key, $value, $type, $prefix, $options) |
|
| setPage ($page, $pageSize) |
|
| moveArrayUp ($arr) |
|
| moveArrayDown ($arr) |
|
static | $instance = [] |
|