Техническая документация Irbis — различия между версиями
(→Comment.php) |
(→GetCriterias($aData)) |
||
(не показаны 192 промежуточные версии 2 участников) | |||
Строка 81: | Строка 81: | ||
= Каталог class = | = Каталог class = | ||
− | == core == | + | == Каталог core == |
− | === locale_map === | + | === Каталог locale_map === |
− | === mpanel === | + | * directory_site_category.php |
+ | * directory_site.php | ||
+ | * manual.php | ||
+ | * rating.php | ||
+ | * translate_message.php | ||
+ | * translate_text.php | ||
+ | |||
+ | === Каталог mpanel === | ||
+ | |||
+ | ==== Каталог spec ==== | ||
+ | |||
+ | * admin.php | ||
+ | * comment.php | ||
+ | * config.php | ||
+ | * constant.php | ||
+ | * content_editor.php | ||
+ | * currency.php | ||
+ | * directory_site_category.php | ||
+ | * directory_site_config.php | ||
+ | * directory_site.php | ||
+ | * drop_down_additional.php | ||
+ | * drop_down_item.php | ||
+ | * drop_down.php | ||
+ | * language.php | ||
+ | * locale_global.php | ||
+ | * news.php | ||
+ | * splash.php | ||
+ | * template.php | ||
+ | * translate_message.php | ||
+ | * translate_text.php | ||
+ | * trash.php | ||
+ | |||
+ | ==== action_array.php ==== | ||
+ | ==== includer.php ==== | ||
+ | ==== xajax_request_parser.php ==== | ||
+ | |||
+ | === Каталог sql === | ||
+ | |||
+ | ==== Каталог init_database ==== | ||
+ | |||
+ | * Каталог update | ||
+ | * capcha_hash.php | ||
+ | * message.php | ||
+ | * news.php | ||
+ | * price_statistic.php | ||
+ | * sms_delayed.php | ||
+ | * vin_request.php | ||
+ | |||
+ | ==== CoreAdminLanguageDenied.php ==== | ||
+ | ==== CoreAdmin.php ==== | ||
+ | ==== CoreAssocLanguage.php ==== | ||
+ | ==== CoreComment.php ==== | ||
+ | ==== CoreConfig.php ==== | ||
+ | ==== CoreConstant.php ==== | ||
+ | ==== CoreCurrency.php ==== | ||
+ | ==== CoreDirectorySiteCategory.php ==== | ||
+ | ==== CoreDirectorySite.php ==== | ||
+ | ==== CoreDropDownAdditional.php ==== | ||
+ | ==== CoreDropDown.php ==== | ||
+ | ==== CoreLanguage.php ==== | ||
+ | ==== CoreNews.php ==== | ||
+ | ==== CoreTemplate.php ==== | ||
+ | ==== CoreTranslateMessage.php ==== | ||
+ | ==== CoreTranslateText.php ==== | ||
+ | ==== CoreTrash.php ==== | ||
+ | ==== CoreUserManagerPrivilege.php ==== | ||
+ | ==== CoreUserManagerRolePrivilege.php ==== | ||
+ | ==== CoreUserRole.php ==== | ||
+ | ==== CoreVinRequest.php ==== | ||
− | |||
=== Admin.php === | === Admin.php === | ||
Строка 110: | Строка 177: | ||
==== $aAdmin ==== | ==== $aAdmin ==== | ||
− | ==== | + | ==== hasAccessTo($sAction) ==== |
− | ==== | + | ==== Admin() ==== |
− | ==== | + | ==== AdminRedirect(<nowiki>$sAction='', $aMessage=array())</nowiki> ==== |
− | ==== | + | ==== PreIndex() ==== |
− | ==== | + | ==== AfterIndex() ==== |
− | ==== | + | ==== SetDefaultTable($oTable, $aWhereData = array()) ==== |
− | ==== | + | ==== ProcessTemplateForm($sPath) ==== |
− | ==== | + | ==== Add($bEdit = false) ==== |
− | ==== | + | ==== Edit() ==== |
− | ==== | + | ==== Apply() ==== |
− | ==== | + | ==== Search() ==== |
− | ==== | + | ==== SearchForm() ==== |
− | ==== | + | ==== BeforeApply() ==== |
− | ==== | + | ==== AfterApply($aBeforeRow,$aAfterRow) ==== |
− | ==== | + | ==== BeforeAddAssign(&$aData) ==== |
− | ==== | + | ==== CheckField() ==== |
− | ==== | + | ==== Delete() ==== |
− | ==== | + | ==== Trash() ==== |
− | ==== | + | ==== Archive() ==== |
− | ==== | + | ==== UnArchive() ==== |
− | ==== | + | ==== ActionToClass($sBaseAction) ==== |
− | ==== | + | ==== Message(<nowiki>$sType = '', $sMessage = '',$sOldObject=''</nowiki>) ==== |
− | ==== | + | ==== GetFilter() ==== |
− | ==== | + | ==== ProcessFCKEditors() ==== |
− | ==== | + | ==== initLocaleGlobal() ==== |
− | ==== | + | ==== GetFCKEditor(<nowiki>$sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode=''</nowiki>) ==== |
− | ==== | + | ==== GetCKEditor(<nowiki>$sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode=''</nowiki>) ==== |
− | ==== | + | ==== DisplayChange() ==== |
− | ==== | + | ==== OrderChange() ==== |
− | ==== | + | ==== IsMpanelUser($sLogin,$sPassword) ==== |
− | ==== | + | ==== SearchStrongChange() ==== |
=== Auth.php === | === Auth.php === | ||
==== $iRememberDays ==== | ==== $iRememberDays ==== | ||
+ | |||
+ | Количество дней хранения cookies. По умолчанию имеет значение 90 дней. | ||
+ | |||
==== $aUser ==== | ==== $aUser ==== | ||
==== $sWhere ==== | ==== $sWhere ==== | ||
==== $bIgnoreCookie ==== | ==== $bIgnoreCookie ==== | ||
− | ==== | + | ==== Login($sLogin, $sPassword, $bIgnoreVisible=false, $bIgnoreEmailConfirmation=true, $bSalt=false, $bCheckPassword=true, $sOtherFieldAsLogin=<nowiki>''</nowiki>) ==== |
− | ==== | + | |
− | ==== | + | ==== Logout() ==== |
− | ==== | + | ==== NeedAuth($sType=<nowiki>''</nowiki>) ==== |
− | ==== | + | |
− | ==== | + | Проверка типа авторизованного пользователя. Если тип совпадает с параметром $sType, то функция возвращает true, если нет - вызывает LoginErrorRedirect(), где формируется сообщение об ошибке. |
− | ==== | + | |
− | ==== | + | ==== LoginErrorRedirect($bSaveReturn=true) ==== |
− | ==== | + | ==== IsAuth() ==== |
− | ==== | + | |
− | ==== | + | Проверяет авторизован ли пользователь. Если да, возвращает true, если нет - false. |
− | ==== | + | |
− | ==== | + | ==== GetUserProfile($iId,$sType='customer') ==== |
− | ==== | + | |
− | ==== | + | Получение информации о пользователе с указанным id в параметре $iId. |
− | ==== | + | |
− | ==== | + | ==== IsUser($sLogin,$sPassword,$bIgnoreVisible=false,$bSalt=false,$sOtherFieldAsLogin=<nowiki>''</nowiki>) ==== |
− | ==== | + | |
− | ==== | + | Проверка существования пользователя с указанным логином и паролем. |
+ | |||
+ | Параметры: | ||
+ | * $sLogin - логин; | ||
+ | * $sPassword - пароль; | ||
+ | * $bIgnoreVisible - указывает учитывать или нет видимость пользователя. По умолчанию false, что означает учитывать видимость; | ||
+ | * $bSalt - ... | ||
+ | * $sOtherFieldAsLogin - ... | ||
+ | |||
+ | ==== IsValidCookie($sCookie) ==== | ||
+ | |||
+ | Проверка валидности cookie. | ||
+ | |||
+ | ==== RefreshSession($aUser) ==== | ||
+ | |||
+ | Обновить сессию пользователя, указанного в параметре $aUser. | ||
+ | |||
+ | ==== RefreshCookie($sLogin,$sPassword,$iIdCustomer) ==== | ||
+ | |||
+ | Обновить cookie пользователя с указанными логином, паролем и id. | ||
+ | |||
+ | ==== FilterLetters($input) ==== | ||
+ | ==== GetIp() ==== | ||
+ | ==== AutoCreateUser() ==== | ||
+ | |||
+ | Автоматическое создание пользователя с рандомным логином и паролем. Необходимо для не зарегистрированных пользователей в разделах сайта по продаже, где нужна регистрация. Возвращает массив стандартного аккаунта пользователя. | ||
+ | |||
+ | ==== CheckLogin($sLogin) ==== | ||
+ | |||
+ | Проверка существования пользователя с логином $sLogin. Если логин занят, возвращает false, логин свободный - true. | ||
+ | |||
+ | ==== GenerateLogin() ==== | ||
+ | |||
+ | Сгенерировать случайный логин. | ||
+ | |||
+ | ==== GeneratePassword() ==== | ||
+ | |||
+ | Сгенерировать случайный пароль. | ||
+ | |||
+ | ==== UpdateLastVisit($aUser) ==== | ||
+ | |||
+ | Обновить в базе время последнего посещения на текущее для пользователя $aUser. | ||
+ | |||
+ | ==== UpdateCustomerReal($iUser) ==== | ||
+ | |||
+ | Подтверждение пользователя с id указанным в параметре $iUser. | ||
+ | |||
+ | ==== CheckPermissions($iIdAction) ==== | ||
+ | |||
+ | Проверка прав доступа к action, id которого $iIdAction. | ||
=== Base.php === | === Base.php === | ||
Строка 182: | Строка 301: | ||
==== $aConst ==== | ==== $aConst ==== | ||
==== $aConstant ==== | ==== $aConstant ==== | ||
+ | |||
+ | Массив переменных из таблицы констант. | ||
+ | |||
==== $aRequest ==== | ==== $aRequest ==== | ||
==== $sText ==== | ==== $sText ==== | ||
==== $aData ==== | ==== $aData ==== | ||
+ | |||
+ | Массив глобальных переменных для всех объектов, которые наследуют класс Base. | ||
+ | |||
==== $sProjectName ==== | ==== $sProjectName ==== | ||
==== $aMenuSection ==== | ==== $aMenuSection ==== | ||
Строка 195: | Строка 320: | ||
==== $aTopPageTemplate ==== | ==== $aTopPageTemplate ==== | ||
==== $sZirHtml ==== | ==== $sZirHtml ==== | ||
− | ==== | + | ==== PreInit() ==== |
− | ==== | + | ==== Init() ==== |
− | ==== | + | |
− | ==== | + | Инициализация базовых переменных. |
− | ==== | + | |
− | ==== | + | ==== ProcessAjax() ==== |
− | ==== | + | ==== Process() ==== |
− | ==== | + | ==== EscapeAll(&$aData) ==== |
− | ==== | + | ==== UnescapeAll(&$aData) ==== |
− | ==== | + | ==== FixParseStrBug(&$aArray) ==== |
− | ==== | + | ==== Redirect($sUrl,$is_check_lower=1) ==== |
− | ==== | + | |
− | ==== | + | Стандартная функция перенаправления. |
− | ==== | + | |
− | ==== | + | <nowiki>Параметры:</nowiki> |
− | ==== | + | * $sUrl - адрес перехода; |
+ | * $is_check_lower - указывает нужно ли привести все буквы указанного URL в нижний регистр. По умолчанию заданно значение 1, что значит по умолчанию приводить в нижний регистр. | ||
+ | |||
+ | ==== LocalLog($sText) ==== | ||
+ | ==== GetSql($sScript, $aData = array()) ==== | ||
+ | ==== UpdateConstant($sKey, $sValue) ==== | ||
+ | |||
+ | Обновление или создание констант, которые используются во всем проекте. | ||
+ | |||
+ | ==== GetConstant($sKey,<nowiki>$sDefaultValue=''</nowiki>) ==== | ||
+ | |||
+ | ==== Message($aMessage=array(),$bGetText=true) ==== | ||
+ | |||
+ | Показывает уведомления (NOTICE), предупреждения (WARNING), ошибки (ERROR) для Index (MI), форм (MF) и таблиц (MT). | ||
+ | |||
+ | Параметры: | ||
+ | * $aMessage - ассоциативный массив ключ (MI_NOTICE, MI_WARNING, MI_ERROR, MF_NOTICE ... , MT_WARNING, ...) - значение (текст сообщения); | ||
+ | * $bGetText - указывает использовать ли функцию getText. По умолчанию true - использовать. | ||
+ | |||
+ | ==== RemoveMessageFromUrl($sUrl) ==== | ||
+ | |||
+ | Удалить массив сообщений aMessage из указанного в параметре URL. | ||
+ | |||
+ | ==== SendSiteInfo() ==== | ||
+ | ==== MstarprojectBase() ==== | ||
=== BaseTemp.php === | === BaseTemp.php === | ||
− | ==== | + | Класс для размещения общих функций, когда для них нет конкретного класса. |
+ | |||
+ | ==== EnumToArray($sTable, $sField) ==== | ||
+ | |||
+ | Функция конвертирования из DB enum/set в массив. | ||
+ | |||
+ | Параметры: | ||
+ | * String $sTable - из какой таблицы; | ||
+ | * String $sField - какие поля должны быть конвертированы. | ||
=== Cache.php === | === Cache.php === | ||
− | ==== | + | ==== Cache() ==== |
− | ==== | + | ==== GetValue($sSection,$sKey) ==== |
− | ==== | + | ==== SetValue($sSection,$sKey,$sValue,$iValidTill=false) ==== |
=== Capcha.php === | === Capcha.php === | ||
==== $aMathematicOperator ==== | ==== $aMathematicOperator ==== | ||
− | ==== | + | |
− | ==== | + | Массив математических операторов для создания уравнения. По умолчанию заданны операторы "+" и "-". |
− | ==== | + | |
− | ==== | + | ==== __construct() ==== |
− | ==== | + | ==== GetMathematic($sTemplate='addon/capcha/mathematic.tpl') ==== |
− | ==== | + | ==== CheckMathematic() ==== |
− | ==== | + | |
− | ==== | + | Проверка введенного пользователем значения уравнения капчи. |
− | ==== | + | ==== GetRandomOperator() ==== |
− | ==== | + | |
− | ==== | + | Возвращает случайный математический оператор из массива $aMathematicOperator. |
− | ==== | + | |
+ | ==== GetRandomOperand() ==== | ||
+ | |||
+ | Возвращает случайное число. | ||
+ | |||
+ | ==== GetValidationHash($sMathematicFormula) ==== | ||
+ | ==== ClearOldHash() ==== | ||
+ | ==== AddHash($sType='mathematic',$sHash) ==== | ||
+ | ==== IsFreeFromCapcha() ==== | ||
+ | ==== SaveLastCapcha() ==== | ||
+ | |||
+ | Сохранить последнюю капчу, для исключения повторов. | ||
+ | |||
+ | ==== GetGraphics() ==== | ||
+ | ==== CheckGraph() ==== | ||
=== Category.php === | === Category.php === | ||
==== $iMaxSubCategorie ==== | ==== $iMaxSubCategorie ==== | ||
− | ==== | + | |
− | ==== | + | Максимально значение подкатегорий для родительского элемента. |
− | ==== | + | |
− | ==== | + | ==== __construct() ==== |
− | ==== | + | ==== Index() ==== |
− | ==== | + | ==== SetAddingColumn() ==== |
− | ==== | + | ==== initLocaleGlobal() ==== |
− | ==== | + | ==== BeforeAdd() ==== |
+ | ==== Move () ==== | ||
+ | ==== Apply() ==== | ||
+ | ==== Delete() ==== | ||
=== Comment.php === | === Comment.php === | ||
− | ==== | + | ==== __construct() ==== |
− | ==== | + | ==== GetCommentList($sSection,$sId,$bXajaxResponse=false,$bHideUnapproved=false) ==== |
− | ==== | + | ==== GetCommentListTree($sSection,$sId,$bXajaxResponse=false) ==== |
− | ==== | + | ==== GetCommentLink($sSection,$sId,$sLink,$bHideUnapproved=false) ==== |
− | ==== | + | ==== Post() ==== |
− | ==== | + | ==== PopupPost() ==== |
− | ==== | + | ==== GetCommentHash($sSection,$aId) ==== |
=== ContactForm.php === | === ContactForm.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== OutputForm($sName) ==== | ||
+ | ==== ProcessForm($sName) ==== | ||
+ | |||
=== DateFormat.php === | === DateFormat.php === | ||
+ | |||
+ | ==== GetBaseDate(<nowiki>$sFormat,$iTimestamp='',$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetDate(<nowiki>$iTimestamp='',$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetTime(<nowiki>$iTimestamp='',$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetDateTime(<nowiki>$iTimestamp='',$iTimeZone=''</nowiki>) ==== | ||
+ | ==== FormatSearch($sSearchDate, $sFormat='Y-m-d H:i:s') ==== | ||
+ | ==== FormatSearchNow() ==== | ||
+ | ==== FormatSearchTomorrow() ==== | ||
+ | ==== GetFileDateTime(<nowiki>$iTimestamp='',$iTimeZone=''</nowiki>,$bShowSecond=true) ==== | ||
+ | ==== GetPostDate($sPostDate,<nowiki>$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetPostDateTime($sPostDate,<nowiki>$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetSqlDate($sNameField="post_date") ==== | ||
+ | ==== GetSqlStrToDate($sPostDate) ==== | ||
+ | ==== GetNextMonth($sPostDate) ==== | ||
+ | ==== Seconds2Times($seconds) ==== | ||
+ | |||
+ | Преобразование секунд $seconds в секунды/минуты/часы/дни/года. | ||
+ | |||
+ | Возвращает массив $times: | ||
+ | * $times[0] - секунды | ||
+ | * $times[1] - минуты | ||
+ | * $times[2] - часы | ||
+ | * $times[3] - дни | ||
+ | * $times[4] - года | ||
+ | |||
+ | ==== NameIntervalDate($aDiffDate) ==== | ||
+ | |||
=== Db.php === | === Db.php === | ||
+ | |||
+ | ==== Execute($sSql,$aInput=false) ==== | ||
+ | |||
+ | Выполнить SQL запрос. | ||
+ | |||
+ | Параметры: | ||
+ | * $sSql - SQL запрос для выполнения, или возможно массив, в котором содержится запрос ($sql[0] будет содержать SQL запрос); | ||
+ | * $aInput - массив входных данных для связывания. Пустые элементы будут установлены в null. | ||
+ | |||
+ | Возвращает RecordSet или false. | ||
+ | |||
+ | ==== GetAll($sSql) ==== | ||
+ | |||
+ | Выполняет SQL запрос и возвращает результат в виде массива ([0]=>array(field=>value, ...),[1]=>array(....)). | ||
+ | |||
+ | ==== GetAssoc($sSql, $aData=array(), $bReturnSql=false) ==== | ||
+ | |||
+ | Выполняет SQL запрос и получает результат в виде ассоциативного массива array(id1=>array(f1,f2 ...),id2=>array(f1,f2 ...)). | ||
+ | |||
+ | ==== GetRow($sSql) ==== | ||
+ | |||
+ | Выполняет SQL запрос и получает строку таблицы в виде массива array (fild=>value, fild2=>value2 ...). | ||
+ | |||
+ | ==== GetOne($sSql) ==== | ||
+ | |||
+ | Выполняет SQL запрос и получает одно значение. | ||
+ | |||
+ | ==== AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false) ==== | ||
+ | ==== Debug() ==== | ||
+ | ==== LogSql($bEnable=true) ==== | ||
+ | ==== InsertId() ==== | ||
+ | ==== AffectedRow() ==== | ||
+ | ==== StartTrans() ==== | ||
+ | ==== FailTrans() ==== | ||
+ | ==== CompleteTrans() ==== | ||
+ | ==== Escape($aData) ==== | ||
+ | ==== GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null) ==== | ||
+ | ==== SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0) ==== | ||
+ | ==== GetTableInfo($sType='') ==== | ||
+ | ==== SetWhere(&$sWhere,$aData,$sDataField,$sPrefix,$sTableField="") ==== | ||
+ | ==== GetDateFormat($sNameField="post_date", $sFormat="") ==== | ||
+ | ==== GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="") ==== | ||
+ | |||
=== Dbtree.php === | === Dbtree.php === | ||
+ | |||
+ | ==== $ERRORS ==== | ||
+ | ==== $ERRORS_MES ==== | ||
+ | ==== $table ==== | ||
+ | ==== $table_id ==== | ||
+ | ==== $table_left ==== | ||
+ | ==== $table_right ==== | ||
+ | ==== $table_level ==== | ||
+ | ==== $res ==== | ||
+ | ==== Dbtree($table="", $prefix="") ==== | ||
+ | ==== Clear($data = array()) ==== | ||
+ | ==== GetNodeInfo($section_id, $cache = FALSE) ==== | ||
+ | ==== GetParentInfo($section_id, <nowiki>$condition = ''</nowiki>, $cache = FALSE) ==== | ||
+ | ==== Insert($section_id, <nowiki>$condition = ''</nowiki>, $data = array()) ==== | ||
+ | |||
+ | Добавить новый элемент в дерево для элемента с номером $section_id. | ||
+ | |||
+ | Параметры: | ||
+ | * $section_id - номер родительского элемента; | ||
+ | * $condition- array('and' => array('id = 0', 'id2 >= 3'), 'or' => array('sec = \'www\'', 'sec2 <> \'erere\'')), и т.д., где ключ - (AND, OR, т.д.), значение - строка условия; | ||
+ | * $data - содержит параметры дополнительных полей дерева (если есть): array('filed name' => 'importance', etc) | ||
+ | |||
+ | ==== InsertNear($ID, <nowiki>$condition = ''</nowiki>, $data = array()) ==== | ||
+ | |||
+ | Добавить новый элемент в дереве возле элемента с идентификационным номером $ID. | ||
+ | |||
+ | Параметры: | ||
+ | * $ID - номер родительского элемента; | ||
+ | * $condition- array('and' => array('id = 0', 'id2 >= 3'), 'or' => array('sec = \'www\'', 'sec2 <> \'erere\'')), и т.д., где ключ - (AND, OR, т.д.), значение - строка условия; | ||
+ | * $data - содержит параметры дополнительных полей дерева (если есть): array('filed name' => 'importance', etc) | ||
+ | |||
+ | ==== MoveAll($ID, $newParentId, <nowiki>$condition = ''</nowiki>) ==== | ||
+ | ==== ChangePosition($id1, $id2) ==== | ||
+ | |||
+ | Изменить позицию элемента. | ||
+ | |||
+ | Параметры: | ||
+ | * $id1 - ID первого элемента; | ||
+ | * $id2 - ID второго элемента. | ||
+ | |||
+ | Возвращает true если операция прошла успешно, иначе - false. | ||
+ | |||
+ | ==== ChangePositionAll($id1, $id2, $position = 'after', <nowiki>$condition = ''</nowiki>) ==== | ||
+ | |||
+ | Перестановка узлов в пределе того же уровня и ограничение одного из родителей со всеми своими детьми: $id1 стоит перед или после $id2. | ||
+ | |||
+ | Параметры: | ||
+ | * integer $id1 - ID первого элемента; | ||
+ | * integer $id2 - ID второго элемента; | ||
+ | * string $position - 'before' или 'after' $id2; | ||
+ | * $condition - array('and' => array('id = 0', 'id2 >= 3'), 'or' => array('sec = \'www\'', 'sec2 <> \'erere\'')), и т.д., где ключ - (AND, OR, т.д.), значение - строка условия; | ||
+ | |||
+ | Возвращает true если операция прошла успешно, иначе - false. | ||
+ | |||
+ | ==== Delete($ID, <nowiki>$condition = ''</nowiki>) ==== | ||
+ | |||
+ | Удалить элемент с номером $ID из дерева, не удаляя его потомков. | ||
+ | |||
+ | ==== DeleteAll($ID, <nowiki>$condition = ''</nowiki>) ==== | ||
+ | |||
+ | Удалить элемент с номером $ID из дерева и всех его потомков. | ||
+ | |||
+ | ==== Full($fields, <nowiki>$condition = ''</nowiki>, $cache = FALSE) ==== | ||
+ | ==== Branch($ID, $fields, <nowiki>$condition = ''</nowiki>, $cache = FALSE) ==== | ||
+ | |||
+ | Возвращает все элементы ветви, начиная с элемента с номером $ID. | ||
+ | |||
+ | ==== Parents($ID, $fields, <nowiki>$condition = ''</nowiki>, $cache = FALSE) ==== | ||
+ | |||
+ | Возвращает все родительские элементы элемента с номером $ID. | ||
+ | |||
+ | ==== Ajar($ID, $fields, <nowiki>$condition = ''</nowiki>, $cache = FALSE, $sOpenLevel='1') ==== | ||
+ | ==== AjarBranch($ID, $fields, <nowiki>$condition = ''</nowiki>, $cache = FALSE, $sOpenLevel='1') ==== | ||
+ | ==== RecordCount() ==== | ||
+ | ==== NextRow() ==== | ||
+ | ==== _PrepareCondition($condition, $where = FALSE, <nowiki>$prefix = ''</nowiki>) ==== | ||
+ | ==== GetAllData() ==== | ||
+ | ==== GetAssocData() ==== | ||
+ | ==== FullTree($with_space=false) ==== | ||
+ | ==== FullFoSelect($with_space=false) ==== | ||
+ | ==== MoveItem($id,$to=-1) ==== | ||
+ | ==== AddSpaceItem($a,$iSpace=6 ) ==== | ||
+ | ==== GetData($sType, $id=1, <nowiki>$fields = '', $condition = ''</nowiki>, $cache = false, $iSpace=0, $bAssoc=false, $sOpenLevel='1') ==== | ||
+ | |||
=== Debug.php === | === Debug.php === | ||
+ | |||
+ | ==== PrintPre($sVariable,$bDie=true,$bReturn=false) ==== | ||
+ | ==== PrintPreTpl($sVariable,$bDie=true) ==== | ||
+ | ==== GetMicrotime() ==== | ||
+ | ==== WriteToLog($sFile,$data) ==== | ||
+ | |||
=== DirectorySite.php === | === DirectorySite.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Prepare() ==== | ||
+ | ==== CategoryChange() ==== | ||
+ | ==== ListCategory() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Preview() ==== | ||
+ | |||
=== ExcelOld.php === | === ExcelOld.php === | ||
+ | |||
+ | ==== class ExcelOld ==== | ||
+ | |||
+ | ===== $oExcel ===== | ||
+ | ===== $aStyle ===== | ||
+ | ===== $aStyleBold ===== | ||
+ | ===== $aStyleRight ===== | ||
+ | ===== $aStyleLeft ===== | ||
+ | ===== $aStyleBorderThickLeft ===== | ||
+ | ===== $aStyleBorderThickRight ===== | ||
+ | ===== $aStyleFormatText ===== | ||
+ | ===== $oWriter ===== | ||
+ | ===== $oDrawing ===== | ||
+ | ===== Excel() ===== | ||
+ | ===== SetActiveSheetIndex($i=0) ===== | ||
+ | ===== GetActiveSheet() ===== | ||
+ | ===== SetShowSummaryBelow($sState=true) ===== | ||
+ | ===== SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false) ===== | ||
+ | ===== SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="") ===== | ||
+ | ===== SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING) ===== | ||
+ | ===== SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true) ===== | ||
+ | ===== SetAutoSize($aHeader) ===== | ||
+ | ===== DuplicateStyleArray($sRange="", $sColor="", $aStyle=array()) ===== | ||
+ | ===== SetTitle($sTitle="") ===== | ||
+ | ===== WriterExcel5($sFileNameFull,$bOutput=false) ===== | ||
+ | ===== WriterExcel7($sFileNameFull) ===== | ||
+ | ===== SetDefaultFont($sName, $iSize=0) ===== | ||
+ | ===== ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true ) ===== | ||
+ | ===== ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true ) ===== | ||
+ | ===== SetPrintBreak($sCordinate) ===== | ||
+ | ===== SetRowToRepeat($iRowStart,$iRowEnd) ===== | ||
+ | ===== MergeCell($sRange) ===== | ||
+ | ===== WriterPdf($sFileNameFull,$bOutput=false) ===== | ||
+ | ===== WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0) ===== | ||
+ | ===== WriterHtml($sFileNameFull) ===== | ||
+ | ===== GetRowHeight($iRow) ===== | ||
+ | ===== SetRowHeight($iRow,$dSize) ===== | ||
+ | ===== SetColWidth($sCol,$dSize) ===== | ||
+ | ===== GetReadData() ===== | ||
+ | ===== GetSpreadsheetData() ===== | ||
+ | ===== GetMergeCell() ===== | ||
+ | ===== CreateSheet() ===== | ||
+ | ===== RemoveSheet($iSheet) ===== | ||
+ | ===== SetProtectionFile($sPassword="12345") ===== | ||
+ | ===== SetDrawing($sCordinate,$sFullPath,$iHeight=0) ===== | ||
+ | ===== freezePane($sCell) ===== | ||
+ | ===== RemoveRow($iRow) ===== | ||
+ | ===== CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true) ===== | ||
+ | ===== SetWrapText($sRange) ===== | ||
+ | ===== GetNextColumn($sColumn="") ===== | ||
+ | ===== SetCreateReader() ===== | ||
+ | ===== CreateObjectExcel2007() ===== | ||
+ | |||
+ | |||
+ | ==== class chunkReadFilter ==== | ||
+ | |||
+ | ===== $_startRow ===== | ||
+ | ===== $_endRow ===== | ||
+ | ===== __construct() ===== | ||
+ | ===== readCell($column, $row, <nowiki>$worksheetName = ''</nowiki>) ===== | ||
+ | |||
+ | ===== setRows($startRow, $chunkSize) ===== | ||
+ | |||
=== Excel.php === | === Excel.php === | ||
+ | |||
+ | ==== class Excel ==== | ||
+ | |||
+ | ===== $oExcel ===== | ||
+ | ===== $aStyle ===== | ||
+ | ===== $aStyleBold ===== | ||
+ | ===== $aStyleRight ===== | ||
+ | ===== $aStyleLeft ===== | ||
+ | ===== $aStyleBorderThickLeft ===== | ||
+ | ===== $aStyleBorderThickRight ===== | ||
+ | ===== $aStyleFormatText ===== | ||
+ | ===== $oWriter ===== | ||
+ | ===== $oDrawing ===== | ||
+ | ===== __destruct() ===== | ||
+ | ===== Excel() ===== | ||
+ | ===== SetActiveSheetIndex($i=0) ===== | ||
+ | ===== GetActiveSheet() ===== | ||
+ | ===== SetShowSummaryBelow($sState=true) ===== | ||
+ | ===== SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false) ===== | ||
+ | ===== SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="") ===== | ||
+ | ===== SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING) ===== | ||
+ | ===== SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true) ===== | ||
+ | ===== SetAutoSize($aHeader) ===== | ||
+ | ===== DuplicateStyleArray($sRange="", $sColor="", $aStyle=array()) ===== | ||
+ | ===== SetTitle($sTitle="") ===== | ||
+ | ===== WriterExcel5($sFileNameFull,$bOutput=false) ===== | ||
+ | ===== WriterExcel7($sFileNameFull,$bOutput=false) ===== | ||
+ | ===== SetDefaultFont($sName, $iSize=0) ===== | ||
+ | ===== ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true ) ===== | ||
+ | ===== ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true ) ===== | ||
+ | ===== SetPrintBreak($sCordinate) ===== | ||
+ | ===== SetRowToRepeat($iRowStart,$iRowEnd) ===== | ||
+ | ===== MergeCell($sRange) ===== | ||
+ | ===== WriterPdf($sFileNameFull,$bOutput=false) ===== | ||
+ | ===== WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0) ===== | ||
+ | ===== WriterHtml($sFileNameFull) ===== | ||
+ | ===== GetRowHeight($iRow) ===== | ||
+ | ===== SetRowHeight($iRow,$dSize) ===== | ||
+ | ===== SetColWidth($sCol,$dSize) ===== | ||
+ | ===== GetReadData() ===== | ||
+ | ===== GetSpreadsheetData() ===== | ||
+ | ===== GetMergeCell() ===== | ||
+ | ===== CreateSheet() ===== | ||
+ | ===== RemoveSheet($iSheet) ===== | ||
+ | ===== SetProtectionFile($sPassword="12345") ===== | ||
+ | ===== SetDrawing($sCordinate,$sFullPath,$iHeight=0) ===== | ||
+ | ===== freezePane($sCell) ===== | ||
+ | ===== RemoveRow($iRow) ===== | ||
+ | ===== CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true) ===== | ||
+ | ===== SetWrapText($sRange) ===== | ||
+ | ===== GetNextColumn($sColumn="") ===== | ||
+ | ===== SetCreateReader() ===== | ||
+ | ===== CreateObjectExcel2007() ===== | ||
+ | |||
+ | |||
+ | ==== class chunkReadFilter ==== | ||
+ | ===== $_startRow ===== | ||
+ | ===== $_endRow ===== | ||
+ | ===== __construct() ===== | ||
+ | ===== readCell($column, $row, <nowiki>$worksheetName = ''</nowiki>) ===== | ||
+ | |||
+ | ===== setRows($startRow, $chunkSize) ===== | ||
+ | |||
=== FileCache.php === | === FileCache.php === | ||
+ | |||
+ | ==== Cache() ==== | ||
+ | ==== GetValue($sSection,$sKey,$bAddIndexDB=false) ==== | ||
+ | ==== SetValue($sSection,$sKey,$sValue,$bAddIndexDb=false) ==== | ||
+ | |||
=== File.php === | === File.php === | ||
+ | |||
+ | ==== GetFromDir($sPathToDir, $bComparative=true) ==== | ||
+ | |||
+ | Получить файлы из директории. | ||
+ | |||
+ | Параметры: | ||
+ | * string $sPathToDir - путь к директории; | ||
+ | * boolean $bComparative - путь к директории относительный (true) или полный (false). | ||
+ | |||
+ | ==== RemoveToDir($aFile, $sPathToDir, $bComparative=true, $bAddTime=true, $bDeleteBefore=true) ==== | ||
+ | ==== Write($aFile,$sContent,$sMode="w") ==== | ||
+ | |||
+ | Записать в файл. | ||
+ | |||
+ | Параметры: | ||
+ | * array $aFile - array('name'=>'FileName', 'path'=>'FilePath'); | ||
+ | * string $sContent - данные, которые нужно записать; | ||
+ | * string $sMode - модификатор доступа к файлу. | ||
+ | |||
+ | ==== Extract($sPathToFile, $sPathToExtract) ==== | ||
+ | |||
+ | Извлечь из архива. | ||
+ | |||
+ | Параметры: | ||
+ | * $sPathToFile - путь к архиву; | ||
+ | * $sPathToExtract - путь для распаковки. | ||
+ | |||
+ | Возвращает array(0=>array(name=>...,path=>...),...) | ||
+ | |||
+ | ==== ExtractForPrice($sPathToFile, $sPathToExtract) ==== | ||
+ | ==== ExtractFirstFile($sPathToFile, $sPathToExtract) ==== | ||
+ | |||
+ | Извлечь из архива первый файл. | ||
+ | |||
+ | Параметры: | ||
+ | * $sPathToFile - путь к архиву; | ||
+ | * $sPathToExtract - путь для распаковки. | ||
+ | |||
+ | Возвращает array(0=>array(name=>...,path=>...),...) | ||
+ | |||
+ | ==== CheckFileUpload($aFile) ==== | ||
+ | |||
=== Form.php === | === Form.php === | ||
+ | |||
+ | ==== $sHeader ==== | ||
+ | ==== $sAdditionalTitle ==== | ||
+ | ==== $sTitle ==== | ||
+ | |||
+ | Заголовок формы. | ||
+ | |||
+ | ==== $sContent ==== | ||
+ | ==== $sClass ==== | ||
+ | ==== $sSubmitButton ==== | ||
+ | ==== $sSubmitAction ==== | ||
+ | ==== $sReturnButton ==== | ||
+ | ==== $sReturnAction ==== | ||
+ | ==== $sError ==== | ||
+ | ==== $sErrorNT ==== | ||
+ | ==== $sHidden ==== | ||
+ | ==== $sConfirmText ==== | ||
+ | ==== $bIsPost ==== | ||
+ | ==== $sWidth ==== | ||
+ | ==== $bShowBottomForm ==== | ||
+ | ==== $bConfirmSubmit ==== | ||
+ | ==== $sButtonsPadding ==== | ||
+ | ==== $bAutoReturn ==== | ||
+ | ==== $sAdditionalButton ==== | ||
+ | ==== $sAdditionalButtonTemplate ==== | ||
+ | ==== $sReturn ==== | ||
+ | ==== $sRightTemplate ==== | ||
+ | ==== $bSetDefault ==== | ||
+ | ==== $sTemplatePath ==== | ||
+ | ==== $sBeforeContent ==== | ||
+ | ==== $sAfterContent ==== | ||
+ | ==== $sTitleDivHeader ==== | ||
+ | ==== $sReturnButtonClass ==== | ||
+ | ==== $sSubmitButtonClass ==== | ||
+ | ==== $bReturnAfterSubmit ==== | ||
+ | ==== $sButtonSpanClass ==== | ||
+ | ==== $sButtonDivClass ==== | ||
+ | ==== $aField ==== | ||
+ | |||
+ | Массив полей для динамического создания формы. | ||
+ | |||
+ | ==== $bType ==== | ||
+ | |||
+ | Тип создания формы: | ||
+ | * static - статически из шаблона; | ||
+ | * generate - генерирование из заданных полей $aField. | ||
+ | |||
+ | ==== __construct($aData=array()) ==== | ||
+ | ==== GetForm(<nowiki>$sContent=''</nowiki>) ==== | ||
+ | |||
+ | Получить шаблон формы. | ||
+ | |||
+ | ==== ShowError($sError) ==== | ||
+ | ==== BeforeReturn($sAction,<nowiki>$sEditAction=''</nowiki>) ==== | ||
+ | |||
+ | ==== AfterReturn($sAction,<nowiki>$sMessage=''</nowiki>) ==== | ||
+ | |||
+ | ==== RedirectAuto($sMessage="") ==== | ||
+ | ==== Error404($bRedirectMissing=false) ==== | ||
+ | |||
=== HtmlDom.php === | === HtmlDom.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== AddCreateOption($sSelectId, $sOptionText, $sOptionValue) ==== | ||
+ | |||
+ | Добавить значение (option) в список элемента select на стороне клиента. | ||
+ | |||
+ | Параметры: | ||
+ | * int $sSelectId - id элемента select; | ||
+ | * String $sOptionText - текст элемента списка; | ||
+ | * String $sOptionValue - значение элемента списка. | ||
+ | |||
+ | ==== AddCreateOptions($sSelectId, $aOptions) ==== | ||
+ | |||
+ | Добавить в select несколько значений определенных в массиве $aOptions. | ||
+ | |||
+ | Параметры: | ||
+ | * int $sSelectId - id элемента select; | ||
+ | * array $aOptions - массив элементов списка options[key][value]. | ||
+ | |||
=== ImageProcess.php === | === ImageProcess.php === | ||
+ | |||
+ | ==== $aDisallowedExtension ==== | ||
+ | |||
+ | Массив недопустимых расширений. По умолчанию ".php". | ||
+ | |||
+ | ==== $aAllowedExtension ==== | ||
+ | |||
+ | Массив допустимых расширений. По умолчанию '.gif','.jpg','.jpeg','.png'. | ||
+ | |||
+ | ==== GetUploadedImage($sFieldName, $iMaxUploaded=3, $sTargetPath='/imgbank/Image/' ,$iIdCustom='', $iBigWidth=600, $iSmallWidth=80, $bLeaveOriginal=false) ==== | ||
+ | |||
+ | Загрузка и изменение размера изображений. | ||
+ | |||
+ | Параметры: | ||
+ | * $sFieldName | ||
+ | * $iMaxUploaded | ||
+ | * $sTargetPath | ||
+ | * $iIdCustom - ID of object of images for name creation | ||
+ | * $iBigWidth | ||
+ | * $iSmallWidth | ||
+ | |||
+ | Возвращает массив загруженных и измененных по размеру изображений. | ||
+ | |||
+ | ==== ImageResize($sSource, $sDestination, $iNewWidth, $sExtension) ==== | ||
+ | |||
+ | |||
+ | Изменение размера изображения. | ||
+ | |||
+ | ==== CreateSubnail($sSource,$sTargetPath='/imgbank/Image/',$iIdCustom='',$iBigWidth=600,$iMiddleWidth=300,$iSmallWidth=100) ==== | ||
+ | ==== ParseExtension($sPath) ==== | ||
+ | |||
=== Language.php === | === Language.php === | ||
+ | |||
+ | ==== $aTranslateMessage ==== | ||
+ | ==== $aTranslateText ==== | ||
+ | ==== $aContextHint ==== | ||
+ | ==== $sLocale ==== | ||
+ | ==== $iLocale ==== | ||
+ | ==== $aLanguageList ==== | ||
+ | ==== $aLanguageAssoc ==== | ||
+ | ==== $sBaseLocale ==== | ||
+ | ==== $aOldParser ==== | ||
+ | ==== __construct(<nowiki>$sBaseLocale = ''</nowiki>) ==== | ||
+ | |||
+ | ==== GetLocale() ==== | ||
+ | ==== GetMessage($sKey, $sPage = "") ==== | ||
+ | |||
+ | Получить локализованное значение для надписи. | ||
+ | |||
+ | ==== GetDMessage($sKey, $sPage = "") ==== | ||
+ | ==== GetText($sKey, $sPage = "") ==== | ||
+ | |||
+ | Получить локализованное значение для HTML текстов. | ||
+ | |||
+ | ==== GetContextHint($sKey, $bUnique = false) ==== | ||
+ | ==== GetOrderStatus($sKey) ==== | ||
+ | ==== PrintPrice($dAmount,$bAbs=false,$bInvert=false,<nowiki>$sOutputType='',$sPriceType=''</nowiki>) ==== | ||
+ | |||
+ | ==== PrintCurrencyPrice($dAmount,$sCurrency='USD') ==== | ||
+ | ==== PrintPriceByType($dAmount,$sPriceType='USD') ==== | ||
+ | ==== Price($dAmount, <nowiki>$sPriceType=''</nowiki>,$bAbs=false,$bInvert=false) ==== | ||
+ | |||
+ | ==== GetDate(<nowiki>$iTimestamp = '', $iTimeZone = ''</nowiki>,$bCurrentForce=false) ==== | ||
+ | |||
+ | ==== GetDateTime(<nowiki>$iTimestamp = '', $iTimeZone = ''</nowiki>) ==== | ||
+ | |||
+ | ==== GetPostDate($sPostDate,<nowiki>$iTimeZone=''</nowiki>) ==== | ||
+ | |||
+ | ==== GetPostDateTime($sPostDate,<nowiki>$iTimeZone=''</nowiki>) ==== | ||
+ | |||
+ | ==== FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s') ==== | ||
+ | ==== GetLocalizedRow($aData) ==== | ||
+ | ==== GetLocalizedAll($aData, $bReturnSql=false, <nowiki>$sAssocField = ''</nowiki>) ==== | ||
+ | |||
+ | ==== Array2Hash($data, <nowiki>$key_array = ''</nowiki>) ==== | ||
+ | |||
+ | ==== GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false) ==== | ||
+ | ==== GetConstant($sKey,<nowiki>$sDefaultValue=''</nowiki>) ==== | ||
+ | |||
+ | ==== GetMessageArray($aArrayKey, $sPage = "") ==== | ||
+ | ==== IncludeLocaleMap($sMap) ==== | ||
+ | ==== AddOldParser($sObject,$iId) ==== | ||
+ | ==== ReplaceOldParser($sOutput) ==== | ||
+ | ==== GetCatalogMessage($sKey, $sPage = "") ==== | ||
+ | ==== GetTranslit($sString, $sCharset='utf-8') ==== | ||
+ | |||
+ | Перевести текст в транслит. | ||
+ | |||
+ | ==== PrintPriceCalc($aPrice) ==== | ||
+ | ==== SetText($sKey, $sContent = "") ==== | ||
+ | |||
=== LocaleGlobal.php === | === LocaleGlobal.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== GetLocaleMap($sTableName) ==== | ||
+ | ==== Edit() ==== | ||
+ | ==== Apply() ==== | ||
+ | |||
=== Log.php === | === Log.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== VisitAdd() ==== | ||
+ | |||
+ | Добавить визит пользователя в логи посещений. | ||
+ | |||
+ | ==== AdminAdd(<nowiki>$sAction,$sTableName='',$sBeforeApply='',$sAfterApply=''</nowiki>) ==== | ||
+ | |||
+ | Записать логи запроса администратора в mpanel. | ||
+ | |||
+ | ==== FinanceAdd($aData,$sSection,<nowiki>$iIdUser='',$sDescription,$sCreatedBy=''</nowiki>) ==== | ||
+ | ==== GlobalAdd($aData,$sSection,<nowiki>$iIdUser=''</nowiki>) ==== | ||
+ | ==== OrderAdd($aData,$sSection,<nowiki>$iIdUser=''</nowiki>) ==== | ||
+ | |||
=== Mail.php === | === Mail.php === | ||
+ | |||
+ | ==== $bAddedNoRply ==== | ||
+ | ==== SendNow($sAddress,$sSubject,$sBody,<nowiki>$sFrom='',$sFromName='',$sCc=''</nowiki>,$iLanguage=null, $bFromDelayed=false, $iPriority=5) ==== | ||
+ | ==== SendAttach($sAddress,$sSubject,$sBody,$aAttachment=array(),<nowiki>$sCc='',$sFrom='',$sFromName=''</nowiki>,$sCharSet = 'cp1251') ==== | ||
+ | ==== AddDelayed(<nowiki>$sAddress,$sSubject,$sBody,$sFromEmail='',$sFromName='',$bCheckEmail=true, $iPriority=5 ,$sAttachCode='',$sDescription='',$sSendAfterDate=''</nowiki>) ==== | ||
+ | |||
+ | ==== SendDelayed($iLetter=1) ==== | ||
+ | ==== OpenAccount($sHost,$iPort,$sUsername,$sPassword,$sType="pop3",$sFolder="",$bSsl=false) ==== | ||
+ | ==== GetEmailCount($oAccount) ==== | ||
+ | ==== GetEmailHeader($oAccount,$iNumberEmail) ==== | ||
+ | ==== GetAttachment($oAccount,$iNumberEmail) ==== | ||
+ | ==== DecodeMimeString($sString) ==== | ||
+ | ==== DeleteEmail($oAccount,$iNumberEmail) ==== | ||
+ | ==== CloseAcount($oAccount) ==== | ||
+ | ==== GetSenderEmail($oAccount,$iNumberEmail) ==== | ||
+ | |||
=== Message.php === | === Message.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Prepare() ==== | ||
+ | ==== MoveToFolder() ==== | ||
+ | ==== Reply() ==== | ||
+ | ==== Forward() ==== | ||
+ | ==== Send() ==== | ||
+ | ==== Draft() ==== | ||
+ | ==== Compose() ==== | ||
+ | ==== Delete() ==== | ||
+ | ==== Clear() ==== | ||
+ | ==== Preview() ==== | ||
+ | ==== ChangeCurrentFolder() ==== | ||
+ | ==== MessageNumber($iIdUser,$iIdMessageFolder) ==== | ||
+ | ==== CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser='',$sUserFrom='') ==== | ||
+ | ==== SendMessage($sTo,$sSubject,$sText,<nowiki>$iIdMessage=''</nowiki>,$bSendEmail=true) ==== | ||
+ | |||
+ | ==== DeleteMessage($iId) ==== | ||
+ | ==== EraseMessage($iId) ==== | ||
+ | ==== MoveMessage($iId,$iIdMessageFolder) ==== | ||
+ | ==== getUserList($aLogin) ==== | ||
+ | ==== ReadMessage($iId) ==== | ||
+ | ==== CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId='',$iPriority=3) ==== | ||
+ | ==== CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0) ==== | ||
+ | ==== SendBulkUserNotification(<nowiki>$sAdditionalWhere=''</nowiki>) ==== | ||
+ | |||
+ | ==== PreviewUserNotification() ==== | ||
+ | ==== AddNote($iIdUser,$sName,$sDescription,$sUrl='',$sReplyTo='') ==== | ||
+ | |||
+ | ==== CheckNote() ==== | ||
+ | ==== NoteClose() ==== | ||
+ | ==== CreateCustomerIdExcel($aUserNotification) ==== | ||
+ | |||
=== Payment.php === | === Payment.php === | ||
+ | |||
+ | ==== $aWebmoneyPurse ==== | ||
+ | ==== $aMoneyBookersCurrency ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== WebmoneyResult() ==== | ||
+ | ==== WebmoneySuccess() ==== | ||
+ | ==== WebmoneyFail() ==== | ||
+ | ==== Log($sMethod='webmoney', <nowiki>$sMessage=''</nowiki>) ==== | ||
+ | |||
+ | ==== WebMoneyPayment() ==== | ||
+ | ==== MoneybookersResult() ==== | ||
+ | ==== MoneybookersSuccess() ==== | ||
+ | ==== MoneybookersFail() ==== | ||
+ | ==== MoneybookersPayment() ==== | ||
+ | ==== PaypalResult() ==== | ||
+ | ==== PaypalSuccess() ==== | ||
+ | ==== PaypalFail() ==== | ||
+ | ==== PaypalPayment() ==== | ||
+ | ==== decodeQouta( $str ) ==== | ||
+ | ==== decodeGPC( $str ) ==== | ||
+ | ==== LiqpayResult() ==== | ||
+ | ==== LiqpaySuccess() ==== | ||
+ | ==== LiqpayFail() ==== | ||
+ | ==== LiqpayPayment() ==== | ||
+ | ==== GetLiqpayOperationXml() ==== | ||
+ | ==== ParseTag($rs, $tag) ==== | ||
+ | ==== GetTransactionAccount($sAccountId,<nowiki>$sCurrencyCode=''</nowiki>) ==== | ||
+ | |||
+ | ==== WebtopayResult() ==== | ||
+ | ==== WebtopaySuccess() ==== | ||
+ | ==== WebtopayFail() ==== | ||
+ | ==== WebtopayPayment() ==== | ||
+ | ==== QiwiResult() ==== | ||
+ | ==== QiwiPayment() ==== | ||
+ | ==== MonexyResult() ==== | ||
+ | ==== MonexySuccess() ==== | ||
+ | ==== MonexyFail() ==== | ||
+ | ==== MonexyPayment() ==== | ||
+ | ==== UnitellerResult() ==== | ||
+ | ==== UnitellerSuccess() ==== | ||
+ | ==== UnitellerFail() ==== | ||
+ | ==== UnitellerPayment() ==== | ||
+ | |||
=== Permission.php === | === Permission.php === | ||
+ | |||
+ | |||
+ | ==== $aAllowAction ==== | ||
+ | ==== Init() ==== | ||
+ | ==== AppendPermission() ==== | ||
+ | ==== CheckPermission() ==== | ||
+ | |||
=== PrintContent.php === | === PrintContent.php === | ||
+ | |||
+ | ==== Append($sContent) ==== | ||
+ | ==== Index() ==== | ||
+ | |||
=== Repository.php === | === Repository.php === | ||
+ | |||
+ | |||
+ | ==== $oInstance ==== | ||
+ | ==== $sPrefix ==== | ||
+ | ==== Get() ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== InitDatabase($sModuleName,$bCoreSql=true) ==== | ||
+ | ==== CheckTableExist($sTableName) ==== | ||
+ | ==== CheckUpdate($sModuleName,$bCoreSql=true) ==== | ||
+ | |||
=== Resource.php === | === Resource.php === | ||
+ | |||
+ | ==== $oInstance ==== | ||
+ | ==== $sPrefix ==== | ||
+ | ==== $aLocation ==== | ||
+ | ==== $aHeaderResource ==== | ||
+ | ==== $aResourceVersion ==== | ||
+ | ==== Get() ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Add($sFilePath,$iFileVersion=0,$sLocation='header',$aData=array()) ==== | ||
+ | |||
+ | Добавляет файл в заголовок (header) или в нижний блок страницы (footer) html документа. Это могут быть js или css файлы. | ||
+ | |||
+ | Параметры: | ||
+ | * $sFilePath - путь к файлу; | ||
+ | * $iFileVersion - версия файла. Если указанная версия больше чем уже включенная, то будет включена эта, с версией выше; | ||
+ | * $sLocation - определяет в какой части html документа произвести подключение. По умолчанию имеет значение header. | ||
+ | |||
+ | Пример использования: | ||
+ | <pre> | ||
+ | Resource::Get->Add('/css/main.css',6,'header') | ||
+ | </pre> | ||
+ | |||
+ | ==== FillTemplate() ==== | ||
+ | |||
+ | Вставить все добавленные файлы в выходной шаблон для размещения их в конечном html. Вызывается из функции Base::Process(). | ||
+ | |||
+ | ==== ==== | ||
+ | |||
=== Sms.php === | === Sms.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== FormatNumber($sPhoneNumber) ==== | ||
+ | ==== SendGT($sPhoneNumber, $sMessage, $iTimeout = 10) ==== | ||
+ | ==== SendTurbo($sPhoneNumber, $sMessage, $sSender = 'Partmaster') ==== | ||
+ | ==== SendTurboV2($sPhoneNumber, $sMessage, $sSender = 'Partmaster') ==== | ||
+ | ==== SendNow($sPhoneNumber, $sMessage) ==== | ||
+ | ==== AddDelayed($sPhoneNumber, $sMessage) ==== | ||
+ | ==== SendDelayed($iMessage = 1) ==== | ||
+ | ==== SendClickatell($sPhoneNumber, $sMessage, <nowiki>$sSender =''</nowiki>) ==== | ||
+ | |||
=== String.php === | === String.php === | ||
+ | |||
+ | ==== Serialize($aValue) ==== | ||
+ | |||
+ | Произвести сериализацию массива $aValue. | ||
+ | |||
+ | ==== Unserialize($sValue) ==== | ||
+ | |||
+ | Произвести десериализацию значения $sValue. | ||
+ | |||
+ | ==== FirstNwords($sString, $iWord) ==== | ||
+ | ==== CheckEmail($sEmail) ==== | ||
+ | |||
+ | Валидация email адреса. Возвращает 1 если email соответствует заданному шаблону, 0 - если не соответствует. | ||
+ | |||
+ | ==== FilterRequestData($aData,$aFieldArray=array()) ==== | ||
+ | |||
+ | Фильтрация всех пользовательских данных, которые записываются в базу данных и выводятся на страницы. | ||
+ | |||
+ | Параметры: | ||
+ | * $aData - входящий запрос; | ||
+ | * $aFieldArray - массив строк, которые должны быть добавлены в отфильтрованный результирующий массив | ||
+ | |||
+ | ==== QuoteCommaString($sString) ==== | ||
+ | ==== CheckDomain($sHaystack, $sNeedle) ==== | ||
+ | ==== UtfEncode($sString) ==== | ||
+ | |||
+ | Изменить кодировку строки $sString на utf-8. | ||
+ | |||
+ | ==== GetSmartyTemplate($sKey,$aTemplateData=array(), $bOldStyleTemplate=true) ==== | ||
+ | ==== GetTemplateRow($sKey) ==== | ||
+ | ==== GetPage($sKey, $bShowInvisible=false) ==== | ||
+ | ==== ProcessDropDownAdditional() ==== | ||
+ | ==== ProcessStatic() ==== | ||
+ | ==== GetDecimal($sDouble) ==== | ||
+ | |||
+ | Получить десятичное число из строки $sDouble. | ||
+ | |||
+ | ==== Md5Salt($sPassword,$sSalt) ==== | ||
+ | |||
+ | Шифрование пароля. | ||
+ | |||
+ | ==== GenerateSalt() ==== | ||
+ | ==== GeneratePref($sPrefIn='') ==== | ||
+ | ==== GetUcfirst($sString) ==== | ||
+ | ==== GetUcword($sString) ==== | ||
+ | ==== FormatPhoneNumber($sString,$bNeedCat=TRUE) ==== | ||
+ | ==== CheckUaPhone($sString) ==== | ||
+ | ==== ParseSize($size) ==== | ||
+ | |||
+ | Переводит размер в байты. | ||
+ | |||
+ | ==== FormatSize($size) ==== | ||
+ | |||
+ | Переводит значение количества байт в строковое представление (кб, Мб, Гб и т.д.). | ||
+ | |||
+ | ==== FormatPlural($count, $singular, $plural) ==== | ||
+ | |||
=== Table.php === | === Table.php === | ||
+ | |||
+ | ==== $sType ==== | ||
+ | ==== $aDataFoTable ==== | ||
+ | ==== $sSql ==== | ||
+ | ==== $sTableSql ==== | ||
+ | ==== $aItem ==== | ||
+ | ==== $aColumn ==== | ||
+ | ==== $iRowPerPage ==== | ||
+ | ==== $iRowPerFirstPage ==== | ||
+ | ==== $iRowPerPageGeneral ==== | ||
+ | ==== $iPage ==== | ||
+ | ==== $bShowRowsPerPage ==== | ||
+ | ==== $sActionRowPerPage ==== | ||
+ | ==== $bShowPerPageAll ==== | ||
+ | ==== $iStepNumber ==== | ||
+ | ==== $aOrderedColumn ==== | ||
+ | ==== $aOrdered ==== | ||
+ | ==== $sDefaultOrder ==== | ||
+ | ==== $sWidth ==== | ||
+ | ==== $sClass ==== | ||
+ | ==== $sStepperClass ==== | ||
+ | ==== $sStepperClassTd ==== | ||
+ | ==== $sStepperActiveItemClass ==== | ||
+ | ==== $sStepperInfoClass ==== | ||
+ | ==== $bStepperInfo ==== | ||
+ | ==== $bStepperOutTable ==== | ||
+ | ==== $bStepperHideNoPages ==== | ||
+ | ==== $sCellSpacing ==== | ||
+ | ==== $sDataTemplate ==== | ||
+ | ==== $sButtonTemplate ==== | ||
+ | ==== $sSubtotalTemplate ==== | ||
+ | ==== $sSubtotalTemplateTop ==== | ||
+ | ==== $sAddButton ==== | ||
+ | ==== $sAddAction ==== | ||
+ | ==== $aCallback ==== | ||
+ | ==== $aCallbackAfter ==== | ||
+ | ==== $bSetDefault ==== | ||
+ | ==== $bPearStepper ==== | ||
+ | ==== $bStepperVisible ==== | ||
+ | ==== $bAjaxStepper ==== | ||
+ | ==== $bHeaderVisible ==== | ||
+ | ==== $bHeaderVisibleGroup ==== | ||
+ | ==== $bHeaderNobr ==== | ||
+ | ==== $bCheckVisible ==== | ||
+ | ==== $bCheckRightVisible ==== | ||
+ | ==== $bCheckOnClick ==== | ||
+ | ==== $sCheckAction ==== | ||
+ | ==== $bCheckAllVisible ==== | ||
+ | ==== $sCheckAllAction ==== | ||
+ | ==== $bDefaultChecked ==== | ||
+ | ==== $sCheckAllClass ==== | ||
+ | ==== $bFormAvailable ==== | ||
+ | ==== $sFormAction ==== | ||
+ | ==== $sCheckField ==== | ||
+ | ==== $iAllRow ==== | ||
+ | ==== $bHideTr ==== | ||
+ | ==== $sIdiTr ==== | ||
+ | ==== $sIdForm ==== | ||
+ | ==== $sHeaderRight ==== | ||
+ | ==== $sTemplateName ==== | ||
+ | ==== $sFilterTemplateName ==== | ||
+ | ==== $sPrefix ==== | ||
+ | ==== $sQueryString ==== | ||
+ | ==== $sOrderAscImage ==== | ||
+ | ==== $sOrderDescImage ==== | ||
+ | ==== $sHeaderClassSelect ==== | ||
+ | ==== $bFilterVisible ==== | ||
+ | ==== $aFilter ==== | ||
+ | ==== $sFormHeader ==== | ||
+ | ==== $sStepperAlign ==== | ||
+ | ==== $iGallery ==== | ||
+ | ==== $bIsGallery ==== | ||
+ | ==== $sStepperType ==== | ||
+ | ==== $bStepperOnePageShow ==== | ||
+ | ==== $bCacheStepper ==== | ||
+ | ==== $bTopStepper ==== | ||
+ | ==== $sNoItem ==== | ||
+ | ==== $bCountStepper ==== | ||
+ | ==== $iStepLimit ==== | ||
+ | ==== $bStepperStyling ==== | ||
+ | ==== $bTableWithoytStyle ==== | ||
+ | ==== $iStartStep ==== | ||
+ | ==== $bHeaderType ==== | ||
+ | ==== $sMarkAllText ==== | ||
+ | ==== $sManualLimit ==== | ||
+ | ==== $sButtonSpanClass ==== | ||
+ | ==== $sPanelTemplateTop ==== | ||
+ | ==== $sLinkPrefix ==== | ||
+ | ==== $sLinkRewrite ==== | ||
+ | ==== $sIdTable ==== | ||
+ | ==== $iColspanFilter ==== | ||
+ | ==== $iColspanSearchStrong ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== GetTable(<nowiki>$sHeader = '', $sHint = '',$sStaticHeader='',$sHeaderNT = ''</nowiki>) ==== | ||
+ | |||
+ | ==== getStepper($iRowNumber) ==== | ||
+ | ==== printPage($countPage, $actPage) ==== | ||
+ | ==== getStepperPear($iRowNumber) ==== | ||
+ | ==== getFilter() ==== | ||
+ | ==== Customize() ==== | ||
+ | ==== SetSql($sScript, $aData = array()) ==== | ||
+ | ==== sortArrayCallback($sA, $sB) ==== | ||
+ | ==== setArray($aData) ==== | ||
+ | ==== GetFilteredProductEnding($iCount) ==== | ||
+ | |||
=== Tree.php === | === Tree.php === | ||
+ | |||
+ | ==== $sType ==== | ||
+ | ==== $aDataFoTable ==== | ||
+ | ==== $sSql ==== | ||
+ | ==== $sTableSql ==== | ||
+ | ==== $aItem ==== | ||
+ | ==== $aColumn ==== | ||
+ | ==== $iRowPerPage ==== | ||
+ | ==== $iPage ==== | ||
+ | ==== $iStepNumber ==== | ||
+ | ==== $aOrderedColumn ==== | ||
+ | ==== $aOrdered ==== | ||
+ | ==== $sDefaultOrder ==== | ||
+ | ==== $sWidth ==== | ||
+ | ==== $sClass ==== | ||
+ | ==== $sDataTemplate ==== | ||
+ | ==== $sButtonTemplate ==== | ||
+ | ==== $sSubtotalTemplate ==== | ||
+ | ==== $sAddButton ==== | ||
+ | ==== $sAddAction ==== | ||
+ | ==== $aCallback ==== | ||
+ | ==== $bPearStepper ==== | ||
+ | ==== $bStepperVisible ==== | ||
+ | ==== $bAjaxStepper ==== | ||
+ | ==== $bHeaderVisible ==== | ||
+ | ==== $bCheckVisible ==== | ||
+ | ==== $bCheckAllVisible ==== | ||
+ | ==== $bDefaultChecked ==== | ||
+ | ==== $bFormAvailable ==== | ||
+ | ==== $sCheckField ==== | ||
+ | ==== $iAllRow ==== | ||
+ | ==== $bHideTr ==== | ||
+ | ==== $sHeaderRight ==== | ||
+ | ==== $sTemplateName ==== | ||
+ | ==== $sFilterTemplateName ==== | ||
+ | ==== $sPrefix ==== | ||
+ | ==== $sQueryString ==== | ||
+ | ==== $sOrderAscImage ==== | ||
+ | ==== $sOrderDescImage ==== | ||
+ | ==== $bFilterVisible ==== | ||
+ | ==== $aFilter ==== | ||
+ | ==== $sFormHeader ==== | ||
+ | ==== $sStepperAlign ==== | ||
+ | ==== $iGallery ==== | ||
+ | ==== $bIsGallery ==== | ||
+ | ==== $sStepperType ==== | ||
+ | ==== $bCacheStepper ==== | ||
+ | ==== $bTopStepper ==== | ||
+ | ==== $sNoItem ==== | ||
+ | ==== $bCountStepper ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== getTree(<nowiki>$sHeader = '', $sHint = ''</nowiki>) ==== | ||
+ | |||
+ | ==== getStepper($iRowNumber) ==== | ||
+ | ==== getStepperPear($iRowNumber) ==== | ||
+ | ==== getFilter() ==== | ||
+ | ==== Customize() ==== | ||
+ | ==== setSql($sScript, $aData = array()) ==== | ||
+ | ==== sortArrayCallback($sA, $sB) ==== | ||
+ | ==== setArray($aData) ==== | ||
+ | |||
=== VinRequest.php === | === VinRequest.php === | ||
+ | |||
+ | ==== __construct($bNeedAuth=true) ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Preview() ==== | ||
+ | ==== Manager() ==== | ||
+ | ==== ManagerSave($bRedirect=true) ==== | ||
+ | ==== ManagerSend() ==== | ||
+ | ==== ManagerRefuse() ==== | ||
+ | ==== ManagerRelease($iId) ==== | ||
+ | ==== ManagerMobileNotification($aVinRequest) ==== | ||
+ | ==== GetVinIdList($bReturnArray=false) ==== | ||
+ | ==== ManagerRemember() ==== | ||
+ | |||
=== XajaxParser.php === | === XajaxParser.php === | ||
− | == module == | + | ==== $xajax ==== |
+ | ==== $sXajaxJavascript ==== | ||
+ | |||
+ | == Каталог module == | ||
=== AdminRegulations.php === | === AdminRegulations.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== SinxroTranslate() ==== | ||
+ | ==== InsertIrbis() ==== | ||
+ | ==== GetFromIrbis() ==== | ||
+ | |||
=== Binotel.php === | === Binotel.php === | ||
+ | |||
+ | ==== $oBinotel ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== InputCalls() ==== | ||
+ | ==== OutputCalls() ==== | ||
+ | ==== LostCalls() ==== | ||
+ | ==== CallsByManager() ==== | ||
+ | ==== CallsByNumber() ==== | ||
+ | ==== CallsNow() ==== | ||
+ | ==== Managers() ==== | ||
+ | ==== UserAdd() ==== | ||
+ | ==== UserImport() ==== | ||
+ | ==== UserEdit() ==== | ||
+ | ==== Users() ==== | ||
+ | ==== Call() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== GetCallFromStart() ==== | ||
+ | ==== GetCallRecord($sCallId) ==== | ||
+ | ==== GetCallsNow() ==== | ||
+ | ==== GetLostCalls() ==== | ||
+ | ==== GetCallsByNumber($sNumber) ==== | ||
+ | ==== GetCallsByUser($sUser) ==== | ||
+ | ==== GetCallInfo($sCallId) ==== | ||
+ | ==== GetMyLastCalls($sInternalNumber) ==== | ||
+ | ==== GetMyCallsByDate($sInternalNumber,$iDateStart,$iDateEnd) ==== | ||
+ | ==== GetCallsByDay() ==== | ||
+ | ==== GetCallsByDate($sDateStart,$sDateEnd) ==== | ||
+ | ==== GetInputCalls() ==== | ||
+ | ==== GetOutputputCalls() ==== | ||
+ | ==== GetAllUsers() ==== | ||
+ | ==== GetUserById($iIdUser) ==== | ||
+ | ==== GetUserByNameOrPhone($sNameOrPhone) ==== | ||
+ | ==== CreateBinotelUser(<nowiki>$sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array()</nowiki>) ==== | ||
+ | ==== EditBinotelUser(<nowiki>$sId,$sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array()</nowiki>) ==== | ||
+ | ==== RemoveBinotelUser($iIdUser) ==== | ||
+ | ==== GetClientLabels() ==== | ||
+ | ==== GetAllManagers() ==== | ||
+ | ==== MakeCallToExternal($iInternal,$iExternal) ==== | ||
+ | ==== CallTransfer($iCallId,$iInternalNumber) ==== | ||
+ | ==== KillCall($iCallId) ==== | ||
+ | |||
=== Buh.php === | === Buh.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sCurrentPeriod ==== | ||
+ | ==== $sError ==== | ||
+ | ==== $sDateTo ==== | ||
+ | ==== $sDateFrom ==== | ||
+ | ==== $aActionException ==== | ||
+ | ==== $sCurrentPeriodLastDate ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== SetNextPeriod() ==== | ||
+ | ==== GetLastDate($sDate) ==== | ||
+ | ==== Entry(<nowiki>$aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0</nowiki>) ==== | ||
+ | ==== EntrySingle(<nowiki>$aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0</nowiki>) ==== | ||
+ | ==== EntryMany($aEntry) ==== | ||
+ | ==== CheckParametr($aData) ==== | ||
+ | ==== EntryMonth($sDateMonth, $iAccount, $iAccountSub1=0, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd) ==== | ||
+ | ==== EntryMonthSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd) ==== | ||
+ | ==== EntryMonthMany($aEntry) ==== | ||
+ | ==== EntryMonthStartSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart) ==== | ||
+ | ==== Changeling () ==== | ||
+ | ==== CallParseSum(&$aItem) ==== | ||
+ | ==== CloseMonth() ==== | ||
+ | ==== AddAmount() ==== | ||
+ | ==== ChangeForm() ==== | ||
+ | ==== ChangelingPreview($bVisibleForm=true) ==== | ||
+ | ==== GetSubconto() ==== | ||
+ | ==== GetAmount($sBuhSection,$iBuhSection,$idBuh,$sBuhType='credit') ==== | ||
+ | ==== GetSaldoLast($iSubconto1,$iBuh='361') ==== | ||
+ | |||
=== CallMe.php === | === CallMe.php === | ||
+ | |||
+ | ==== Send() ==== | ||
+ | |||
+ | Обработка отправки заказа звонка. | ||
+ | |||
+ | ==== ShowManager() ==== | ||
+ | |||
+ | Страница "Заказ звонка" для менеджера, где отображаются все заказы звонков, оставленные пользователями. | ||
+ | |||
=== Cart.php === | === Cart.php === | ||
+ | |||
+ | ==== $sExportSql ==== | ||
+ | ==== __construct($bNeedAuth=true) ==== | ||
+ | ==== Index() ==== | ||
+ | ==== CartList() ==== | ||
+ | |||
+ | Содержимое корзины. | ||
+ | |||
+ | ==== AssignDeliveryMethods() ==== | ||
+ | |||
+ | Задать способы доставки товара в переменные шаблона. | ||
+ | |||
+ | ==== CartOnePageOrder() ==== | ||
+ | |||
+ | Обработка оформления заказа для зарегистрированных и незарегистрированных пользователей. | ||
+ | |||
+ | ==== CartOnePageOrderManager() ==== | ||
+ | |||
+ | Обработка оформления заказа менеджером. | ||
+ | |||
+ | ==== CartPrint() ==== | ||
+ | ==== CallParseCart(&$aItem) ==== | ||
+ | ==== AddCartItemChecked() ==== | ||
+ | ==== AddCartItem($iNumber=1,$bRedirect=true,<nowiki>$sReference=''</nowiki>) ==== | ||
+ | ==== CartUpdateNumber() ==== | ||
+ | ==== OrderList() ==== | ||
+ | ==== CallParseOrder(&$aItem) ==== | ||
+ | ==== ParseVinCode($sVinCode, $iCheckVinLen = 17) ==== | ||
+ | ==== PackageConfirm() ==== | ||
+ | ==== PackageDelete() ==== | ||
+ | ==== CheckAccount() ==== | ||
+ | ==== SelectAccount() ==== | ||
+ | ==== ShipmentDetail() ==== | ||
+ | ==== PaymentMethod() ==== | ||
+ | ==== PaymentEnd() ==== | ||
+ | ==== PaymentEndButton() ==== | ||
+ | ==== SendPendingWork($iIdCartPackage) ==== | ||
+ | ==== PackagePrint() ==== | ||
+ | ==== PackageList() ==== | ||
+ | ==== NewAccountError() ==== | ||
+ | ==== NewAccountManagerError() ==== | ||
+ | ==== PopUpGetOwnAuto() ==== | ||
+ | ==== RecalcCartUser($iIdUser,$iIdUserNew,$iIdCartPackage=0) ==== | ||
+ | ==== GetBoardExpiredCartUser($iIdUser) ==== | ||
+ | ==== CartExpiredCountPositions($iUserId = 0) ==== | ||
+ | ==== CartExpiredInfo($iUserId = 0) ==== | ||
+ | ==== OrderByPhone() ==== | ||
+ | ==== NewAccountDeliveryInfoFields() ==== | ||
+ | |||
+ | Создание полей для форм, в которых указывается информация по доставке товара. | ||
+ | |||
+ | ==== CartOnepageDeliveryFields() ==== | ||
+ | |||
+ | Создание полей для выбора способа доставки. | ||
+ | |||
+ | ==== CartOnepagePaymentFields() ==== | ||
+ | |||
+ | Создание полей для выбора способа оплаты. | ||
+ | |||
=== CatalogManager.php === | === CatalogManager.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sPrefixAction ==== | ||
+ | ==== $sPathToFile ==== | ||
+ | ==== Index() ==== | ||
+ | ==== EditName() ==== | ||
+ | ==== EditPic() ==== | ||
+ | ==== UploadManyPics() ==== | ||
+ | ==== UploadPic() ==== | ||
+ | ==== ViewPicList() ==== | ||
+ | ==== UploadMakeCodePic() ==== | ||
+ | ==== AddInfo($aData=array()) ==== | ||
+ | ==== DeleteInfo($aData=array()) ==== | ||
+ | ==== SetItemCodeImage() ==== | ||
+ | ==== ImportImage() ==== | ||
+ | ==== DeleteImportImage() ==== | ||
+ | ==== SetImportImage() ==== | ||
+ | ==== ModelType() ==== | ||
+ | ==== ModelTypeDelete($aData=array()) ==== | ||
+ | ==== AddCatInfo($aData) ==== | ||
+ | ==== UpdateNumber() ==== | ||
+ | |||
=== Catalog.php === | === Catalog.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sPref ==== | ||
+ | ==== $aCode ==== | ||
+ | ==== $aCodeCross ==== | ||
+ | ==== $aItemCodeCross ==== | ||
+ | ==== $aExt ==== | ||
+ | ==== $sPathToFile ==== | ||
+ | ==== $bShowSeparator ==== | ||
+ | ==== $aCat ==== | ||
+ | ==== $aCats ==== | ||
+ | ==== $aModel ==== | ||
+ | ==== $aModelDetail ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== ViewModel() ==== | ||
+ | ==== CallParseModel(&$aItem, $bSeparator=false) ==== | ||
+ | ==== ViewModelGroup() ==== | ||
+ | ==== GetModelPic($aData) ==== | ||
+ | ==== GetModelDescription($aData) ==== | ||
+ | ==== GetModelName($aData) ==== | ||
+ | ==== ViewModelDetail($bShow=false) ==== | ||
+ | ==== ModelFor() ==== | ||
+ | ==== CallParseModelDetail(&$aItem, $bSeparator=false) ==== | ||
+ | ==== ViewAssemblage() ==== | ||
+ | ==== GetBranch($id, $aData) ==== | ||
+ | ==== getAllParent($aTree, $iId, $iRootId, &$aCod) ==== | ||
+ | ==== CallParsePart(&$aItem) ==== | ||
+ | ==== GetNavigator($aData,<nowiki>$sCrumb = ''</nowiki>) ==== | ||
+ | |||
+ | ==== StripCode($sCode) ==== | ||
+ | ==== StripLogin($sCode) ==== | ||
+ | ==== StripCodeSearch($sCode) ==== | ||
+ | ==== StripCodeSql($sField) ==== | ||
+ | ==== GetFormattedCode($sCode,$sPref) ==== | ||
+ | ==== ViewPrice() ==== | ||
+ | ==== GetPriceTableHead(&$oTable) ==== | ||
+ | ==== CallParseBrand(&$aItem) ==== | ||
+ | ==== CallParsePrice(&$aItem, $bSeparator=false) ==== | ||
+ | ==== ActualFilter(&$aItem) ==== | ||
+ | ==== PosPriceParse(&$aItem,$bHaveFirstSeparator=true,$bHaveAnalogs=true) ==== | ||
+ | ==== GetJson() ==== | ||
+ | ==== ViewInfoPart() ==== | ||
+ | ==== OriginalCross() ==== | ||
+ | ==== GetPriceForInfoPart(<nowiki>$sCodeInput='',$sPrefInput=''</nowiki>) ==== | ||
+ | ==== ExportPrice() ==== | ||
+ | ==== SetImageWidth() ==== | ||
+ | ==== UpdatePrice(<nowiki>$sItemCode="",$idProvider="",$dPrice=0</nowiki>) ==== | ||
+ | ==== Cross() ==== | ||
+ | ==== CrossLoad() ==== | ||
+ | ==== CrossInstall() ==== | ||
+ | ==== InstallExcel($aCrossProfile, $aPref) ==== | ||
+ | ==== InstallExcel07($aCrossProfile, $aPref) ==== | ||
+ | ==== InstallCSV($aCrossProfile, $aPref) ==== | ||
+ | ==== CrossClearImport() ==== | ||
+ | ==== CrossImportAdvance() ==== | ||
+ | ==== CrossProfile() ==== | ||
+ | ==== InsertCross($aData) ==== | ||
+ | ==== InsertCrossStop($aData) ==== | ||
+ | ==== DeleteGroupCross() ==== | ||
+ | ==== DeleteCross($bRedirect=true) ==== | ||
+ | ==== DeleteGroupCrossStop() ==== | ||
+ | ==== DeleteCrossStop($bRedirect=true) ==== | ||
+ | ==== ImportCross() ==== | ||
+ | ==== SearchAdvance() ==== | ||
+ | ==== PrintPartName($aRow) ==== | ||
+ | ==== ChangeSelect() ==== | ||
+ | ==== LoadAutotechnics() ==== | ||
+ | ==== CrossStop() ==== | ||
+ | ==== ViewBrand() ==== | ||
+ | ==== ViewBrandShow() ==== | ||
+ | ==== CorrectBrandLink(&$aBrand) ==== | ||
+ | ==== ChangePartParam() ==== | ||
+ | ==== CallParseCross(&$aItem) ==== | ||
+ | ==== ViewOwnAuto() ==== | ||
+ | ==== MotoBrands() ==== | ||
+ | ==== MotoModels() ==== | ||
+ | ==== MotoDetails() ==== | ||
+ | ==== MotoAssemblage() ==== | ||
+ | ==== mb_ucfirst($str, $enc = 'utf-8') ==== | ||
+ | ==== outTree(&$category_arr=array(), $parent_id, $level) ==== | ||
+ | ==== SetSelectedPart(&$aTree=array(), $iPart) ==== | ||
+ | ==== GetArtId($sItemCode) ==== | ||
+ | ==== SortTable() ==== | ||
+ | ==== TruckIndex() ==== | ||
+ | ==== TruckModels() ==== | ||
+ | ==== TruckDetails() ==== | ||
+ | ==== TruckAssemblage() ==== | ||
+ | ==== ParseTruckPartsImages(&$aItem) ==== | ||
+ | |||
=== CommentTree.php === | === CommentTree.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== GetCommentListTree($sSection,$sId,$bXajaxResponse=false) ==== | ||
+ | ==== Post() ==== | ||
+ | ==== convertArrayToTree($aSourceArray, $sParentId='0', $sKeyChildren='child', $aKeyId='id', $sKeyParentId='parent_id') ==== | ||
+ | ==== doConvertArrayToTree($aSourceArray, &$aThisTree, $sParentId, $sThisId, $sKeyChildren, $aKeyId, $sKeyParentId) ==== | ||
+ | |||
=== ContactForm.php === | === ContactForm.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Call() ==== | ||
+ | |||
=== Customer.php === | === Customer.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Profile() ==== | ||
+ | |||
+ | Редактирование профиля клиента. | ||
+ | |||
+ | ==== IsChangeableLogin($sLogin) ==== | ||
+ | ==== IsTempUser($sLogin='') ==== | ||
+ | |||
+ | Если пользователь с логином $sLogin является временным, возвратит 1, если постоянный - 0. | ||
+ | |||
+ | ==== ChangeRating() ==== | ||
+ | |||
=== Dashboard.php === | === Dashboard.php === | ||
+ | |||
+ | Личный кабинет пользователя. | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Customer() ==== | ||
+ | ==== User() ==== | ||
+ | ==== PartnerRegionChange() ==== | ||
+ | |||
=== Delivery.php === | === Delivery.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Set() ==== | ||
+ | |||
=== ElitRoma.php === | === ElitRoma.php === | ||
+ | |||
+ | ==== $sPathToFile ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Export($bPrice=false) ==== | ||
+ | ==== CronSecond() ==== | ||
+ | ==== CronLoad() ==== | ||
+ | ==== GetPrice() ==== | ||
+ | ==== Load() ==== | ||
+ | ==== LoadFromExcel($sFilePath,<nowiki>$sTable=''</nowiki>) ==== | ||
+ | ==== Insert(&$aInsert=array(),<nowiki>$sTable=''</nowiki>) ==== | ||
+ | ==== LoadPrice($aItem,<nowiki>$sTable=''</nowiki>) ==== | ||
+ | ==== GetSessionID() ==== | ||
+ | |||
=== Error.php === | === Error.php === | ||
+ | |||
+ | ==== GetError($iCode) ==== | ||
+ | |||
=== Finance.php === | === Finance.php === | ||
+ | |||
+ | ==== $aHaveMoney ==== | ||
+ | ==== $aUserAccountLogTypeAssoc ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== CallParseLog(&$aItem) ==== | ||
+ | ==== ExportAll() ==== | ||
+ | ==== CreateFinanceExcel($sSql,$bShowCustomer=false) ==== | ||
+ | ==== BillforUser () ==== | ||
+ | ==== Bill() ==== | ||
+ | ==== BillPrint(<nowiki>$iIdBill=''</nowiki>) ==== | ||
+ | ==== Deposit(<nowiki>$iIdUser,$dAmount,$sDescription='',$iCustomId='',$sPayType='internal',$sSection='internal',$sData='',$iIdUserAccountLogType=''</nowiki>) ==== | ||
+ | ==== TransactionError(<nowiki>$aData, $iIdUser='', $sDescription=''</nowiki>) ==== | ||
+ | ==== AccountAmount($iIdUser) ==== | ||
+ | ==== DebtAmount($iIdUser) ==== | ||
+ | ==== HaveMoney(<nowiki>$dAmount,$iIdUser='',$bFullPayment=false</nowiki>) ==== | ||
+ | ==== PayForAccount() ==== | ||
+ | ==== GetGeneralAccountAmount() ==== | ||
+ | ==== GetUserAccountLogTypeAssoc() ==== | ||
+ | ==== GetSumAmount($sUserType='customer') ==== | ||
+ | ==== AssignAccount($aUser) ==== | ||
+ | ==== AssignSubtotal($sWhere) ==== | ||
+ | |||
=== GarageManager.php === | === GarageManager.php === | ||
+ | |||
+ | ==== $aTypeDrive ==== | ||
+ | ==== $aTypeFuel ==== | ||
+ | ==== $aTypeTransmission ==== | ||
+ | ==== $aTypeBody ==== | ||
+ | ==== $aTypeWheel ==== | ||
+ | ==== $aVinMonth ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Profile() ==== | ||
+ | ==== CallParseUserAuto(&$aItem) ==== | ||
+ | ==== AddComment() ==== | ||
+ | ==== Edit() ==== | ||
+ | ==== Delete() ==== | ||
+ | ==== GetInfoAuto($aData) ==== | ||
+ | ==== GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1) ==== | ||
+ | ==== Get_aTypeFuel() ==== | ||
+ | ==== Get_aTypeDrive() ==== | ||
+ | |||
=== Home.php === | === Home.php === | ||
+ | |||
+ | ==== Index() ==== | ||
+ | ==== GetPopularProducts() ==== | ||
+ | ==== GetLastViewedProducts() ==== | ||
+ | |||
=== ManagerCart.php === | === ManagerCart.php === | ||
+ | |||
+ | ==== $sCustomerSql ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== CallParseCart(&$aItem) ==== | ||
+ | ==== Archive() ==== | ||
+ | ==== Store() ==== | ||
+ | ==== Payment() ==== | ||
+ | |||
=== ManagerInvoiceCustomer.php === | === ManagerInvoiceCustomer.php === | ||
+ | |||
+ | ==== $aCartScan ==== | ||
+ | ==== LOG_PRICE_PLACE ==== | ||
+ | ==== LOG_ADDITIONAL_PAYMENT ==== | ||
+ | ==== CUSTOMER_TYPE_UKRAINE ==== | ||
+ | ==== CUSTOMER_TYPE_NOT_UKRAINE ==== | ||
+ | ==== CUSTOMER_TYPE_NOT_SET ==== | ||
+ | ==== $sPrefix ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== CallParseCustomer(&$aItem) ==== | ||
+ | ==== Create($bPrint=false) ==== | ||
+ | ==== CallParseCreate(&$aItem) ==== | ||
+ | ==== ChangeRating() ==== | ||
+ | ==== Invoice() ==== | ||
+ | ==== PrintInvoice<nowiki>($iIdUser=''</nowiki>,$bReturnContent=false) ==== | ||
+ | ==== GetFactureRight(&$aUserInvoice,&$aAdditionalItem,$aDeliveryCost=array(),$dTarifTax=0,$sCurrency='USD') ==== | ||
+ | ==== Recalculate($iIdInvoiceCustomer) ==== | ||
+ | ==== CreateOfficeTravelSheet() ==== | ||
+ | ==== IsTravelSheetAdd() ==== | ||
+ | ==== IsTravelSheetClear() ==== | ||
+ | ==== IsTravelSheetBrowse() ==== | ||
+ | ==== CreateInvoiceTravelSheet() ==== | ||
+ | ==== GetInvoiceExcel() ==== | ||
+ | ==== GetInvoiceExcelFitlered() ==== | ||
+ | ==== GetInvoiceExcelAll() ==== | ||
+ | ==== Send($iInvoiceCustomer) ==== | ||
+ | ==== End($iInvoiceCustomer) ==== | ||
+ | ==== GetInvoiceFactureExcel() ==== | ||
+ | ==== GetInvoiceFactureExcelFitlered() ==== | ||
+ | ==== GetInvoiceFactureExcelAll() ==== | ||
+ | ==== SendInvoiceFactureExcel($aInvoiceId) ==== | ||
+ | ==== GetInvoiceListExcel() ==== | ||
+ | ==== ChangeCustomerType() ==== | ||
+ | ==== DeliveryCalculator() ==== | ||
+ | ==== Delivery() ==== | ||
+ | ==== CallParseDelivery(&$aItem) ==== | ||
+ | ==== DeliveryEdit() ==== | ||
+ | |||
=== Manager.php === | === Manager.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sPrefixAction ==== | ||
+ | ==== $sCustomerSql ==== | ||
+ | ==== $sExportSql ==== | ||
+ | ==== $sExportMegaSql ==== | ||
+ | ==== $aCustomerList ==== | ||
+ | ==== $sCurrentOrderStatus ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== GetCustomerList() ==== | ||
+ | ==== Profile() ==== | ||
+ | ==== Customer() ==== | ||
+ | ==== CustomerEdit() ==== | ||
+ | ==== CustomerRedirect() ==== | ||
+ | ==== Order() ==== | ||
+ | ==== CallParseOrder(&$aItem) ==== | ||
+ | ==== ChangeStatus() ==== | ||
+ | ==== AgreeGrowth() ==== | ||
+ | ==== Reorder() ==== | ||
+ | ==== Bill() ==== | ||
+ | ==== ProcessOrderStatus(<nowiki>$iId='', $sOrderStatus='', $sComment='', $sIdProviderOrder='', $dProviderPrice='', $sIdProviderInvoice='', $sCustomValue=''</nowiki>) ==== | ||
+ | ==== ChangeCart($aCart,$sOrderStatus,$sCustomValue) ==== | ||
+ | ==== VinRequest() ==== | ||
+ | ==== CallParseVinRequest(&$aItem) ==== | ||
+ | ==== VinRequestSave($bRedirect=true) ==== | ||
+ | ==== VinRequestSend() ==== | ||
+ | ==== VinRequestRefuse() ==== | ||
+ | ==== VinRequestRelease($iId) ==== | ||
+ | ==== VinRequestMobileNotification($aVinRequest) ==== | ||
+ | ==== GetVinIdList($bReturnArray=false) ==== | ||
+ | ==== VinRequestRemember() ==== | ||
+ | ==== PackageAddOrderItem() ==== | ||
+ | ==== Package() ==== | ||
+ | ==== CallParsePackage(&$aItem) ==== | ||
+ | ==== DeletePackageEmpty() ==== | ||
+ | ==== ExportAll() ==== | ||
+ | ==== OrderReportExport() ==== | ||
+ | ==== ExportOrder() ==== | ||
+ | ==== ExportOrderAll() ==== | ||
+ | ==== Export($sType='row_check') ==== | ||
+ | ==== ExportMegaAll() ==== | ||
+ | ==== ExportMega($sType='row_check') ==== | ||
+ | ==== GetCartMake($aCart) ==== | ||
+ | ==== ImportStatus() ==== | ||
+ | ==== EditWeight() ==== | ||
+ | ==== ImportWeight() ==== | ||
+ | ==== AddWeightName($u) ==== | ||
+ | ==== AssignCustomers() ==== | ||
+ | ==== Finance() ==== | ||
+ | ==== CallParseLog(&$aItem) ==== | ||
+ | ==== ReturnFullPaymentDiscount($aCart) ==== | ||
+ | ==== FinanceExportAll() ==== | ||
+ | ==== ParentMarginDebet($aCart) ==== | ||
+ | ==== IsChangeableLogin($sLogin) ==== | ||
+ | ==== CountMoney() ==== | ||
+ | ==== PayCartPackage($iIdCartPackage,$aEntry=array()) ==== | ||
+ | ==== NotifyDebitedMoney($aEntry=array()) ==== | ||
+ | ==== PrintOrder() ==== | ||
+ | ==== RefusePending() ==== | ||
+ | ==== PrintPakage() ==== | ||
+ | ==== SetPriceTotalCartPackage($aCart) ==== | ||
+ | ==== MergePakage() ==== | ||
+ | ==== ChangeProvider () ==== | ||
+ | ==== SetPackagePayed () ==== | ||
+ | ==== Cat () ==== | ||
+ | ==== SynonymBrandClear ($sBrand) ==== | ||
+ | ==== Synonym () ==== | ||
+ | ==== CatPref () ==== | ||
+ | ==== SetCheckedAuto () ==== | ||
+ | ==== CustomerRecalcCart () ==== | ||
+ | ==== JoinOrders() ==== | ||
+ | ==== GetUserSelect() ==== | ||
+ | ==== GetPopularProducts() ==== | ||
+ | |||
=== Manual.php === | === Manual.php === | ||
+ | |||
+ | ==== Manual() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Show() ==== | ||
+ | ==== ShowShort($sRequesCode) ==== | ||
+ | ==== CommentList($sManualId) ==== | ||
+ | |||
=== Map.php === | === Map.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $aMap ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== DropdownGetChilds($iIdParent) ==== | ||
+ | |||
=== Message.php === | === Message.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Prepare() ==== | ||
+ | ==== MoveToFolder() ==== | ||
+ | ==== Reply() ==== | ||
+ | ==== Forward() ==== | ||
+ | ==== Send() ==== | ||
+ | ==== Draft() ==== | ||
+ | ==== Compose() ==== | ||
+ | ==== Delete() ==== | ||
+ | ==== Clear() ==== | ||
+ | ==== Preview() ==== | ||
+ | ==== ChangeCurrentFolder() ==== | ||
+ | ==== Browse() ==== | ||
+ | ==== CallParseMessage(&$aItem) ==== | ||
+ | ==== MessageNumber($iIdUser,$iIdMessageFolder) ==== | ||
+ | ==== CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,<nowiki>$iIdUser='',$sUserFrom=''</nowiki>,$aAttachFiles=array()) ==== | ||
+ | ==== SendMessage($sTo,$sSubject,$sText,<nowiki>$iIdMessage=''</nowiki>,$bSendEmail=true, $aAttachFiles=array()) ==== | ||
+ | ==== DeleteMessage($iId) ==== | ||
+ | ==== EraseMessage($iId) ==== | ||
+ | ==== MoveMessage($iId,$iIdMessageFolder) ==== | ||
+ | ==== getUserList($aLogin) ==== | ||
+ | ==== ReadMessage($iId) ==== | ||
+ | ==== CreateNotification(<nowiki>$sTo,$sCode,$sType='customer',$aUserData=array(),$sToId='',$iPriority=3</nowiki>) ==== | ||
+ | ==== CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0) ==== | ||
+ | ==== SendBulkUserNotification(<nowiki>$sAdditionalWhere=''</nowiki>) ==== | ||
+ | ==== PreviewUserNotification() ==== | ||
+ | ==== AddNote(<nowiki>$iIdUser,$sName,$sDescription,$sUrl='',$sReplyTo=''</nowiki>) ==== | ||
+ | ==== CheckNote() ==== | ||
+ | ==== NoteClose() ==== | ||
+ | ==== CreateCustomerIdExcel($aUserNotification) ==== | ||
+ | ==== ChangeStarred() ==== | ||
+ | ==== ChangeStarredMessage() ==== | ||
+ | ==== GetAttachFiles() ==== | ||
+ | |||
=== News.php === | === News.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Preview() ==== | ||
+ | ==== CommentList() ==== | ||
+ | |||
=== OwnAuto.php === | === OwnAuto.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $aTypeDrive ==== | ||
+ | ==== $aTypeFuel ==== | ||
+ | ==== $aTypeTransmission ==== | ||
+ | ==== $aTypeBody ==== | ||
+ | ==== $aTypeWheel ==== | ||
+ | ==== $aVinMonth ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== CallParseUserAuto(&$aItem) ==== | ||
+ | ==== CallParseLogUserAuto(&$aItem) ==== | ||
+ | ==== GetJson() ==== | ||
+ | ==== Del() ==== | ||
+ | ==== GetInfoAuto($aData) ==== | ||
+ | ==== Get_aTypeFuel() ==== | ||
+ | ==== Get_aTypeDrive() ==== | ||
+ | ==== GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1, $aData) ==== | ||
+ | ==== AddJson() ==== | ||
+ | ==== GetAutoInfoTip($iOrderId) ==== | ||
+ | ==== GetListOwnAuto() ==== | ||
+ | ==== GetInfoById($iId = 0) ==== | ||
+ | ==== SearchLog() ==== | ||
+ | ==== AddSearchAuto() ==== | ||
+ | ==== DelFromAutoLog() ==== | ||
+ | |||
=== PaymentDeclarationManager.php === | === PaymentDeclarationManager.php === | ||
+ | |||
+ | ==== __construct() ===== | ||
+ | ==== Index() ===== | ||
+ | ==== Add() ===== | ||
+ | ==== Delete() ===== | ||
+ | ==== SelectUser() ===== | ||
+ | |||
=== PaymentDeclaration.php === | === PaymentDeclaration.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | |||
=== Payment.php === | === Payment.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Log($sMethod='webmoney', <nowiki>$sMessage=''</nowiki>) ==== | ||
+ | ==== LiqpayResult() ==== | ||
+ | ==== LiqpaySuccess() ==== | ||
+ | ==== LiqpayFail() ==== | ||
+ | ==== LiqpayPayment() ==== | ||
+ | |||
=== PaymentReportManager.php === | === PaymentReportManager.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | |||
=== PaymentReport.php === | === PaymentReport.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Add() ==== | ||
+ | ==== Delete() ==== | ||
+ | |||
=== PriceFtp.php === | === PriceFtp.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sPrefixAction ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | |||
=== PriceGroup.php === | === PriceGroup.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== GetGroupNavi($iParent,&$aNavigator=array()) ==== | ||
+ | ==== cmp($a, $b) ==== | ||
+ | ==== CallParse(&$aItem) ==== | ||
+ | ==== GetTabs() ==== | ||
+ | ==== GetMainGroups() ==== | ||
+ | ==== Filter() ==== | ||
+ | ==== SortTablePriceGroup() ==== | ||
+ | |||
=== Price.php === | === Price.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $oCatalog ==== | ||
+ | ==== $rs ==== | ||
+ | ==== $exchange_facrot ==== | ||
+ | ==== $aPref ==== | ||
+ | ==== $aParserPatern ==== | ||
+ | ==== $aParserBefore ==== | ||
+ | ==== $aParserAfter ==== | ||
+ | ==== $aTrimLeft ==== | ||
+ | ==== $aTrimRight ==== | ||
+ | ==== $aPrefName ==== | ||
+ | ==== $aPriceGrp ==== | ||
+ | ==== $aValidateExtensions ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== LoadFromFile() ==== | ||
+ | ==== InitLoader($aPrice_profile) ==== | ||
+ | ==== LoadFromExcel($files,$aPrice_profile,$iUser=0,$iPriceQueue=0) ==== | ||
+ | ==== LoadFromCsv($files,$aPrice_profile,$iUser=0,$iPriceQueue=0) ==== | ||
+ | ==== LoadFromText($files,$aPrice_profile,$iUser=0,$iPriceQueue=0) ==== | ||
+ | ==== LoadFromDbf($files,$aPrice_profile,$iUser=0,$iPriceQueue=0) ==== | ||
+ | ==== LoadPrice($data,$aPrice_profile,$aProvider,$iUser,$iPriceQueue) ==== | ||
+ | ==== Install($bRedirect=true) ==== | ||
+ | ==== ConformityApply() ==== | ||
+ | ==== AutoAssocCat() ==== | ||
+ | ==== Conformity() ==== | ||
+ | ==== ClearImport(<nowiki>$sMessage=''</nowiki>, $bRedirect=true, $sType = 'all', $iIdProvider=0) ==== | ||
+ | ==== ClearProvider($bRedirect=true, $iPriceQueueId = 0) ==== | ||
+ | ==== ClearPref() ==== | ||
+ | ==== AddItem($aCart,$dPrice) ==== | ||
+ | ==== Export() ==== | ||
+ | ==== ExportFile() ==== | ||
+ | ==== AddRequest() ==== | ||
+ | ==== AddCat() ==== | ||
+ | ==== ConvertToInteger($sNumber) ==== | ||
+ | ==== RefreshQueue() ==== | ||
+ | ==== getStoppedQueueFlag($id) ==== | ||
+ | ==== SaveToLog($aResult, $iAllStringsCurrentList, $iAllStringsTotal, $iAllStrings, &$iCountError, $iList, $iPriceQueue, $aData, $aPrice_profile) ==== | ||
+ | ==== CheckStoppedLoadPrice($iPriceQueue) ==== | ||
+ | ==== LoadFromXlsxAll($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser) ==== | ||
+ | ==== LoadFromXlsxPartial($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser) ==== | ||
+ | ==== GetArrayUnknownPref() ==== | ||
+ | ==== SaveFilesToQueue(<nowiki>$aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = ''</nowiki>) ==== | ||
+ | ==== SaveFilesToQueueExtended($aFileExtract, $sSource = 'upload', $iProfile_id = 0, <nowiki>$sSubject = '', $sFrom = ''</nowiki>) ==== | ||
+ | ==== SaveFilesToQueueExtendedInsert($aProfileInfo,$aData,$aValue,$sErrorProfile,$sPathToFile) ==== | ||
+ | ==== ClearOldQueueFiles() ==== | ||
+ | ==== ClearOldQueueImportRecords() ==== | ||
+ | ==== RemovePref() ==== | ||
+ | ==== AddAutoPref() ==== | ||
+ | ==== GetAssociate() ==== | ||
+ | ==== FindAssociate($aData) ==== | ||
+ | ==== BuildAssociateData() ==== | ||
+ | ==== GetPriceMarginId($aData) ==== | ||
+ | ==== dbg_last_error($iPriceQueue = 0) ==== | ||
+ | |||
=== PriceProfile.php === | === PriceProfile.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== ReloadViewPrice() ==== | ||
+ | ==== ProviderAddFromFile() ==== | ||
+ | ==== PopUpProviderAdd() ==== | ||
+ | ==== CreateProvider() ==== | ||
+ | ==== GetDataFromFile($aData) ==== | ||
+ | ==== LoadFromCsvLimit($aFile,$iLimit=10) ==== | ||
+ | ==== LoadFromExcelLimit($aFile,$iLimit=10) ==== | ||
+ | ==== CreateProfileFromFile() ==== | ||
+ | ==== ProviderEdit() ==== | ||
+ | ==== ProviderMakroInfo($aData) ==== | ||
+ | |||
=== PriceQueue.php === | === PriceQueue.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sPrefixAction ==== | ||
+ | ==== $sPathToFile ==== | ||
+ | ==== PriceQueue() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== GetMailAttachment() ==== | ||
+ | ==== LoadQueuePrice() ==== | ||
+ | ==== GetFtpFile() ==== | ||
+ | ==== GetQueueInfoTable() ==== | ||
+ | ==== CallParseQueue(&$aItem) ==== | ||
+ | ==== AsuncLoadQueuePrice($iRedirect = 1) ==== | ||
+ | ==== SendRequest($url, $params) ==== | ||
+ | ==== LoadMessageLog() ==== | ||
+ | ==== BuildMessage($iId = 0,$bIsMailMessage = false) ==== | ||
+ | ==== GetProfile(<nowiki>$sType = 'mail', $sFileName = '', $sSubject = '', $sFrom = ''</nowiki>) ==== | ||
+ | |||
=== PriceSearchLog.php === | === PriceSearchLog.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== AddSearch($sPref=false,$sCode=false) ==== | ||
+ | |||
=== PublicProvider.php === | === PublicProvider.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Add() ==== | ||
+ | ==== Show() ==== | ||
+ | ==== CallParseProvider(&$aItem) ==== | ||
+ | ==== CreateExcel() ==== | ||
+ | |||
=== Rating.php === | === Rating.php === | ||
+ | |||
+ | ==== __contruct() ==== | ||
+ | ==== Change($sSection,$iRefId,$iNumRating) ==== | ||
+ | |||
=== RequestForm.php === | === RequestForm.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | |||
=== Rubricator.php === | === Rubricator.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== GetModels() ==== | ||
+ | ==== GetModelDetails() ==== | ||
+ | ==== SetMake() ==== | ||
+ | ==== SetModel() ==== | ||
+ | ==== SetModelDetail() ==== | ||
+ | ==== SetAll() ==== | ||
+ | ==== GetRubricatorUrl() ==== | ||
+ | ==== GetRubricatorUrlForFilter() ==== | ||
+ | ==== GetPart(<nowiki>$sUrlGroup=''</nowiki>,$iIdPriceGroup=0) ==== | ||
+ | ==== CallParsePartRubricator(&$aItem) ==== | ||
+ | ==== Index() ==== | ||
+ | ==== Category() ==== | ||
+ | ==== SubCategory() ==== | ||
+ | ==== GetMainMenu() ==== | ||
+ | ==== GetMain() ==== | ||
+ | ==== SetBrandPriceOrderUrl($sUrlParamsInclude) ==== | ||
+ | ==== GetBrandsForFilter($sType,$source,$iIdPriceGroup,$aItemCodesUnique) ==== | ||
+ | ==== cmp($a, $b) ==== | ||
+ | ==== GetRubricForModelGroup($aModelGroup,$sCat) ==== | ||
+ | ==== CheckSelectedAuto() ==== | ||
+ | ==== CheckSelectedAutoName() ==== | ||
+ | ==== ClearAutoUrl() ==== | ||
+ | |||
=== Search.php === | === Search.php === | ||
+ | |||
+ | ==== $sPrefix ==== | ||
+ | ==== $sQuery ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index($bShowSearchForm=true) ==== | ||
+ | ==== AllPriceGrouped() ==== | ||
+ | ==== AllPriceGroup() ==== | ||
+ | ==== SinglePriceGroup() ==== | ||
+ | ==== SetDefaultSetting(&$oSphinxClient,$iLimit=1000) ==== | ||
+ | ==== GetSphinxKeyword($sQuery) ==== | ||
+ | ==== StripQuery($sQuery) ==== | ||
+ | ==== AllSearch() ==== | ||
+ | |||
=== Sound.php === | === Sound.php === | ||
+ | |||
+ | ==== $aSound ==== | ||
+ | ==== $iAudio ==== | ||
+ | ==== GetSound($sKey, <nowiki>$sDefault = ""</nowiki>) ==== | ||
+ | ==== InsertIntoPage($sCode,<nowiki>$sDefault=""</nowiki>) ==== | ||
+ | ==== InsertIntoPageCustomerByLogin($sLogin) ==== | ||
+ | ==== InsertIntoPageCustomerById($sId) ==== | ||
+ | ==== UploadCustomerSound() ==== | ||
+ | ==== GetHtmlCode($sFilename) ==== | ||
+ | ==== GetHtmlCodeCustomer($aData) ==== | ||
+ | ==== GetCustomerFileNamePath($sLogin,$bIsUrl=false) ==== | ||
+ | |||
=== Store.php === | === Store.php === | ||
+ | |||
+ | ==== $sPreffix ==== | ||
+ | ==== $bTransferFlag ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== AddToSale() ==== | ||
+ | ==== AddToTransfer() ==== | ||
+ | ==== InputInvoiceScanner() ==== | ||
+ | ==== InputInvoiceManual() ==== | ||
+ | ==== InputInvoiceProcess() ==== | ||
+ | ==== Sale() ==== | ||
+ | ==== SaleInvoice() ==== | ||
+ | ==== SaleInvoiceProcess() ==== | ||
+ | ==== ReturnStore() ==== | ||
+ | ==== Log() ==== | ||
+ | ==== LogHistory() ==== | ||
+ | ==== GetMd5($aValue) ==== | ||
+ | ==== UpdateNumber() ==== | ||
+ | ==== Transfer() ==== | ||
+ | ==== TransferProcess() ==== | ||
+ | ==== TransferProcessTry($aProductFromLog=array(), &$aValue=array(), $aData=array(), $iType='2') ==== | ||
+ | ==== Balance() ==== | ||
+ | ==== ExportToPrice() ==== | ||
+ | ==== Products() ==== | ||
+ | |||
=== TecdocDb.php === | === TecdocDb.php === | ||
+ | |||
+ | ==== Execute($sSql,$aInput=false) ==== | ||
+ | ==== GetAll($sSql) ==== | ||
+ | ==== GetAssoc($sSql, $aData=array(), $bReturnSql=false) ==== | ||
+ | ==== GetRow($sSql) ==== | ||
+ | ==== GetOne($sSql) ==== | ||
+ | ==== AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false) ==== | ||
+ | ==== Debug() ==== | ||
+ | ==== LogSql($bEnable=true) ==== | ||
+ | ==== InsertId() ==== | ||
+ | ==== AffectedRow() ==== | ||
+ | ==== StartTrans() ==== | ||
+ | ==== FailTrans() ==== | ||
+ | ==== CompleteTrans() ==== | ||
+ | ==== Escape($aData) ==== | ||
+ | ==== GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null) ==== | ||
+ | ==== SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0) ==== | ||
+ | ==== GetTableInfo(<nowiki>$sType=''</nowiki>) ==== | ||
+ | ==== SetWhere(&$sWhere, $aData, $sDataField, $sPrefix, <nowiki>$sTableField=""</nowiki>) ==== | ||
+ | ==== GetDateFormat($sNameField="post_date", <nowiki>$sFormat=""</nowiki>) ==== | ||
+ | ==== GetStrToDate($sPostDate, $bReturnDate=false, <nowiki>$sFormat=""</nowiki>) ==== | ||
+ | ==== GetModels($aData) ==== | ||
+ | Выборка моделей по заданному авто | ||
+ | |||
+ | |||
+ | Параметры:<br> | ||
+ | id_tof - идентификатор производителя<br> | ||
+ | |||
+ | ==== GetModel($aData) ==== | ||
+ | Выборка модели | ||
+ | |||
+ | Параметры:<br> | ||
+ | id_tof - идентификатор производителя<br> | ||
+ | id_model - идентификатор модели авто<br> | ||
+ | |||
+ | ==== GetModelAssoc($aData) ==== | ||
+ | ==== GetModelPicAssoc($aData) ==== | ||
+ | ==== GetModelInfo($aData) ==== | ||
+ | ==== GetModelDetails($aData,$aCat=false,$aCatTitles=false) ==== | ||
+ | Выборка модификаций по заданной модели | ||
+ | |||
+ | Параметры:<br> | ||
+ | id_tof - идентификатор производителя<br> | ||
+ | id_model - идентификатор модели<br> | ||
+ | |||
+ | ==== GetModelDetailAssoc($aData,$aCat=false) ==== | ||
+ | ==== GetApplicability($aData) ==== | ||
+ | Выборка применяемости по заданному артикулу | ||
+ | |||
+ | Параметры:<br> | ||
+ | art_id - идентификатор артикула<br> | ||
+ | |||
+ | ==== GetModelDetail($aData,$aCat=false) ==== | ||
+ | Выборка модификации авто | ||
+ | |||
+ | Параметры:<br> | ||
+ | id_model - идентификатор модели<br> | ||
+ | id_model_detail - идентификатор модификации<br> | ||
+ | |||
+ | ==== GetTree($aData) ==== | ||
+ | Выборка дерева запчастей | ||
+ | |||
+ | Параметры:<br> | ||
+ | id_model_detail - идентификатор модификации<br> | ||
+ | |||
+ | ==== GetTreeAssoc() ==== | ||
+ | ==== GetTreeTruck($aData) ==== | ||
+ | ==== GetTreeParts($aData, $aCats=false, $bTruck=false) ==== | ||
+ | Выборка деталей по заданной модификации и веткам дерева | ||
+ | |||
+ | Параметры:<br> | ||
+ | id_part - идентификатор ветки дерева текдока<br> | ||
+ | id_model_detail - идентификатор модификации<br> | ||
+ | |||
+ | ==== GetTreePartsRubricator($aData, $aCats=false) ==== | ||
+ | ==== GetPartCriterias($aData) ==== | ||
+ | ==== GetImages($aData, $aCats=false, $bAssoc=TRUE) ==== | ||
+ | Выборка изображений по заданному артикулу | ||
+ | |||
+ | |||
+ | Параметры:<br> | ||
+ | aIdGraphic - массив идентификаторов артикулов<br> | ||
+ | |||
+ | ==== GetArt($aData) ==== | ||
+ | ==== GetArtName($aData) ==== | ||
+ | ==== GetArts($aCodes) ==== | ||
+ | ==== GetPartInfo($aData,$aCats=false) ==== | ||
+ | ==== GetCross($aData,$aCats=false) ==== | ||
+ | Выборка аналогов запчастей(кроссов) по заданному артикулу | ||
+ | |||
+ | Параметры:<br> | ||
+ | sCode - артикул<br> | ||
+ | |||
+ | ==== GetCriterias($aData) ==== | ||
+ | Выборка характеристик по заданному артикулу | ||
+ | |||
+ | |||
+ | Параметры:<br> | ||
+ | sCode - артикул<br> | ||
+ | |||
+ | ==== GetOriginals($aData,$aCats=false) ==== | ||
+ | Выборка оригинальных номеров по заданному артикулу | ||
+ | ==== GetIdMakeByIdModel($iIdModel) ==== | ||
+ | ==== AssocArtIdItemCode($aData) ==== | ||
+ | Ассоциативный массив идентификаторов товаров по заданным артикулам | ||
+ | ==== GetCriteriasDBTOF($aData,$sLang='en') ==== | ||
+ | ==== GetModelDetailsDBTOF($aData,$aCat=false,$sLang='en') ==== | ||
+ | ==== GetApplicabilityDBTOF($aData,$sLang='en') ==== | ||
+ | ==== GetModificationAssoc($aData) ==== | ||
+ | Ассоциативный массив модификаций по заданной модели | ||
+ | ==== GetSelectCar($aData) ==== | ||
+ | Получить информацию по выбранному авто. | ||
+ | ==== GetYears($sModel) ==== | ||
+ | Выборка годов по моделям. Используется в подборе по авто | ||
+ | |||
=== Test.php === | === Test.php === | ||
+ | |||
+ | ==== Index() ==== | ||
+ | ==== SetElitParams() ==== | ||
+ | ==== SetElitImage() ==== | ||
+ | ==== GetElitImages() ==== | ||
+ | ==== ProcessExcel($iTimer) ==== | ||
+ | ==== GetPriceTableByCode() ==== | ||
+ | ==== GetSessionID() ==== | ||
+ | ==== GetCodePrice($sSID,$sCode,<nowiki>$sBrand=''</nowiki>) ==== | ||
+ | ==== GetCodesByCode($sSID,$sCode) ==== | ||
+ | ==== GetPriceByCode($aCodes) ==== | ||
+ | |||
=== User.php === | === User.php === | ||
+ | |||
+ | ==== $aErrorTr ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== Login() ==== | ||
+ | ==== DoLogin() ==== | ||
+ | ==== UloginLogin() ==== | ||
+ | ==== Logout() ==== | ||
+ | ==== NewAccount() ==== | ||
+ | ==== NewAccountError() ==== | ||
+ | ==== DoNewAccount($bAutoCreate=false) ==== | ||
+ | ==== ConfirmRegistration() ==== | ||
+ | ==== RestorePassword() ==== | ||
+ | ==== NotifyConfirmedProfileFill($iIdUser) ==== | ||
+ | ==== ChangePassword() ==== | ||
+ | ==== ChangeLogin() ==== | ||
+ | ==== NewPassword() ==== | ||
+ | ==== CheckLogin() ==== | ||
+ | ==== ChangeLevelPrice() ==== | ||
+ | ==== RecalcCart($iIdUser,$iIdUserNotManager = 0) ==== | ||
+ | |||
=== VinRequest.php === | === VinRequest.php === | ||
− | == system == | + | ==== __construct() ==== |
+ | ==== Index() ==== | ||
+ | ==== Preview() ==== | ||
+ | ==== Manager() ==== | ||
+ | ==== ManagerSave($bRedirect=true) ==== | ||
+ | ==== ManagerSend() ==== | ||
+ | ==== ManagerRefuse() ==== | ||
+ | ==== ManagerRelease($iId) ==== | ||
+ | ==== ManagerMobileNotification($aVinRequest) ==== | ||
+ | ==== GetVinIdList($bReturnArray=false) ==== | ||
+ | ==== ManagerRemember() ==== | ||
+ | ==== ManagerDelivery() ==== | ||
+ | ==== ManagerSendPreview() ==== | ||
+ | ==== PackageCreate() ==== | ||
+ | ==== Get_aTypeBody() ==== | ||
+ | ==== Get_aTypeKpp() ==== | ||
+ | ==== Get_aTypeWheel() ==== | ||
+ | ==== Get_Months() ==== | ||
+ | ==== GetMarka() ==== | ||
+ | ==== ChangeSelect() ==== | ||
+ | ==== ChangeSelectOwnAuto() ==== | ||
+ | |||
+ | == Каталог system == | ||
+ | |||
+ | === BinotelApi.php === | ||
+ | |||
+ | ==== $key ==== | ||
+ | ==== $secret ==== | ||
+ | ==== $apiHost ==== | ||
+ | ==== $apiVersion ==== | ||
+ | ==== $apiFormat ==== | ||
+ | ==== $disableSSLChecks ==== | ||
+ | ==== $debug ==== | ||
+ | ==== __construct($key, $secret, $apiHost = null, $apiVersion = null, $apiFormat = null) ==== | ||
+ | ==== sendRequest($url, array $params) ==== | ||
+ | ==== handleBinotelCallback() ==== | ||
+ | ==== disableSSLChecks() ==== | ||
+ | ==== getSingnatureByRequest(array $params) ==== | ||
+ | |||
+ | === Content.php === | ||
+ | |||
+ | ==== $aDropdownMenu ==== | ||
+ | ==== $aAccountMenu ==== | ||
+ | ==== $aCrumbs ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== CreateMainMenu() ==== | ||
+ | ==== DropdownGetCustom() ==== | ||
+ | ==== DropdownGetChilds($iIdParent) ==== | ||
+ | ==== AccountGetChilds($iIdParent) ==== | ||
+ | ==== AddCrumb($sName,<nowiki>$sLink=''</nowiki>) ==== | ||
+ | ==== AssignCrumb() ==== | ||
+ | ==== DelAllCrumbs() ==== | ||
+ | ==== ParseTemplate($bRefreshCartAjax=false) ==== | ||
+ | ==== Init() ==== | ||
+ | ==== IsChangeableLogin($sLogin) ==== | ||
+ | ==== CallOldReplacer($sObject,$sOutput) ==== | ||
+ | ==== FirstNwords($sString, $iWord) ==== | ||
+ | ==== GetOrderStatus($sKey) ==== | ||
+ | ==== PrintPartName($aRow) ==== | ||
+ | ==== CorrectSeoUrl($sText,$sType) ==== | ||
+ | ==== LoadBanners() ==== | ||
+ | ==== Translit($str) ==== | ||
+ | ==== CreateSeoUrl($sAction,$aData,$bAbsolute=0) ==== | ||
+ | ==== CustomizeTable ($oTable) ==== | ||
+ | ==== RedirectOnSlash() ==== | ||
+ | ==== ClearTimer() ==== | ||
+ | ==== ShowTimer(<nowiki>$sMessage=''</nowiki>) ==== | ||
+ | ==== AddCrumbAndCaption() ==== | ||
+ | ==== GetMonthDay(<nowiki>$iTimestamp=''</nowiki>) ==== | ||
+ | ==== GetYear(<nowiki>$iTimestamp=''</nowiki>) ==== | ||
+ | ==== FixChars($str) ==== | ||
+ | ==== CheckMessageUrl() ==== | ||
+ | ==== ProcessDropDownAdditional() ==== | ||
+ | ==== SetMetaTagsPage($sKey,$aData=array()) ==== | ||
+ | ==== SetH1($sKey, $aData=array(),<nowiki>$sName=''</nowiki>) ==== | ||
+ | |||
+ | === Cron.php === | ||
+ | |||
+ | ==== Cron() ==== | ||
+ | ==== CloseCartPackage($iId,$sOrderStatus='refused') ==== | ||
+ | ==== SendAutopayPackage($iIdUser) ==== | ||
+ | ==== ClearOldData() ==== | ||
+ | ==== SendDbBackup() ==== | ||
+ | ==== NotifyPendingOrder() ==== | ||
+ | ==== NotifyLastVisit() ==== | ||
+ | ==== DeleteTemporaryCustomer() ==== | ||
+ | ==== ClearCustomerData() ==== | ||
+ | ==== MoveExpiredCart() ==== | ||
+ | ==== ClearOldPriceQueue() ==== | ||
+ | ==== ClearOldServiceLog() ==== | ||
+ | ==== ClearOldMailDelayed() ==== | ||
+ | ==== ClearOldUserNotification() ==== | ||
+ | ==== ClearOldAutoSearchLog() ==== | ||
+ | ==== ClearOldPriceSearchLog() ==== | ||
+ | ==== ClearAllOld() ==== | ||
+ | ==== AssociateDelayedPrices() ==== | ||
+ | ==== AssociateDelayedPricesMinutely() ==== | ||
+ | ==== UpdatePriceMargin() ==== | ||
+ | |||
+ | === Currency.php === | ||
+ | |||
+ | ==== $aCurrencyAssoc ==== | ||
+ | ==== $aCurrency ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== InitCurrency() ==== | ||
+ | ==== BasePrice($dPrice=0,$iIdCurrency=1) ==== | ||
+ | ==== Price($dPrice=0,$iIdCurrency=1) ==== | ||
+ | ==== PrintPrice($dPrice=0, $iIdCurrency=0, $iRoundDigit=2, <nowiki>$sOutputType=''</nowiki>) ==== | ||
+ | ==== BillRound($dPrice=0) ==== | ||
+ | ==== GetPriceWithoutSymbol($dPrice=0) ==== | ||
+ | ==== CurrecyConvert($L, $sType='RUB') ==== | ||
+ | ==== SemanticUkr($i,&$words,&$fem,$f, $sType='RUB') ==== | ||
+ | ==== GetExchangeRate($iIdCurrencyFrom,$iIdCurrencyTo) ==== | ||
+ | ==== PrintCurrencyPrice($dPrice=0,$sCurrency='USD') ==== | ||
+ | ==== PriceContent($sCurrency,$sPrice) ==== | ||
+ | ==== PrintSymbol($dPrice=0,$iIdCurrency=0) ==== | ||
+ | |||
+ | === Discount.php === | ||
+ | |||
+ | ==== $aDiscount ==== | ||
+ | ==== Refresh() ==== | ||
+ | ==== GetDiscount($dAmount) ==== | ||
+ | ==== CustomerDiscount($aUser,<nowiki>$iProvider=''</nowiki>) ==== | ||
+ | ==== Index() ==== | ||
+ | |||
+ | === Exchange.php === | ||
+ | |||
+ | ==== $sTempDir ==== | ||
+ | ==== $iTimer ==== | ||
+ | ==== $oXml ==== | ||
+ | ==== $iTimerMinute ==== | ||
+ | ==== $bAutoImport ==== | ||
+ | ==== $aType ==== | ||
+ | ==== Auth() ==== | ||
+ | ==== __construct() ==== | ||
+ | ==== PrintFlush($s) ==== | ||
+ | ==== PrintFlush2($s) ==== | ||
+ | ==== Progress($i,$iMax,$bTimer=true) ==== | ||
+ | ==== OnFileName() ==== | ||
+ | ==== Index() ==== | ||
+ | ==== SendRequest($url, $params) ==== | ||
+ | ==== SalePrice() ==== | ||
+ | ==== SaleBrands() ==== | ||
+ | ==== SaleProviders() ==== | ||
+ | ==== SaleCustomers() ==== | ||
+ | ==== SaleOrders () ==== | ||
+ | ==== SaleSuccess() ==== | ||
+ | ==== CatalogFile() ==== | ||
+ | ==== CatalogImport() ==== | ||
+ | ==== CatalogImportBrands() ==== | ||
+ | ==== CatalogImportProviders() ==== | ||
+ | ==== CatalogImportCustomers() ==== | ||
+ | ==== CatalogImportPrice() ==== | ||
+ | ==== CatalogImportOrders() ==== | ||
+ | ==== CatalogImportCrosses() ==== | ||
+ | ==== CatalogImportAllCrosses($oXml) ==== | ||
+ | |||
+ | === Language.php === | ||
+ | |||
+ | ==== $aTranslateMessage ==== | ||
+ | ==== $aTranslateText ==== | ||
+ | ==== $aContextHint ==== | ||
+ | ==== $sLocale ==== | ||
+ | ==== $iLocale ==== | ||
+ | ==== $aLanguageList ==== | ||
+ | ==== $aLanguageAssoc ==== | ||
+ | ==== $sBaseLocale ==== | ||
+ | ==== $aOldParser ==== | ||
+ | ==== __construct(<nowiki>$sBaseLocale = ''</nowiki>) ==== | ||
+ | ==== GetLocale() ==== | ||
+ | ==== GetMessage($sKey, <nowiki>$sPage = ""</nowiki>) ==== | ||
+ | ==== GetDMessage($sKey, <nowiki>$sPage = ""</nowiki>) ==== | ||
+ | ==== GetText($sKey, <nowiki>$sPage = ""</nowiki>) ==== | ||
+ | ==== GetContextHint($sKey, $bUnique = false) ==== | ||
+ | ==== GetOrderStatus($sKey) ==== | ||
+ | ==== PrintPrice($dAmount, $bAbs=false, $bInvert=false, <nowiki>$sOutputType='', $sPriceType=''</nowiki>) ==== | ||
+ | ==== PrintCurrencyPrice($dAmount,$sCurrency='USD') ==== | ||
+ | ==== PrintPriceByType($dAmount,$sPriceType='USD') ==== | ||
+ | ==== Price($dAmount, $sPriceType='',$bAbs=false,$bInvert=false) ==== | ||
+ | ==== GetDate(<nowiki>$iTimestamp = '', $iTimeZone = '',$bCurrentForce=false</nowiki>) ==== | ||
+ | ==== GetDateTime($iTimestamp = '', $iTimeZone = '') ==== | ||
+ | ==== GetPostDate($sPostDate,<nowiki>$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetPostDateTime($sPostDate,<nowiki>$iTimeZone=''</nowiki>) ==== | ||
+ | ==== FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s') ==== | ||
+ | ==== GetLocalizedRow($aData) ==== | ||
+ | ==== GetLocalizedAll($aData, $bReturnSql=false, <nowiki>$sAssocField = ''</nowiki>) ==== | ||
+ | ==== Array2Hash($data, <nowiki>$key_array = ''</nowiki>) ==== | ||
+ | ==== GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false) ==== | ||
+ | ==== GetConstant($sKey,<nowiki>$sDefaultValue=''</nowiki>) ==== | ||
+ | ==== GetMessageArray($aArrayKey, <nowiki>$sPage = ""</nowiki>) ==== | ||
+ | ==== IncludeLocaleMap($sMap) ==== | ||
+ | ==== AddOldParser($sObject,$iId) ==== | ||
+ | ==== ReplaceOldParser($sOutput) ==== | ||
+ | ==== GetCatalogMessage($sKey, <nowiki>$sPage = ""</nowiki>) ==== | ||
+ | ==== GetTranslit($sString, $sCharset='utf-8') ==== | ||
+ | ==== PrintPriceCalc($aPrice) ==== | ||
+ | ==== SetText($sKey, <nowiki>$sContent = ""</nowiki>) ==== | ||
+ | ==== getContextHintProvider($iIdProvider = 0,$iId=0) ==== | ||
+ | ==== GetMonthDayFromPostDate(<nowiki>$sPostDate='',$iTimeZone=''</nowiki>) ==== | ||
+ | ==== GetYearFromPostDate(<nowiki>$sPostDate='',$iTimeZone=''</nowiki>) ==== | ||
+ | |||
+ | === Webservice.php === | ||
+ | |||
+ | ==== __construct() ==== | ||
+ | ==== GetPricePartmaster($sCode,<nowiki>$sPref=''</nowiki>) ==== | ||
= Каталог cron = | = Каталог cron = |
Текущая версия на 10:58, 20 декабря 2017
Содержание
- 1 Структура каталогов
- 2 Файлы главной директории
- 3 Каталог cache
- 4 Каталог class
- 4.1 Каталог core
- 4.1.1 Каталог locale_map
- 4.1.2 Каталог mpanel
- 4.1.3 Каталог sql
- 4.1.3.1 Каталог init_database
- 4.1.3.2 CoreAdminLanguageDenied.php
- 4.1.3.3 CoreAdmin.php
- 4.1.3.4 CoreAssocLanguage.php
- 4.1.3.5 CoreComment.php
- 4.1.3.6 CoreConfig.php
- 4.1.3.7 CoreConstant.php
- 4.1.3.8 CoreCurrency.php
- 4.1.3.9 CoreDirectorySiteCategory.php
- 4.1.3.10 CoreDirectorySite.php
- 4.1.3.11 CoreDropDownAdditional.php
- 4.1.3.12 CoreDropDown.php
- 4.1.3.13 CoreLanguage.php
- 4.1.3.14 CoreNews.php
- 4.1.3.15 CoreTemplate.php
- 4.1.3.16 CoreTranslateMessage.php
- 4.1.3.17 CoreTranslateText.php
- 4.1.3.18 CoreTrash.php
- 4.1.3.19 CoreUserManagerPrivilege.php
- 4.1.3.20 CoreUserManagerRolePrivilege.php
- 4.1.3.21 CoreUserRole.php
- 4.1.3.22 CoreVinRequest.php
- 4.1.4 Admin.php
- 4.1.4.1 $sTableName
- 4.1.4.2 $sAdditionalLink
- 4.1.4.3 $sTablePrefix
- 4.1.4.4 $sTableId
- 4.1.4.5 $aChildTable
- 4.1.4.6 $sAction
- 4.1.4.7 $sWinHead
- 4.1.4.8 $sPath
- 4.1.4.9 $sSubMenu
- 4.1.4.10 $aCheckField
- 4.1.4.11 $sBeforeAddMethod
- 4.1.4.12 $aFCKEditors
- 4.1.4.13 $sSqlPath
- 4.1.4.14 $sScriptForAdd
- 4.1.4.15 $bAlreadySetMessage
- 4.1.4.16 $sNumSql
- 4.1.4.17 $aSearch
- 4.1.4.18 $sSearchSQL
- 4.1.4.19 $sAddonPath
- 4.1.4.20 $aAdmin
- 4.1.4.21 hasAccessTo($sAction)
- 4.1.4.22 Admin()
- 4.1.4.23 AdminRedirect($sAction='', $aMessage=array())
- 4.1.4.24 PreIndex()
- 4.1.4.25 AfterIndex()
- 4.1.4.26 SetDefaultTable($oTable, $aWhereData = array())
- 4.1.4.27 ProcessTemplateForm($sPath)
- 4.1.4.28 Add($bEdit = false)
- 4.1.4.29 Edit()
- 4.1.4.30 Apply()
- 4.1.4.31 Search()
- 4.1.4.32 SearchForm()
- 4.1.4.33 BeforeApply()
- 4.1.4.34 AfterApply($aBeforeRow,$aAfterRow)
- 4.1.4.35 BeforeAddAssign(&$aData)
- 4.1.4.36 CheckField()
- 4.1.4.37 Delete()
- 4.1.4.38 Trash()
- 4.1.4.39 Archive()
- 4.1.4.40 UnArchive()
- 4.1.4.41 ActionToClass($sBaseAction)
- 4.1.4.42 Message($sType = '', $sMessage = '',$sOldObject='')
- 4.1.4.43 GetFilter()
- 4.1.4.44 ProcessFCKEditors()
- 4.1.4.45 initLocaleGlobal()
- 4.1.4.46 GetFCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
- 4.1.4.47 GetCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
- 4.1.4.48 DisplayChange()
- 4.1.4.49 OrderChange()
- 4.1.4.50 IsMpanelUser($sLogin,$sPassword)
- 4.1.4.51 SearchStrongChange()
- 4.1.5 Auth.php
- 4.1.5.1 $iRememberDays
- 4.1.5.2 $aUser
- 4.1.5.3 $sWhere
- 4.1.5.4 $bIgnoreCookie
- 4.1.5.5 Login($sLogin, $sPassword, $bIgnoreVisible=false, $bIgnoreEmailConfirmation=true, $bSalt=false, $bCheckPassword=true, $sOtherFieldAsLogin='')
- 4.1.5.6 Logout()
- 4.1.5.7 NeedAuth($sType='')
- 4.1.5.8 LoginErrorRedirect($bSaveReturn=true)
- 4.1.5.9 IsAuth()
- 4.1.5.10 GetUserProfile($iId,$sType='customer')
- 4.1.5.11 IsUser($sLogin,$sPassword,$bIgnoreVisible=false,$bSalt=false,$sOtherFieldAsLogin='')
- 4.1.5.12 IsValidCookie($sCookie)
- 4.1.5.13 RefreshSession($aUser)
- 4.1.5.14 RefreshCookie($sLogin,$sPassword,$iIdCustomer)
- 4.1.5.15 FilterLetters($input)
- 4.1.5.16 GetIp()
- 4.1.5.17 AutoCreateUser()
- 4.1.5.18 CheckLogin($sLogin)
- 4.1.5.19 GenerateLogin()
- 4.1.5.20 GeneratePassword()
- 4.1.5.21 UpdateLastVisit($aUser)
- 4.1.5.22 UpdateCustomerReal($iUser)
- 4.1.5.23 CheckPermissions($iIdAction)
- 4.1.6 Base.php
- 4.1.6.1 $db
- 4.1.6.2 $oOracleDb
- 4.1.6.3 $oTecdocDb
- 4.1.6.4 $tpl
- 4.1.6.5 $language
- 4.1.6.6 $LC
- 4.1.6.7 $aGeneralConf
- 4.1.6.8 $aDbConf
- 4.1.6.9 $oResponse
- 4.1.6.10 $oCurrency
- 4.1.6.11 $oContent
- 4.1.6.12 $aConst
- 4.1.6.13 $aConstant
- 4.1.6.14 $aRequest
- 4.1.6.15 $sText
- 4.1.6.16 $aData
- 4.1.6.17 $sProjectName
- 4.1.6.18 $aMenuSection
- 4.1.6.19 $bRightSectionVisible
- 4.1.6.20 $sBaseTemplate
- 4.1.6.21 $bXajaxPresent
- 4.1.6.22 $aMessageJavascript
- 4.1.6.23 $sOuterJavascript
- 4.1.6.24 $sServerQueryString
- 4.1.6.25 $aTopPageTemplate
- 4.1.6.26 $sZirHtml
- 4.1.6.27 PreInit()
- 4.1.6.28 Init()
- 4.1.6.29 ProcessAjax()
- 4.1.6.30 Process()
- 4.1.6.31 EscapeAll(&$aData)
- 4.1.6.32 UnescapeAll(&$aData)
- 4.1.6.33 FixParseStrBug(&$aArray)
- 4.1.6.34 Redirect($sUrl,$is_check_lower=1)
- 4.1.6.35 LocalLog($sText)
- 4.1.6.36 GetSql($sScript, $aData = array())
- 4.1.6.37 UpdateConstant($sKey, $sValue)
- 4.1.6.38 GetConstant($sKey,$sDefaultValue='')
- 4.1.6.39 Message($aMessage=array(),$bGetText=true)
- 4.1.6.40 RemoveMessageFromUrl($sUrl)
- 4.1.6.41 SendSiteInfo()
- 4.1.6.42 MstarprojectBase()
- 4.1.7 BaseTemp.php
- 4.1.8 Cache.php
- 4.1.9 Capcha.php
- 4.1.9.1 $aMathematicOperator
- 4.1.9.2 __construct()
- 4.1.9.3 GetMathematic($sTemplate='addon/capcha/mathematic.tpl')
- 4.1.9.4 CheckMathematic()
- 4.1.9.5 GetRandomOperator()
- 4.1.9.6 GetRandomOperand()
- 4.1.9.7 GetValidationHash($sMathematicFormula)
- 4.1.9.8 ClearOldHash()
- 4.1.9.9 AddHash($sType='mathematic',$sHash)
- 4.1.9.10 IsFreeFromCapcha()
- 4.1.9.11 SaveLastCapcha()
- 4.1.9.12 GetGraphics()
- 4.1.9.13 CheckGraph()
- 4.1.10 Category.php
- 4.1.11 Comment.php
- 4.1.11.1 __construct()
- 4.1.11.2 GetCommentList($sSection,$sId,$bXajaxResponse=false,$bHideUnapproved=false)
- 4.1.11.3 GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
- 4.1.11.4 GetCommentLink($sSection,$sId,$sLink,$bHideUnapproved=false)
- 4.1.11.5 Post()
- 4.1.11.6 PopupPost()
- 4.1.11.7 GetCommentHash($sSection,$aId)
- 4.1.12 ContactForm.php
- 4.1.13 DateFormat.php
- 4.1.13.1 GetBaseDate($sFormat,$iTimestamp='',$iTimeZone='')
- 4.1.13.2 GetDate($iTimestamp='',$iTimeZone='')
- 4.1.13.3 GetTime($iTimestamp='',$iTimeZone='')
- 4.1.13.4 GetDateTime($iTimestamp='',$iTimeZone='')
- 4.1.13.5 FormatSearch($sSearchDate, $sFormat='Y-m-d H:i:s')
- 4.1.13.6 FormatSearchNow()
- 4.1.13.7 FormatSearchTomorrow()
- 4.1.13.8 GetFileDateTime($iTimestamp='',$iTimeZone='',$bShowSecond=true)
- 4.1.13.9 GetPostDate($sPostDate,$iTimeZone='')
- 4.1.13.10 GetPostDateTime($sPostDate,$iTimeZone='')
- 4.1.13.11 GetSqlDate($sNameField="post_date")
- 4.1.13.12 GetSqlStrToDate($sPostDate)
- 4.1.13.13 GetNextMonth($sPostDate)
- 4.1.13.14 Seconds2Times($seconds)
- 4.1.13.15 NameIntervalDate($aDiffDate)
- 4.1.14 Db.php
- 4.1.14.1 Execute($sSql,$aInput=false)
- 4.1.14.2 GetAll($sSql)
- 4.1.14.3 GetAssoc($sSql, $aData=array(), $bReturnSql=false)
- 4.1.14.4 GetRow($sSql)
- 4.1.14.5 GetOne($sSql)
- 4.1.14.6 AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
- 4.1.14.7 Debug()
- 4.1.14.8 LogSql($bEnable=true)
- 4.1.14.9 InsertId()
- 4.1.14.10 AffectedRow()
- 4.1.14.11 StartTrans()
- 4.1.14.12 FailTrans()
- 4.1.14.13 CompleteTrans()
- 4.1.14.14 Escape($aData)
- 4.1.14.15 GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
- 4.1.14.16 SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
- 4.1.14.17 GetTableInfo($sType=)
- 4.1.14.18 SetWhere(&$sWhere,$aData,$sDataField,$sPrefix,$sTableField="")
- 4.1.14.19 GetDateFormat($sNameField="post_date", $sFormat="")
- 4.1.14.20 GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
- 4.1.15 Dbtree.php
- 4.1.15.1 $ERRORS
- 4.1.15.2 $ERRORS_MES
- 4.1.15.3 $table
- 4.1.15.4 $table_id
- 4.1.15.5 $table_left
- 4.1.15.6 $table_right
- 4.1.15.7 $table_level
- 4.1.15.8 $res
- 4.1.15.9 Dbtree($table="", $prefix="")
- 4.1.15.10 Clear($data = array())
- 4.1.15.11 GetNodeInfo($section_id, $cache = FALSE)
- 4.1.15.12 GetParentInfo($section_id, $condition = '', $cache = FALSE)
- 4.1.15.13 Insert($section_id, $condition = '', $data = array())
- 4.1.15.14 InsertNear($ID, $condition = '', $data = array())
- 4.1.15.15 MoveAll($ID, $newParentId, $condition = '')
- 4.1.15.16 ChangePosition($id1, $id2)
- 4.1.15.17 ChangePositionAll($id1, $id2, $position = 'after', $condition = '')
- 4.1.15.18 Delete($ID, $condition = '')
- 4.1.15.19 DeleteAll($ID, $condition = '')
- 4.1.15.20 Full($fields, $condition = '', $cache = FALSE)
- 4.1.15.21 Branch($ID, $fields, $condition = '', $cache = FALSE)
- 4.1.15.22 Parents($ID, $fields, $condition = '', $cache = FALSE)
- 4.1.15.23 Ajar($ID, $fields, $condition = '', $cache = FALSE, $sOpenLevel='1')
- 4.1.15.24 AjarBranch($ID, $fields, $condition = '', $cache = FALSE, $sOpenLevel='1')
- 4.1.15.25 RecordCount()
- 4.1.15.26 NextRow()
- 4.1.15.27 _PrepareCondition($condition, $where = FALSE, $prefix = '')
- 4.1.15.28 GetAllData()
- 4.1.15.29 GetAssocData()
- 4.1.15.30 FullTree($with_space=false)
- 4.1.15.31 FullFoSelect($with_space=false)
- 4.1.15.32 MoveItem($id,$to=-1)
- 4.1.15.33 AddSpaceItem($a,$iSpace=6 )
- 4.1.15.34 GetData($sType, $id=1, $fields = '', $condition = '', $cache = false, $iSpace=0, $bAssoc=false, $sOpenLevel='1')
- 4.1.16 Debug.php
- 4.1.17 DirectorySite.php
- 4.1.18 ExcelOld.php
- 4.1.18.1 class ExcelOld
- 4.1.18.1.1 $oExcel
- 4.1.18.1.2 $aStyle
- 4.1.18.1.3 $aStyleBold
- 4.1.18.1.4 $aStyleRight
- 4.1.18.1.5 $aStyleLeft
- 4.1.18.1.6 $aStyleBorderThickLeft
- 4.1.18.1.7 $aStyleBorderThickRight
- 4.1.18.1.8 $aStyleFormatText
- 4.1.18.1.9 $oWriter
- 4.1.18.1.10 $oDrawing
- 4.1.18.1.11 Excel()
- 4.1.18.1.12 SetActiveSheetIndex($i=0)
- 4.1.18.1.13 GetActiveSheet()
- 4.1.18.1.14 SetShowSummaryBelow($sState=true)
- 4.1.18.1.15 SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
- 4.1.18.1.16 SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
- 4.1.18.1.17 SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
- 4.1.18.1.18 SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
- 4.1.18.1.19 SetAutoSize($aHeader)
- 4.1.18.1.20 DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
- 4.1.18.1.21 SetTitle($sTitle="")
- 4.1.18.1.22 WriterExcel5($sFileNameFull,$bOutput=false)
- 4.1.18.1.23 WriterExcel7($sFileNameFull)
- 4.1.18.1.24 SetDefaultFont($sName, $iSize=0)
- 4.1.18.1.25 ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.18.1.26 ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.18.1.27 SetPrintBreak($sCordinate)
- 4.1.18.1.28 SetRowToRepeat($iRowStart,$iRowEnd)
- 4.1.18.1.29 MergeCell($sRange)
- 4.1.18.1.30 WriterPdf($sFileNameFull,$bOutput=false)
- 4.1.18.1.31 WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
- 4.1.18.1.32 WriterHtml($sFileNameFull)
- 4.1.18.1.33 GetRowHeight($iRow)
- 4.1.18.1.34 SetRowHeight($iRow,$dSize)
- 4.1.18.1.35 SetColWidth($sCol,$dSize)
- 4.1.18.1.36 GetReadData()
- 4.1.18.1.37 GetSpreadsheetData()
- 4.1.18.1.38 GetMergeCell()
- 4.1.18.1.39 CreateSheet()
- 4.1.18.1.40 RemoveSheet($iSheet)
- 4.1.18.1.41 SetProtectionFile($sPassword="12345")
- 4.1.18.1.42 SetDrawing($sCordinate,$sFullPath,$iHeight=0)
- 4.1.18.1.43 freezePane($sCell)
- 4.1.18.1.44 RemoveRow($iRow)
- 4.1.18.1.45 CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
- 4.1.18.1.46 SetWrapText($sRange)
- 4.1.18.1.47 GetNextColumn($sColumn="")
- 4.1.18.1.48 SetCreateReader()
- 4.1.18.1.49 CreateObjectExcel2007()
- 4.1.18.2 class chunkReadFilter
- 4.1.18.1 class ExcelOld
- 4.1.19 Excel.php
- 4.1.19.1 class Excel
- 4.1.19.1.1 $oExcel
- 4.1.19.1.2 $aStyle
- 4.1.19.1.3 $aStyleBold
- 4.1.19.1.4 $aStyleRight
- 4.1.19.1.5 $aStyleLeft
- 4.1.19.1.6 $aStyleBorderThickLeft
- 4.1.19.1.7 $aStyleBorderThickRight
- 4.1.19.1.8 $aStyleFormatText
- 4.1.19.1.9 $oWriter
- 4.1.19.1.10 $oDrawing
- 4.1.19.1.11 __destruct()
- 4.1.19.1.12 Excel()
- 4.1.19.1.13 SetActiveSheetIndex($i=0)
- 4.1.19.1.14 GetActiveSheet()
- 4.1.19.1.15 SetShowSummaryBelow($sState=true)
- 4.1.19.1.16 SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
- 4.1.19.1.17 SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
- 4.1.19.1.18 SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
- 4.1.19.1.19 SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
- 4.1.19.1.20 SetAutoSize($aHeader)
- 4.1.19.1.21 DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
- 4.1.19.1.22 SetTitle($sTitle="")
- 4.1.19.1.23 WriterExcel5($sFileNameFull,$bOutput=false)
- 4.1.19.1.24 WriterExcel7($sFileNameFull,$bOutput=false)
- 4.1.19.1.25 SetDefaultFont($sName, $iSize=0)
- 4.1.19.1.26 ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.19.1.27 ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
- 4.1.19.1.28 SetPrintBreak($sCordinate)
- 4.1.19.1.29 SetRowToRepeat($iRowStart,$iRowEnd)
- 4.1.19.1.30 MergeCell($sRange)
- 4.1.19.1.31 WriterPdf($sFileNameFull,$bOutput=false)
- 4.1.19.1.32 WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
- 4.1.19.1.33 WriterHtml($sFileNameFull)
- 4.1.19.1.34 GetRowHeight($iRow)
- 4.1.19.1.35 SetRowHeight($iRow,$dSize)
- 4.1.19.1.36 SetColWidth($sCol,$dSize)
- 4.1.19.1.37 GetReadData()
- 4.1.19.1.38 GetSpreadsheetData()
- 4.1.19.1.39 GetMergeCell()
- 4.1.19.1.40 CreateSheet()
- 4.1.19.1.41 RemoveSheet($iSheet)
- 4.1.19.1.42 SetProtectionFile($sPassword="12345")
- 4.1.19.1.43 SetDrawing($sCordinate,$sFullPath,$iHeight=0)
- 4.1.19.1.44 freezePane($sCell)
- 4.1.19.1.45 RemoveRow($iRow)
- 4.1.19.1.46 CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
- 4.1.19.1.47 SetWrapText($sRange)
- 4.1.19.1.48 GetNextColumn($sColumn="")
- 4.1.19.1.49 SetCreateReader()
- 4.1.19.1.50 CreateObjectExcel2007()
- 4.1.19.2 class chunkReadFilter
- 4.1.19.1 class Excel
- 4.1.20 FileCache.php
- 4.1.21 File.php
- 4.1.21.1 GetFromDir($sPathToDir, $bComparative=true)
- 4.1.21.2 RemoveToDir($aFile, $sPathToDir, $bComparative=true, $bAddTime=true, $bDeleteBefore=true)
- 4.1.21.3 Write($aFile,$sContent,$sMode="w")
- 4.1.21.4 Extract($sPathToFile, $sPathToExtract)
- 4.1.21.5 ExtractForPrice($sPathToFile, $sPathToExtract)
- 4.1.21.6 ExtractFirstFile($sPathToFile, $sPathToExtract)
- 4.1.21.7 CheckFileUpload($aFile)
- 4.1.22 Form.php
- 4.1.22.1 $sHeader
- 4.1.22.2 $sAdditionalTitle
- 4.1.22.3 $sTitle
- 4.1.22.4 $sContent
- 4.1.22.5 $sClass
- 4.1.22.6 $sSubmitButton
- 4.1.22.7 $sSubmitAction
- 4.1.22.8 $sReturnButton
- 4.1.22.9 $sReturnAction
- 4.1.22.10 $sError
- 4.1.22.11 $sErrorNT
- 4.1.22.12 $sHidden
- 4.1.22.13 $sConfirmText
- 4.1.22.14 $bIsPost
- 4.1.22.15 $sWidth
- 4.1.22.16 $bShowBottomForm
- 4.1.22.17 $bConfirmSubmit
- 4.1.22.18 $sButtonsPadding
- 4.1.22.19 $bAutoReturn
- 4.1.22.20 $sAdditionalButton
- 4.1.22.21 $sAdditionalButtonTemplate
- 4.1.22.22 $sReturn
- 4.1.22.23 $sRightTemplate
- 4.1.22.24 $bSetDefault
- 4.1.22.25 $sTemplatePath
- 4.1.22.26 $sBeforeContent
- 4.1.22.27 $sAfterContent
- 4.1.22.28 $sTitleDivHeader
- 4.1.22.29 $sReturnButtonClass
- 4.1.22.30 $sSubmitButtonClass
- 4.1.22.31 $bReturnAfterSubmit
- 4.1.22.32 $sButtonSpanClass
- 4.1.22.33 $sButtonDivClass
- 4.1.22.34 $aField
- 4.1.22.35 $bType
- 4.1.22.36 __construct($aData=array())
- 4.1.22.37 GetForm($sContent='')
- 4.1.22.38 ShowError($sError)
- 4.1.22.39 BeforeReturn($sAction,$sEditAction='')
- 4.1.22.40 AfterReturn($sAction,$sMessage='')
- 4.1.22.41 RedirectAuto($sMessage="")
- 4.1.22.42 Error404($bRedirectMissing=false)
- 4.1.23 HtmlDom.php
- 4.1.24 ImageProcess.php
- 4.1.24.1 $aDisallowedExtension
- 4.1.24.2 $aAllowedExtension
- 4.1.24.3 GetUploadedImage($sFieldName, $iMaxUploaded=3, $sTargetPath='/imgbank/Image/' ,$iIdCustom=, $iBigWidth=600, $iSmallWidth=80, $bLeaveOriginal=false)
- 4.1.24.4 ImageResize($sSource, $sDestination, $iNewWidth, $sExtension)
- 4.1.24.5 CreateSubnail($sSource,$sTargetPath='/imgbank/Image/',$iIdCustom=,$iBigWidth=600,$iMiddleWidth=300,$iSmallWidth=100)
- 4.1.24.6 ParseExtension($sPath)
- 4.1.25 Language.php
- 4.1.25.1 $aTranslateMessage
- 4.1.25.2 $aTranslateText
- 4.1.25.3 $aContextHint
- 4.1.25.4 $sLocale
- 4.1.25.5 $iLocale
- 4.1.25.6 $aLanguageList
- 4.1.25.7 $aLanguageAssoc
- 4.1.25.8 $sBaseLocale
- 4.1.25.9 $aOldParser
- 4.1.25.10 __construct($sBaseLocale = '')
- 4.1.25.11 GetLocale()
- 4.1.25.12 GetMessage($sKey, $sPage = "")
- 4.1.25.13 GetDMessage($sKey, $sPage = "")
- 4.1.25.14 GetText($sKey, $sPage = "")
- 4.1.25.15 GetContextHint($sKey, $bUnique = false)
- 4.1.25.16 GetOrderStatus($sKey)
- 4.1.25.17 PrintPrice($dAmount,$bAbs=false,$bInvert=false,$sOutputType='',$sPriceType='')
- 4.1.25.18 PrintCurrencyPrice($dAmount,$sCurrency='USD')
- 4.1.25.19 PrintPriceByType($dAmount,$sPriceType='USD')
- 4.1.25.20 Price($dAmount, $sPriceType='',$bAbs=false,$bInvert=false)
- 4.1.25.21 GetDate($iTimestamp = '', $iTimeZone = '',$bCurrentForce=false)
- 4.1.25.22 GetDateTime($iTimestamp = '', $iTimeZone = '')
- 4.1.25.23 GetPostDate($sPostDate,$iTimeZone='')
- 4.1.25.24 GetPostDateTime($sPostDate,$iTimeZone='')
- 4.1.25.25 FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s')
- 4.1.25.26 GetLocalizedRow($aData)
- 4.1.25.27 GetLocalizedAll($aData, $bReturnSql=false, $sAssocField = '')
- 4.1.25.28 Array2Hash($data, $key_array = '')
- 4.1.25.29 GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false)
- 4.1.25.30 GetConstant($sKey,$sDefaultValue='')
- 4.1.25.31 GetMessageArray($aArrayKey, $sPage = "")
- 4.1.25.32 IncludeLocaleMap($sMap)
- 4.1.25.33 AddOldParser($sObject,$iId)
- 4.1.25.34 ReplaceOldParser($sOutput)
- 4.1.25.35 GetCatalogMessage($sKey, $sPage = "")
- 4.1.25.36 GetTranslit($sString, $sCharset='utf-8')
- 4.1.25.37 PrintPriceCalc($aPrice)
- 4.1.25.38 SetText($sKey, $sContent = "")
- 4.1.26 LocaleGlobal.php
- 4.1.27 Log.php
- 4.1.28 Mail.php
- 4.1.28.1 $bAddedNoRply
- 4.1.28.2 SendNow($sAddress,$sSubject,$sBody,$sFrom='',$sFromName='',$sCc='',$iLanguage=null, $bFromDelayed=false, $iPriority=5)
- 4.1.28.3 SendAttach($sAddress,$sSubject,$sBody,$aAttachment=array(),$sCc='',$sFrom='',$sFromName='',$sCharSet = 'cp1251')
- 4.1.28.4 AddDelayed($sAddress,$sSubject,$sBody,$sFromEmail='',$sFromName='',$bCheckEmail=true, $iPriority=5 ,$sAttachCode='',$sDescription='',$sSendAfterDate='')
- 4.1.28.5 SendDelayed($iLetter=1)
- 4.1.28.6 OpenAccount($sHost,$iPort,$sUsername,$sPassword,$sType="pop3",$sFolder="",$bSsl=false)
- 4.1.28.7 GetEmailCount($oAccount)
- 4.1.28.8 GetEmailHeader($oAccount,$iNumberEmail)
- 4.1.28.9 GetAttachment($oAccount,$iNumberEmail)
- 4.1.28.10 DecodeMimeString($sString)
- 4.1.28.11 DeleteEmail($oAccount,$iNumberEmail)
- 4.1.28.12 CloseAcount($oAccount)
- 4.1.28.13 GetSenderEmail($oAccount,$iNumberEmail)
- 4.1.29 Message.php
- 4.1.29.1 __construct()
- 4.1.29.2 Index()
- 4.1.29.3 Prepare()
- 4.1.29.4 MoveToFolder()
- 4.1.29.5 Reply()
- 4.1.29.6 Forward()
- 4.1.29.7 Send()
- 4.1.29.8 Draft()
- 4.1.29.9 Compose()
- 4.1.29.10 Delete()
- 4.1.29.11 Clear()
- 4.1.29.12 Preview()
- 4.1.29.13 ChangeCurrentFolder()
- 4.1.29.14 MessageNumber($iIdUser,$iIdMessageFolder)
- 4.1.29.15 CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser=,$sUserFrom=)
- 4.1.29.16 SendMessage($sTo,$sSubject,$sText,$iIdMessage='',$bSendEmail=true)
- 4.1.29.17 DeleteMessage($iId)
- 4.1.29.18 EraseMessage($iId)
- 4.1.29.19 MoveMessage($iId,$iIdMessageFolder)
- 4.1.29.20 getUserList($aLogin)
- 4.1.29.21 ReadMessage($iId)
- 4.1.29.22 CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId=,$iPriority=3)
- 4.1.29.23 CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
- 4.1.29.24 SendBulkUserNotification($sAdditionalWhere='')
- 4.1.29.25 PreviewUserNotification()
- 4.1.29.26 AddNote($iIdUser,$sName,$sDescription,$sUrl=,$sReplyTo=)
- 4.1.29.27 CheckNote()
- 4.1.29.28 NoteClose()
- 4.1.29.29 CreateCustomerIdExcel($aUserNotification)
- 4.1.30 Payment.php
- 4.1.30.1 $aWebmoneyPurse
- 4.1.30.2 $aMoneyBookersCurrency
- 4.1.30.3 __construct()
- 4.1.30.4 Index()
- 4.1.30.5 WebmoneyResult()
- 4.1.30.6 WebmoneySuccess()
- 4.1.30.7 WebmoneyFail()
- 4.1.30.8 Log($sMethod='webmoney', $sMessage='')
- 4.1.30.9 WebMoneyPayment()
- 4.1.30.10 MoneybookersResult()
- 4.1.30.11 MoneybookersSuccess()
- 4.1.30.12 MoneybookersFail()
- 4.1.30.13 MoneybookersPayment()
- 4.1.30.14 PaypalResult()
- 4.1.30.15 PaypalSuccess()
- 4.1.30.16 PaypalFail()
- 4.1.30.17 PaypalPayment()
- 4.1.30.18 decodeQouta( $str )
- 4.1.30.19 decodeGPC( $str )
- 4.1.30.20 LiqpayResult()
- 4.1.30.21 LiqpaySuccess()
- 4.1.30.22 LiqpayFail()
- 4.1.30.23 LiqpayPayment()
- 4.1.30.24 GetLiqpayOperationXml()
- 4.1.30.25 ParseTag($rs, $tag)
- 4.1.30.26 GetTransactionAccount($sAccountId,$sCurrencyCode='')
- 4.1.30.27 WebtopayResult()
- 4.1.30.28 WebtopaySuccess()
- 4.1.30.29 WebtopayFail()
- 4.1.30.30 WebtopayPayment()
- 4.1.30.31 QiwiResult()
- 4.1.30.32 QiwiPayment()
- 4.1.30.33 MonexyResult()
- 4.1.30.34 MonexySuccess()
- 4.1.30.35 MonexyFail()
- 4.1.30.36 MonexyPayment()
- 4.1.30.37 UnitellerResult()
- 4.1.30.38 UnitellerSuccess()
- 4.1.30.39 UnitellerFail()
- 4.1.30.40 UnitellerPayment()
- 4.1.31 Permission.php
- 4.1.32 PrintContent.php
- 4.1.33 Repository.php
- 4.1.34 Resource.php
- 4.1.35 Sms.php
- 4.1.35.1 __construct()
- 4.1.35.2 FormatNumber($sPhoneNumber)
- 4.1.35.3 SendGT($sPhoneNumber, $sMessage, $iTimeout = 10)
- 4.1.35.4 SendTurbo($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
- 4.1.35.5 SendTurboV2($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
- 4.1.35.6 SendNow($sPhoneNumber, $sMessage)
- 4.1.35.7 AddDelayed($sPhoneNumber, $sMessage)
- 4.1.35.8 SendDelayed($iMessage = 1)
- 4.1.35.9 SendClickatell($sPhoneNumber, $sMessage, $sSender ='')
- 4.1.36 String.php
- 4.1.36.1 Serialize($aValue)
- 4.1.36.2 Unserialize($sValue)
- 4.1.36.3 FirstNwords($sString, $iWord)
- 4.1.36.4 CheckEmail($sEmail)
- 4.1.36.5 FilterRequestData($aData,$aFieldArray=array())
- 4.1.36.6 QuoteCommaString($sString)
- 4.1.36.7 CheckDomain($sHaystack, $sNeedle)
- 4.1.36.8 UtfEncode($sString)
- 4.1.36.9 GetSmartyTemplate($sKey,$aTemplateData=array(), $bOldStyleTemplate=true)
- 4.1.36.10 GetTemplateRow($sKey)
- 4.1.36.11 GetPage($sKey, $bShowInvisible=false)
- 4.1.36.12 ProcessDropDownAdditional()
- 4.1.36.13 ProcessStatic()
- 4.1.36.14 GetDecimal($sDouble)
- 4.1.36.15 Md5Salt($sPassword,$sSalt)
- 4.1.36.16 GenerateSalt()
- 4.1.36.17 GeneratePref($sPrefIn=)
- 4.1.36.18 GetUcfirst($sString)
- 4.1.36.19 GetUcword($sString)
- 4.1.36.20 FormatPhoneNumber($sString,$bNeedCat=TRUE)
- 4.1.36.21 CheckUaPhone($sString)
- 4.1.36.22 ParseSize($size)
- 4.1.36.23 FormatSize($size)
- 4.1.36.24 FormatPlural($count, $singular, $plural)
- 4.1.37 Table.php
- 4.1.37.1 $sType
- 4.1.37.2 $aDataFoTable
- 4.1.37.3 $sSql
- 4.1.37.4 $sTableSql
- 4.1.37.5 $aItem
- 4.1.37.6 $aColumn
- 4.1.37.7 $iRowPerPage
- 4.1.37.8 $iRowPerFirstPage
- 4.1.37.9 $iRowPerPageGeneral
- 4.1.37.10 $iPage
- 4.1.37.11 $bShowRowsPerPage
- 4.1.37.12 $sActionRowPerPage
- 4.1.37.13 $bShowPerPageAll
- 4.1.37.14 $iStepNumber
- 4.1.37.15 $aOrderedColumn
- 4.1.37.16 $aOrdered
- 4.1.37.17 $sDefaultOrder
- 4.1.37.18 $sWidth
- 4.1.37.19 $sClass
- 4.1.37.20 $sStepperClass
- 4.1.37.21 $sStepperClassTd
- 4.1.37.22 $sStepperActiveItemClass
- 4.1.37.23 $sStepperInfoClass
- 4.1.37.24 $bStepperInfo
- 4.1.37.25 $bStepperOutTable
- 4.1.37.26 $bStepperHideNoPages
- 4.1.37.27 $sCellSpacing
- 4.1.37.28 $sDataTemplate
- 4.1.37.29 $sButtonTemplate
- 4.1.37.30 $sSubtotalTemplate
- 4.1.37.31 $sSubtotalTemplateTop
- 4.1.37.32 $sAddButton
- 4.1.37.33 $sAddAction
- 4.1.37.34 $aCallback
- 4.1.37.35 $aCallbackAfter
- 4.1.37.36 $bSetDefault
- 4.1.37.37 $bPearStepper
- 4.1.37.38 $bStepperVisible
- 4.1.37.39 $bAjaxStepper
- 4.1.37.40 $bHeaderVisible
- 4.1.37.41 $bHeaderVisibleGroup
- 4.1.37.42 $bHeaderNobr
- 4.1.37.43 $bCheckVisible
- 4.1.37.44 $bCheckRightVisible
- 4.1.37.45 $bCheckOnClick
- 4.1.37.46 $sCheckAction
- 4.1.37.47 $bCheckAllVisible
- 4.1.37.48 $sCheckAllAction
- 4.1.37.49 $bDefaultChecked
- 4.1.37.50 $sCheckAllClass
- 4.1.37.51 $bFormAvailable
- 4.1.37.52 $sFormAction
- 4.1.37.53 $sCheckField
- 4.1.37.54 $iAllRow
- 4.1.37.55 $bHideTr
- 4.1.37.56 $sIdiTr
- 4.1.37.57 $sIdForm
- 4.1.37.58 $sHeaderRight
- 4.1.37.59 $sTemplateName
- 4.1.37.60 $sFilterTemplateName
- 4.1.37.61 $sPrefix
- 4.1.37.62 $sQueryString
- 4.1.37.63 $sOrderAscImage
- 4.1.37.64 $sOrderDescImage
- 4.1.37.65 $sHeaderClassSelect
- 4.1.37.66 $bFilterVisible
- 4.1.37.67 $aFilter
- 4.1.37.68 $sFormHeader
- 4.1.37.69 $sStepperAlign
- 4.1.37.70 $iGallery
- 4.1.37.71 $bIsGallery
- 4.1.37.72 $sStepperType
- 4.1.37.73 $bStepperOnePageShow
- 4.1.37.74 $bCacheStepper
- 4.1.37.75 $bTopStepper
- 4.1.37.76 $sNoItem
- 4.1.37.77 $bCountStepper
- 4.1.37.78 $iStepLimit
- 4.1.37.79 $bStepperStyling
- 4.1.37.80 $bTableWithoytStyle
- 4.1.37.81 $iStartStep
- 4.1.37.82 $bHeaderType
- 4.1.37.83 $sMarkAllText
- 4.1.37.84 $sManualLimit
- 4.1.37.85 $sButtonSpanClass
- 4.1.37.86 $sPanelTemplateTop
- 4.1.37.87 $sLinkPrefix
- 4.1.37.88 $sLinkRewrite
- 4.1.37.89 $sIdTable
- 4.1.37.90 $iColspanFilter
- 4.1.37.91 $iColspanSearchStrong
- 4.1.37.92 __construct()
- 4.1.37.93 GetTable($sHeader = '', $sHint = '',$sStaticHeader='',$sHeaderNT = '')
- 4.1.37.94 getStepper($iRowNumber)
- 4.1.37.95 printPage($countPage, $actPage)
- 4.1.37.96 getStepperPear($iRowNumber)
- 4.1.37.97 getFilter()
- 4.1.37.98 Customize()
- 4.1.37.99 SetSql($sScript, $aData = array())
- 4.1.37.100 sortArrayCallback($sA, $sB)
- 4.1.37.101 setArray($aData)
- 4.1.37.102 GetFilteredProductEnding($iCount)
- 4.1.38 Tree.php
- 4.1.38.1 $sType
- 4.1.38.2 $aDataFoTable
- 4.1.38.3 $sSql
- 4.1.38.4 $sTableSql
- 4.1.38.5 $aItem
- 4.1.38.6 $aColumn
- 4.1.38.7 $iRowPerPage
- 4.1.38.8 $iPage
- 4.1.38.9 $iStepNumber
- 4.1.38.10 $aOrderedColumn
- 4.1.38.11 $aOrdered
- 4.1.38.12 $sDefaultOrder
- 4.1.38.13 $sWidth
- 4.1.38.14 $sClass
- 4.1.38.15 $sDataTemplate
- 4.1.38.16 $sButtonTemplate
- 4.1.38.17 $sSubtotalTemplate
- 4.1.38.18 $sAddButton
- 4.1.38.19 $sAddAction
- 4.1.38.20 $aCallback
- 4.1.38.21 $bPearStepper
- 4.1.38.22 $bStepperVisible
- 4.1.38.23 $bAjaxStepper
- 4.1.38.24 $bHeaderVisible
- 4.1.38.25 $bCheckVisible
- 4.1.38.26 $bCheckAllVisible
- 4.1.38.27 $bDefaultChecked
- 4.1.38.28 $bFormAvailable
- 4.1.38.29 $sCheckField
- 4.1.38.30 $iAllRow
- 4.1.38.31 $bHideTr
- 4.1.38.32 $sHeaderRight
- 4.1.38.33 $sTemplateName
- 4.1.38.34 $sFilterTemplateName
- 4.1.38.35 $sPrefix
- 4.1.38.36 $sQueryString
- 4.1.38.37 $sOrderAscImage
- 4.1.38.38 $sOrderDescImage
- 4.1.38.39 $bFilterVisible
- 4.1.38.40 $aFilter
- 4.1.38.41 $sFormHeader
- 4.1.38.42 $sStepperAlign
- 4.1.38.43 $iGallery
- 4.1.38.44 $bIsGallery
- 4.1.38.45 $sStepperType
- 4.1.38.46 $bCacheStepper
- 4.1.38.47 $bTopStepper
- 4.1.38.48 $sNoItem
- 4.1.38.49 $bCountStepper
- 4.1.38.50 __construct()
- 4.1.38.51 getTree($sHeader = '', $sHint = '')
- 4.1.38.52 getStepper($iRowNumber)
- 4.1.38.53 getStepperPear($iRowNumber)
- 4.1.38.54 getFilter()
- 4.1.38.55 Customize()
- 4.1.38.56 setSql($sScript, $aData = array())
- 4.1.38.57 sortArrayCallback($sA, $sB)
- 4.1.38.58 setArray($aData)
- 4.1.39 VinRequest.php
- 4.1.39.1 __construct($bNeedAuth=true)
- 4.1.39.2 Index()
- 4.1.39.3 Preview()
- 4.1.39.4 Manager()
- 4.1.39.5 ManagerSave($bRedirect=true)
- 4.1.39.6 ManagerSend()
- 4.1.39.7 ManagerRefuse()
- 4.1.39.8 ManagerRelease($iId)
- 4.1.39.9 ManagerMobileNotification($aVinRequest)
- 4.1.39.10 GetVinIdList($bReturnArray=false)
- 4.1.39.11 ManagerRemember()
- 4.1.40 XajaxParser.php
- 4.2 Каталог module
- 4.2.1 AdminRegulations.php
- 4.2.2 Binotel.php
- 4.2.2.1 $oBinotel
- 4.2.2.2 __construct()
- 4.2.2.3 InputCalls()
- 4.2.2.4 OutputCalls()
- 4.2.2.5 LostCalls()
- 4.2.2.6 CallsByManager()
- 4.2.2.7 CallsByNumber()
- 4.2.2.8 CallsNow()
- 4.2.2.9 Managers()
- 4.2.2.10 UserAdd()
- 4.2.2.11 UserImport()
- 4.2.2.12 UserEdit()
- 4.2.2.13 Users()
- 4.2.2.14 Call()
- 4.2.2.15 Index()
- 4.2.2.16 GetCallFromStart()
- 4.2.2.17 GetCallRecord($sCallId)
- 4.2.2.18 GetCallsNow()
- 4.2.2.19 GetLostCalls()
- 4.2.2.20 GetCallsByNumber($sNumber)
- 4.2.2.21 GetCallsByUser($sUser)
- 4.2.2.22 GetCallInfo($sCallId)
- 4.2.2.23 GetMyLastCalls($sInternalNumber)
- 4.2.2.24 GetMyCallsByDate($sInternalNumber,$iDateStart,$iDateEnd)
- 4.2.2.25 GetCallsByDay()
- 4.2.2.26 GetCallsByDate($sDateStart,$sDateEnd)
- 4.2.2.27 GetInputCalls()
- 4.2.2.28 GetOutputputCalls()
- 4.2.2.29 GetAllUsers()
- 4.2.2.30 GetUserById($iIdUser)
- 4.2.2.31 GetUserByNameOrPhone($sNameOrPhone)
- 4.2.2.32 CreateBinotelUser($sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
- 4.2.2.33 EditBinotelUser($sId,$sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
- 4.2.2.34 RemoveBinotelUser($iIdUser)
- 4.2.2.35 GetClientLabels()
- 4.2.2.36 GetAllManagers()
- 4.2.2.37 MakeCallToExternal($iInternal,$iExternal)
- 4.2.2.38 CallTransfer($iCallId,$iInternalNumber)
- 4.2.2.39 KillCall($iCallId)
- 4.2.3 Buh.php
- 4.2.3.1 $sPrefix
- 4.2.3.2 $sCurrentPeriod
- 4.2.3.3 $sError
- 4.2.3.4 $sDateTo
- 4.2.3.5 $sDateFrom
- 4.2.3.6 $aActionException
- 4.2.3.7 $sCurrentPeriodLastDate
- 4.2.3.8 __construct()
- 4.2.3.9 Index()
- 4.2.3.10 SetNextPeriod()
- 4.2.3.11 GetLastDate($sDate)
- 4.2.3.12 Entry($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
- 4.2.3.13 EntrySingle($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
- 4.2.3.14 EntryMany($aEntry)
- 4.2.3.15 CheckParametr($aData)
- 4.2.3.16 EntryMonth($sDateMonth, $iAccount, $iAccountSub1=0, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
- 4.2.3.17 EntryMonthSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
- 4.2.3.18 EntryMonthMany($aEntry)
- 4.2.3.19 EntryMonthStartSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart)
- 4.2.3.20 Changeling ()
- 4.2.3.21 CallParseSum(&$aItem)
- 4.2.3.22 CloseMonth()
- 4.2.3.23 AddAmount()
- 4.2.3.24 ChangeForm()
- 4.2.3.25 ChangelingPreview($bVisibleForm=true)
- 4.2.3.26 GetSubconto()
- 4.2.3.27 GetAmount($sBuhSection,$iBuhSection,$idBuh,$sBuhType='credit')
- 4.2.3.28 GetSaldoLast($iSubconto1,$iBuh='361')
- 4.2.4 CallMe.php
- 4.2.5 Cart.php
- 4.2.5.1 $sExportSql
- 4.2.5.2 __construct($bNeedAuth=true)
- 4.2.5.3 Index()
- 4.2.5.4 CartList()
- 4.2.5.5 AssignDeliveryMethods()
- 4.2.5.6 CartOnePageOrder()
- 4.2.5.7 CartOnePageOrderManager()
- 4.2.5.8 CartPrint()
- 4.2.5.9 CallParseCart(&$aItem)
- 4.2.5.10 AddCartItemChecked()
- 4.2.5.11 AddCartItem($iNumber=1,$bRedirect=true,$sReference='')
- 4.2.5.12 CartUpdateNumber()
- 4.2.5.13 OrderList()
- 4.2.5.14 CallParseOrder(&$aItem)
- 4.2.5.15 ParseVinCode($sVinCode, $iCheckVinLen = 17)
- 4.2.5.16 PackageConfirm()
- 4.2.5.17 PackageDelete()
- 4.2.5.18 CheckAccount()
- 4.2.5.19 SelectAccount()
- 4.2.5.20 ShipmentDetail()
- 4.2.5.21 PaymentMethod()
- 4.2.5.22 PaymentEnd()
- 4.2.5.23 PaymentEndButton()
- 4.2.5.24 SendPendingWork($iIdCartPackage)
- 4.2.5.25 PackagePrint()
- 4.2.5.26 PackageList()
- 4.2.5.27 NewAccountError()
- 4.2.5.28 NewAccountManagerError()
- 4.2.5.29 PopUpGetOwnAuto()
- 4.2.5.30 RecalcCartUser($iIdUser,$iIdUserNew,$iIdCartPackage=0)
- 4.2.5.31 GetBoardExpiredCartUser($iIdUser)
- 4.2.5.32 CartExpiredCountPositions($iUserId = 0)
- 4.2.5.33 CartExpiredInfo($iUserId = 0)
- 4.2.5.34 OrderByPhone()
- 4.2.5.35 NewAccountDeliveryInfoFields()
- 4.2.5.36 CartOnepageDeliveryFields()
- 4.2.5.37 CartOnepagePaymentFields()
- 4.2.6 CatalogManager.php
- 4.2.6.1 $sPrefix
- 4.2.6.2 $sPrefixAction
- 4.2.6.3 $sPathToFile
- 4.2.6.4 Index()
- 4.2.6.5 EditName()
- 4.2.6.6 EditPic()
- 4.2.6.7 UploadManyPics()
- 4.2.6.8 UploadPic()
- 4.2.6.9 ViewPicList()
- 4.2.6.10 UploadMakeCodePic()
- 4.2.6.11 AddInfo($aData=array())
- 4.2.6.12 DeleteInfo($aData=array())
- 4.2.6.13 SetItemCodeImage()
- 4.2.6.14 ImportImage()
- 4.2.6.15 DeleteImportImage()
- 4.2.6.16 SetImportImage()
- 4.2.6.17 ModelType()
- 4.2.6.18 ModelTypeDelete($aData=array())
- 4.2.6.19 AddCatInfo($aData)
- 4.2.6.20 UpdateNumber()
- 4.2.7 Catalog.php
- 4.2.7.1 $sPrefix
- 4.2.7.2 $sPref
- 4.2.7.3 $aCode
- 4.2.7.4 $aCodeCross
- 4.2.7.5 $aItemCodeCross
- 4.2.7.6 $aExt
- 4.2.7.7 $sPathToFile
- 4.2.7.8 $bShowSeparator
- 4.2.7.9 $aCat
- 4.2.7.10 $aCats
- 4.2.7.11 $aModel
- 4.2.7.12 $aModelDetail
- 4.2.7.13 __construct()
- 4.2.7.14 Index()
- 4.2.7.15 ViewModel()
- 4.2.7.16 CallParseModel(&$aItem, $bSeparator=false)
- 4.2.7.17 ViewModelGroup()
- 4.2.7.18 GetModelPic($aData)
- 4.2.7.19 GetModelDescription($aData)
- 4.2.7.20 GetModelName($aData)
- 4.2.7.21 ViewModelDetail($bShow=false)
- 4.2.7.22 ModelFor()
- 4.2.7.23 CallParseModelDetail(&$aItem, $bSeparator=false)
- 4.2.7.24 ViewAssemblage()
- 4.2.7.25 GetBranch($id, $aData)
- 4.2.7.26 getAllParent($aTree, $iId, $iRootId, &$aCod)
- 4.2.7.27 CallParsePart(&$aItem)
- 4.2.7.28 GetNavigator($aData,$sCrumb = '')
- 4.2.7.29 StripCode($sCode)
- 4.2.7.30 StripLogin($sCode)
- 4.2.7.31 StripCodeSearch($sCode)
- 4.2.7.32 StripCodeSql($sField)
- 4.2.7.33 GetFormattedCode($sCode,$sPref)
- 4.2.7.34 ViewPrice()
- 4.2.7.35 GetPriceTableHead(&$oTable)
- 4.2.7.36 CallParseBrand(&$aItem)
- 4.2.7.37 CallParsePrice(&$aItem, $bSeparator=false)
- 4.2.7.38 ActualFilter(&$aItem)
- 4.2.7.39 PosPriceParse(&$aItem,$bHaveFirstSeparator=true,$bHaveAnalogs=true)
- 4.2.7.40 GetJson()
- 4.2.7.41 ViewInfoPart()
- 4.2.7.42 OriginalCross()
- 4.2.7.43 GetPriceForInfoPart($sCodeInput='',$sPrefInput='')
- 4.2.7.44 ExportPrice()
- 4.2.7.45 SetImageWidth()
- 4.2.7.46 UpdatePrice($sItemCode="",$idProvider="",$dPrice=0)
- 4.2.7.47 Cross()
- 4.2.7.48 CrossLoad()
- 4.2.7.49 CrossInstall()
- 4.2.7.50 InstallExcel($aCrossProfile, $aPref)
- 4.2.7.51 InstallExcel07($aCrossProfile, $aPref)
- 4.2.7.52 InstallCSV($aCrossProfile, $aPref)
- 4.2.7.53 CrossClearImport()
- 4.2.7.54 CrossImportAdvance()
- 4.2.7.55 CrossProfile()
- 4.2.7.56 InsertCross($aData)
- 4.2.7.57 InsertCrossStop($aData)
- 4.2.7.58 DeleteGroupCross()
- 4.2.7.59 DeleteCross($bRedirect=true)
- 4.2.7.60 DeleteGroupCrossStop()
- 4.2.7.61 DeleteCrossStop($bRedirect=true)
- 4.2.7.62 ImportCross()
- 4.2.7.63 SearchAdvance()
- 4.2.7.64 PrintPartName($aRow)
- 4.2.7.65 ChangeSelect()
- 4.2.7.66 LoadAutotechnics()
- 4.2.7.67 CrossStop()
- 4.2.7.68 ViewBrand()
- 4.2.7.69 ViewBrandShow()
- 4.2.7.70 CorrectBrandLink(&$aBrand)
- 4.2.7.71 ChangePartParam()
- 4.2.7.72 CallParseCross(&$aItem)
- 4.2.7.73 ViewOwnAuto()
- 4.2.7.74 MotoBrands()
- 4.2.7.75 MotoModels()
- 4.2.7.76 MotoDetails()
- 4.2.7.77 MotoAssemblage()
- 4.2.7.78 mb_ucfirst($str, $enc = 'utf-8')
- 4.2.7.79 outTree(&$category_arr=array(), $parent_id, $level)
- 4.2.7.80 SetSelectedPart(&$aTree=array(), $iPart)
- 4.2.7.81 GetArtId($sItemCode)
- 4.2.7.82 SortTable()
- 4.2.7.83 TruckIndex()
- 4.2.7.84 TruckModels()
- 4.2.7.85 TruckDetails()
- 4.2.7.86 TruckAssemblage()
- 4.2.7.87 ParseTruckPartsImages(&$aItem)
- 4.2.8 CommentTree.php
- 4.2.8.1 __construct()
- 4.2.8.2 GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
- 4.2.8.3 Post()
- 4.2.8.4 convertArrayToTree($aSourceArray, $sParentId='0', $sKeyChildren='child', $aKeyId='id', $sKeyParentId='parent_id')
- 4.2.8.5 doConvertArrayToTree($aSourceArray, &$aThisTree, $sParentId, $sThisId, $sKeyChildren, $aKeyId, $sKeyParentId)
- 4.2.9 ContactForm.php
- 4.2.10 Customer.php
- 4.2.11 Dashboard.php
- 4.2.12 Delivery.php
- 4.2.13 ElitRoma.php
- 4.2.13.1 $sPathToFile
- 4.2.13.2 Index()
- 4.2.13.3 Export($bPrice=false)
- 4.2.13.4 CronSecond()
- 4.2.13.5 CronLoad()
- 4.2.13.6 GetPrice()
- 4.2.13.7 Load()
- 4.2.13.8 LoadFromExcel($sFilePath,$sTable='')
- 4.2.13.9 Insert(&$aInsert=array(),$sTable='')
- 4.2.13.10 LoadPrice($aItem,$sTable='')
- 4.2.13.11 GetSessionID()
- 4.2.14 Error.php
- 4.2.15 Finance.php
- 4.2.15.1 $aHaveMoney
- 4.2.15.2 $aUserAccountLogTypeAssoc
- 4.2.15.3 __construct()
- 4.2.15.4 Index()
- 4.2.15.5 CallParseLog(&$aItem)
- 4.2.15.6 ExportAll()
- 4.2.15.7 CreateFinanceExcel($sSql,$bShowCustomer=false)
- 4.2.15.8 BillforUser ()
- 4.2.15.9 Bill()
- 4.2.15.10 BillPrint($iIdBill='')
- 4.2.15.11 Deposit($iIdUser,$dAmount,$sDescription='',$iCustomId='',$sPayType='internal',$sSection='internal',$sData='',$iIdUserAccountLogType='')
- 4.2.15.12 TransactionError($aData, $iIdUser='', $sDescription='')
- 4.2.15.13 AccountAmount($iIdUser)
- 4.2.15.14 DebtAmount($iIdUser)
- 4.2.15.15 HaveMoney($dAmount,$iIdUser='',$bFullPayment=false)
- 4.2.15.16 PayForAccount()
- 4.2.15.17 GetGeneralAccountAmount()
- 4.2.15.18 GetUserAccountLogTypeAssoc()
- 4.2.15.19 GetSumAmount($sUserType='customer')
- 4.2.15.20 AssignAccount($aUser)
- 4.2.15.21 AssignSubtotal($sWhere)
- 4.2.16 GarageManager.php
- 4.2.16.1 $aTypeDrive
- 4.2.16.2 $aTypeFuel
- 4.2.16.3 $aTypeTransmission
- 4.2.16.4 $aTypeBody
- 4.2.16.5 $aTypeWheel
- 4.2.16.6 $aVinMonth
- 4.2.16.7 __construct()
- 4.2.16.8 Index()
- 4.2.16.9 Profile()
- 4.2.16.10 CallParseUserAuto(&$aItem)
- 4.2.16.11 AddComment()
- 4.2.16.12 Edit()
- 4.2.16.13 Delete()
- 4.2.16.14 GetInfoAuto($aData)
- 4.2.16.15 GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1)
- 4.2.16.16 Get_aTypeFuel()
- 4.2.16.17 Get_aTypeDrive()
- 4.2.17 Home.php
- 4.2.18 ManagerCart.php
- 4.2.19 ManagerInvoiceCustomer.php
- 4.2.19.1 $aCartScan
- 4.2.19.2 LOG_PRICE_PLACE
- 4.2.19.3 LOG_ADDITIONAL_PAYMENT
- 4.2.19.4 CUSTOMER_TYPE_UKRAINE
- 4.2.19.5 CUSTOMER_TYPE_NOT_UKRAINE
- 4.2.19.6 CUSTOMER_TYPE_NOT_SET
- 4.2.19.7 $sPrefix
- 4.2.19.8 __construct()
- 4.2.19.9 Index()
- 4.2.19.10 CallParseCustomer(&$aItem)
- 4.2.19.11 Create($bPrint=false)
- 4.2.19.12 CallParseCreate(&$aItem)
- 4.2.19.13 ChangeRating()
- 4.2.19.14 Invoice()
- 4.2.19.15 PrintInvoice($iIdUser='',$bReturnContent=false)
- 4.2.19.16 GetFactureRight(&$aUserInvoice,&$aAdditionalItem,$aDeliveryCost=array(),$dTarifTax=0,$sCurrency='USD')
- 4.2.19.17 Recalculate($iIdInvoiceCustomer)
- 4.2.19.18 CreateOfficeTravelSheet()
- 4.2.19.19 IsTravelSheetAdd()
- 4.2.19.20 IsTravelSheetClear()
- 4.2.19.21 IsTravelSheetBrowse()
- 4.2.19.22 CreateInvoiceTravelSheet()
- 4.2.19.23 GetInvoiceExcel()
- 4.2.19.24 GetInvoiceExcelFitlered()
- 4.2.19.25 GetInvoiceExcelAll()
- 4.2.19.26 Send($iInvoiceCustomer)
- 4.2.19.27 End($iInvoiceCustomer)
- 4.2.19.28 GetInvoiceFactureExcel()
- 4.2.19.29 GetInvoiceFactureExcelFitlered()
- 4.2.19.30 GetInvoiceFactureExcelAll()
- 4.2.19.31 SendInvoiceFactureExcel($aInvoiceId)
- 4.2.19.32 GetInvoiceListExcel()
- 4.2.19.33 ChangeCustomerType()
- 4.2.19.34 DeliveryCalculator()
- 4.2.19.35 Delivery()
- 4.2.19.36 CallParseDelivery(&$aItem)
- 4.2.19.37 DeliveryEdit()
- 4.2.20 Manager.php
- 4.2.20.1 $sPrefix
- 4.2.20.2 $sPrefixAction
- 4.2.20.3 $sCustomerSql
- 4.2.20.4 $sExportSql
- 4.2.20.5 $sExportMegaSql
- 4.2.20.6 $aCustomerList
- 4.2.20.7 $sCurrentOrderStatus
- 4.2.20.8 __construct()
- 4.2.20.9 Index()
- 4.2.20.10 GetCustomerList()
- 4.2.20.11 Profile()
- 4.2.20.12 Customer()
- 4.2.20.13 CustomerEdit()
- 4.2.20.14 CustomerRedirect()
- 4.2.20.15 Order()
- 4.2.20.16 CallParseOrder(&$aItem)
- 4.2.20.17 ChangeStatus()
- 4.2.20.18 AgreeGrowth()
- 4.2.20.19 Reorder()
- 4.2.20.20 Bill()
- 4.2.20.21 ProcessOrderStatus($iId='', $sOrderStatus='', $sComment='', $sIdProviderOrder='', $dProviderPrice='', $sIdProviderInvoice='', $sCustomValue='')
- 4.2.20.22 ChangeCart($aCart,$sOrderStatus,$sCustomValue)
- 4.2.20.23 VinRequest()
- 4.2.20.24 CallParseVinRequest(&$aItem)
- 4.2.20.25 VinRequestSave($bRedirect=true)
- 4.2.20.26 VinRequestSend()
- 4.2.20.27 VinRequestRefuse()
- 4.2.20.28 VinRequestRelease($iId)
- 4.2.20.29 VinRequestMobileNotification($aVinRequest)
- 4.2.20.30 GetVinIdList($bReturnArray=false)
- 4.2.20.31 VinRequestRemember()
- 4.2.20.32 PackageAddOrderItem()
- 4.2.20.33 Package()
- 4.2.20.34 CallParsePackage(&$aItem)
- 4.2.20.35 DeletePackageEmpty()
- 4.2.20.36 ExportAll()
- 4.2.20.37 OrderReportExport()
- 4.2.20.38 ExportOrder()
- 4.2.20.39 ExportOrderAll()
- 4.2.20.40 Export($sType='row_check')
- 4.2.20.41 ExportMegaAll()
- 4.2.20.42 ExportMega($sType='row_check')
- 4.2.20.43 GetCartMake($aCart)
- 4.2.20.44 ImportStatus()
- 4.2.20.45 EditWeight()
- 4.2.20.46 ImportWeight()
- 4.2.20.47 AddWeightName($u)
- 4.2.20.48 AssignCustomers()
- 4.2.20.49 Finance()
- 4.2.20.50 CallParseLog(&$aItem)
- 4.2.20.51 ReturnFullPaymentDiscount($aCart)
- 4.2.20.52 FinanceExportAll()
- 4.2.20.53 ParentMarginDebet($aCart)
- 4.2.20.54 IsChangeableLogin($sLogin)
- 4.2.20.55 CountMoney()
- 4.2.20.56 PayCartPackage($iIdCartPackage,$aEntry=array())
- 4.2.20.57 NotifyDebitedMoney($aEntry=array())
- 4.2.20.58 PrintOrder()
- 4.2.20.59 RefusePending()
- 4.2.20.60 PrintPakage()
- 4.2.20.61 SetPriceTotalCartPackage($aCart)
- 4.2.20.62 MergePakage()
- 4.2.20.63 ChangeProvider ()
- 4.2.20.64 SetPackagePayed ()
- 4.2.20.65 Cat ()
- 4.2.20.66 SynonymBrandClear ($sBrand)
- 4.2.20.67 Synonym ()
- 4.2.20.68 CatPref ()
- 4.2.20.69 SetCheckedAuto ()
- 4.2.20.70 CustomerRecalcCart ()
- 4.2.20.71 JoinOrders()
- 4.2.20.72 GetUserSelect()
- 4.2.20.73 GetPopularProducts()
- 4.2.21 Manual.php
- 4.2.22 Map.php
- 4.2.23 Message.php
- 4.2.23.1 __construct()
- 4.2.23.2 Prepare()
- 4.2.23.3 MoveToFolder()
- 4.2.23.4 Reply()
- 4.2.23.5 Forward()
- 4.2.23.6 Send()
- 4.2.23.7 Draft()
- 4.2.23.8 Compose()
- 4.2.23.9 Delete()
- 4.2.23.10 Clear()
- 4.2.23.11 Preview()
- 4.2.23.12 ChangeCurrentFolder()
- 4.2.23.13 Browse()
- 4.2.23.14 CallParseMessage(&$aItem)
- 4.2.23.15 MessageNumber($iIdUser,$iIdMessageFolder)
- 4.2.23.16 CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser='',$sUserFrom='',$aAttachFiles=array())
- 4.2.23.17 SendMessage($sTo,$sSubject,$sText,$iIdMessage='',$bSendEmail=true, $aAttachFiles=array())
- 4.2.23.18 DeleteMessage($iId)
- 4.2.23.19 EraseMessage($iId)
- 4.2.23.20 MoveMessage($iId,$iIdMessageFolder)
- 4.2.23.21 getUserList($aLogin)
- 4.2.23.22 ReadMessage($iId)
- 4.2.23.23 CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId='',$iPriority=3)
- 4.2.23.24 CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
- 4.2.23.25 SendBulkUserNotification($sAdditionalWhere='')
- 4.2.23.26 PreviewUserNotification()
- 4.2.23.27 AddNote($iIdUser,$sName,$sDescription,$sUrl='',$sReplyTo='')
- 4.2.23.28 CheckNote()
- 4.2.23.29 NoteClose()
- 4.2.23.30 CreateCustomerIdExcel($aUserNotification)
- 4.2.23.31 ChangeStarred()
- 4.2.23.32 ChangeStarredMessage()
- 4.2.23.33 GetAttachFiles()
- 4.2.24 News.php
- 4.2.25 OwnAuto.php
- 4.2.25.1 $sPrefix
- 4.2.25.2 $aTypeDrive
- 4.2.25.3 $aTypeFuel
- 4.2.25.4 $aTypeTransmission
- 4.2.25.5 $aTypeBody
- 4.2.25.6 $aTypeWheel
- 4.2.25.7 $aVinMonth
- 4.2.25.8 __construct()
- 4.2.25.9 Index()
- 4.2.25.10 CallParseUserAuto(&$aItem)
- 4.2.25.11 CallParseLogUserAuto(&$aItem)
- 4.2.25.12 GetJson()
- 4.2.25.13 Del()
- 4.2.25.14 GetInfoAuto($aData)
- 4.2.25.15 Get_aTypeFuel()
- 4.2.25.16 Get_aTypeDrive()
- 4.2.25.17 GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1, $aData)
- 4.2.25.18 AddJson()
- 4.2.25.19 GetAutoInfoTip($iOrderId)
- 4.2.25.20 GetListOwnAuto()
- 4.2.25.21 GetInfoById($iId = 0)
- 4.2.25.22 SearchLog()
- 4.2.25.23 AddSearchAuto()
- 4.2.25.24 DelFromAutoLog()
- 4.2.26 PaymentDeclarationManager.php
- 4.2.27 PaymentDeclaration.php
- 4.2.28 Payment.php
- 4.2.29 PaymentReportManager.php
- 4.2.30 PaymentReport.php
- 4.2.31 PriceFtp.php
- 4.2.32 PriceGroup.php
- 4.2.33 Price.php
- 4.2.33.1 $sPrefix
- 4.2.33.2 $oCatalog
- 4.2.33.3 $rs
- 4.2.33.4 $exchange_facrot
- 4.2.33.5 $aPref
- 4.2.33.6 $aParserPatern
- 4.2.33.7 $aParserBefore
- 4.2.33.8 $aParserAfter
- 4.2.33.9 $aTrimLeft
- 4.2.33.10 $aTrimRight
- 4.2.33.11 $aPrefName
- 4.2.33.12 $aPriceGrp
- 4.2.33.13 $aValidateExtensions
- 4.2.33.14 __construct()
- 4.2.33.15 Index()
- 4.2.33.16 LoadFromFile()
- 4.2.33.17 InitLoader($aPrice_profile)
- 4.2.33.18 LoadFromExcel($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.19 LoadFromCsv($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.20 LoadFromText($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.21 LoadFromDbf($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
- 4.2.33.22 LoadPrice($data,$aPrice_profile,$aProvider,$iUser,$iPriceQueue)
- 4.2.33.23 Install($bRedirect=true)
- 4.2.33.24 ConformityApply()
- 4.2.33.25 AutoAssocCat()
- 4.2.33.26 Conformity()
- 4.2.33.27 ClearImport($sMessage='', $bRedirect=true, $sType = 'all', $iIdProvider=0)
- 4.2.33.28 ClearProvider($bRedirect=true, $iPriceQueueId = 0)
- 4.2.33.29 ClearPref()
- 4.2.33.30 AddItem($aCart,$dPrice)
- 4.2.33.31 Export()
- 4.2.33.32 ExportFile()
- 4.2.33.33 AddRequest()
- 4.2.33.34 AddCat()
- 4.2.33.35 ConvertToInteger($sNumber)
- 4.2.33.36 RefreshQueue()
- 4.2.33.37 getStoppedQueueFlag($id)
- 4.2.33.38 SaveToLog($aResult, $iAllStringsCurrentList, $iAllStringsTotal, $iAllStrings, &$iCountError, $iList, $iPriceQueue, $aData, $aPrice_profile)
- 4.2.33.39 CheckStoppedLoadPrice($iPriceQueue)
- 4.2.33.40 LoadFromXlsxAll($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
- 4.2.33.41 LoadFromXlsxPartial($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
- 4.2.33.42 GetArrayUnknownPref()
- 4.2.33.43 SaveFilesToQueue($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
- 4.2.33.44 SaveFilesToQueueExtended($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
- 4.2.33.45 SaveFilesToQueueExtendedInsert($aProfileInfo,$aData,$aValue,$sErrorProfile,$sPathToFile)
- 4.2.33.46 ClearOldQueueFiles()
- 4.2.33.47 ClearOldQueueImportRecords()
- 4.2.33.48 RemovePref()
- 4.2.33.49 AddAutoPref()
- 4.2.33.50 GetAssociate()
- 4.2.33.51 FindAssociate($aData)
- 4.2.33.52 BuildAssociateData()
- 4.2.33.53 GetPriceMarginId($aData)
- 4.2.33.54 dbg_last_error($iPriceQueue = 0)
- 4.2.34 PriceProfile.php
- 4.2.34.1 $sPrefix
- 4.2.34.2 __construct()
- 4.2.34.3 Index()
- 4.2.34.4 ReloadViewPrice()
- 4.2.34.5 ProviderAddFromFile()
- 4.2.34.6 PopUpProviderAdd()
- 4.2.34.7 CreateProvider()
- 4.2.34.8 GetDataFromFile($aData)
- 4.2.34.9 LoadFromCsvLimit($aFile,$iLimit=10)
- 4.2.34.10 LoadFromExcelLimit($aFile,$iLimit=10)
- 4.2.34.11 CreateProfileFromFile()
- 4.2.34.12 ProviderEdit()
- 4.2.34.13 ProviderMakroInfo($aData)
- 4.2.35 PriceQueue.php
- 4.2.35.1 $sPrefix
- 4.2.35.2 $sPrefixAction
- 4.2.35.3 $sPathToFile
- 4.2.35.4 PriceQueue()
- 4.2.35.5 Index()
- 4.2.35.6 GetMailAttachment()
- 4.2.35.7 LoadQueuePrice()
- 4.2.35.8 GetFtpFile()
- 4.2.35.9 GetQueueInfoTable()
- 4.2.35.10 CallParseQueue(&$aItem)
- 4.2.35.11 AsuncLoadQueuePrice($iRedirect = 1)
- 4.2.35.12 SendRequest($url, $params)
- 4.2.35.13 LoadMessageLog()
- 4.2.35.14 BuildMessage($iId = 0,$bIsMailMessage = false)
- 4.2.35.15 GetProfile($sType = 'mail', $sFileName = '', $sSubject = '', $sFrom = '')
- 4.2.36 PriceSearchLog.php
- 4.2.37 PublicProvider.php
- 4.2.38 Rating.php
- 4.2.39 RequestForm.php
- 4.2.40 Rubricator.php
- 4.2.40.1 __construct()
- 4.2.40.2 GetModels()
- 4.2.40.3 GetModelDetails()
- 4.2.40.4 SetMake()
- 4.2.40.5 SetModel()
- 4.2.40.6 SetModelDetail()
- 4.2.40.7 SetAll()
- 4.2.40.8 GetRubricatorUrl()
- 4.2.40.9 GetRubricatorUrlForFilter()
- 4.2.40.10 GetPart($sUrlGroup='',$iIdPriceGroup=0)
- 4.2.40.11 CallParsePartRubricator(&$aItem)
- 4.2.40.12 Index()
- 4.2.40.13 Category()
- 4.2.40.14 SubCategory()
- 4.2.40.15 GetMainMenu()
- 4.2.40.16 GetMain()
- 4.2.40.17 SetBrandPriceOrderUrl($sUrlParamsInclude)
- 4.2.40.18 GetBrandsForFilter($sType,$source,$iIdPriceGroup,$aItemCodesUnique)
- 4.2.40.19 cmp($a, $b)
- 4.2.40.20 GetRubricForModelGroup($aModelGroup,$sCat)
- 4.2.40.21 CheckSelectedAuto()
- 4.2.40.22 CheckSelectedAutoName()
- 4.2.40.23 ClearAutoUrl()
- 4.2.41 Search.php
- 4.2.41.1 $sPrefix
- 4.2.41.2 $sQuery
- 4.2.41.3 __construct()
- 4.2.41.4 Index($bShowSearchForm=true)
- 4.2.41.5 AllPriceGrouped()
- 4.2.41.6 AllPriceGroup()
- 4.2.41.7 SinglePriceGroup()
- 4.2.41.8 SetDefaultSetting(&$oSphinxClient,$iLimit=1000)
- 4.2.41.9 GetSphinxKeyword($sQuery)
- 4.2.41.10 StripQuery($sQuery)
- 4.2.41.11 AllSearch()
- 4.2.42 Sound.php
- 4.2.42.1 $aSound
- 4.2.42.2 $iAudio
- 4.2.42.3 GetSound($sKey, $sDefault = "")
- 4.2.42.4 InsertIntoPage($sCode,$sDefault="")
- 4.2.42.5 InsertIntoPageCustomerByLogin($sLogin)
- 4.2.42.6 InsertIntoPageCustomerById($sId)
- 4.2.42.7 UploadCustomerSound()
- 4.2.42.8 GetHtmlCode($sFilename)
- 4.2.42.9 GetHtmlCodeCustomer($aData)
- 4.2.42.10 GetCustomerFileNamePath($sLogin,$bIsUrl=false)
- 4.2.43 Store.php
- 4.2.43.1 $sPreffix
- 4.2.43.2 $bTransferFlag
- 4.2.43.3 __construct()
- 4.2.43.4 Index()
- 4.2.43.5 AddToSale()
- 4.2.43.6 AddToTransfer()
- 4.2.43.7 InputInvoiceScanner()
- 4.2.43.8 InputInvoiceManual()
- 4.2.43.9 InputInvoiceProcess()
- 4.2.43.10 Sale()
- 4.2.43.11 SaleInvoice()
- 4.2.43.12 SaleInvoiceProcess()
- 4.2.43.13 ReturnStore()
- 4.2.43.14 Log()
- 4.2.43.15 LogHistory()
- 4.2.43.16 GetMd5($aValue)
- 4.2.43.17 UpdateNumber()
- 4.2.43.18 Transfer()
- 4.2.43.19 TransferProcess()
- 4.2.43.20 TransferProcessTry($aProductFromLog=array(), &$aValue=array(), $aData=array(), $iType='2')
- 4.2.43.21 Balance()
- 4.2.43.22 ExportToPrice()
- 4.2.43.23 Products()
- 4.2.44 TecdocDb.php
- 4.2.44.1 Execute($sSql,$aInput=false)
- 4.2.44.2 GetAll($sSql)
- 4.2.44.3 GetAssoc($sSql, $aData=array(), $bReturnSql=false)
- 4.2.44.4 GetRow($sSql)
- 4.2.44.5 GetOne($sSql)
- 4.2.44.6 AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
- 4.2.44.7 Debug()
- 4.2.44.8 LogSql($bEnable=true)
- 4.2.44.9 InsertId()
- 4.2.44.10 AffectedRow()
- 4.2.44.11 StartTrans()
- 4.2.44.12 FailTrans()
- 4.2.44.13 CompleteTrans()
- 4.2.44.14 Escape($aData)
- 4.2.44.15 GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
- 4.2.44.16 SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
- 4.2.44.17 GetTableInfo($sType='')
- 4.2.44.18 SetWhere(&$sWhere, $aData, $sDataField, $sPrefix, $sTableField="")
- 4.2.44.19 GetDateFormat($sNameField="post_date", $sFormat="")
- 4.2.44.20 GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
- 4.2.44.21 GetModels($aData)
- 4.2.44.22 GetModel($aData)
- 4.2.44.23 GetModelAssoc($aData)
- 4.2.44.24 GetModelPicAssoc($aData)
- 4.2.44.25 GetModelInfo($aData)
- 4.2.44.26 GetModelDetails($aData,$aCat=false,$aCatTitles=false)
- 4.2.44.27 GetModelDetailAssoc($aData,$aCat=false)
- 4.2.44.28 GetApplicability($aData)
- 4.2.44.29 GetModelDetail($aData,$aCat=false)
- 4.2.44.30 GetTree($aData)
- 4.2.44.31 GetTreeAssoc()
- 4.2.44.32 GetTreeTruck($aData)
- 4.2.44.33 GetTreeParts($aData, $aCats=false, $bTruck=false)
- 4.2.44.34 GetTreePartsRubricator($aData, $aCats=false)
- 4.2.44.35 GetPartCriterias($aData)
- 4.2.44.36 GetImages($aData, $aCats=false, $bAssoc=TRUE)
- 4.2.44.37 GetArt($aData)
- 4.2.44.38 GetArtName($aData)
- 4.2.44.39 GetArts($aCodes)
- 4.2.44.40 GetPartInfo($aData,$aCats=false)
- 4.2.44.41 GetCross($aData,$aCats=false)
- 4.2.44.42 GetCriterias($aData)
- 4.2.44.43 GetOriginals($aData,$aCats=false)
- 4.2.44.44 GetIdMakeByIdModel($iIdModel)
- 4.2.44.45 AssocArtIdItemCode($aData)
- 4.2.44.46 GetCriteriasDBTOF($aData,$sLang='en')
- 4.2.44.47 GetModelDetailsDBTOF($aData,$aCat=false,$sLang='en')
- 4.2.44.48 GetApplicabilityDBTOF($aData,$sLang='en')
- 4.2.44.49 GetModificationAssoc($aData)
- 4.2.44.50 GetSelectCar($aData)
- 4.2.44.51 GetYears($sModel)
- 4.2.45 Test.php
- 4.2.46 User.php
- 4.2.46.1 $aErrorTr
- 4.2.46.2 __construct()
- 4.2.46.3 Login()
- 4.2.46.4 DoLogin()
- 4.2.46.5 UloginLogin()
- 4.2.46.6 Logout()
- 4.2.46.7 NewAccount()
- 4.2.46.8 NewAccountError()
- 4.2.46.9 DoNewAccount($bAutoCreate=false)
- 4.2.46.10 ConfirmRegistration()
- 4.2.46.11 RestorePassword()
- 4.2.46.12 NotifyConfirmedProfileFill($iIdUser)
- 4.2.46.13 ChangePassword()
- 4.2.46.14 ChangeLogin()
- 4.2.46.15 NewPassword()
- 4.2.46.16 CheckLogin()
- 4.2.46.17 ChangeLevelPrice()
- 4.2.46.18 RecalcCart($iIdUser,$iIdUserNotManager = 0)
- 4.2.47 VinRequest.php
- 4.2.47.1 __construct()
- 4.2.47.2 Index()
- 4.2.47.3 Preview()
- 4.2.47.4 Manager()
- 4.2.47.5 ManagerSave($bRedirect=true)
- 4.2.47.6 ManagerSend()
- 4.2.47.7 ManagerRefuse()
- 4.2.47.8 ManagerRelease($iId)
- 4.2.47.9 ManagerMobileNotification($aVinRequest)
- 4.2.47.10 GetVinIdList($bReturnArray=false)
- 4.2.47.11 ManagerRemember()
- 4.2.47.12 ManagerDelivery()
- 4.2.47.13 ManagerSendPreview()
- 4.2.47.14 PackageCreate()
- 4.2.47.15 Get_aTypeBody()
- 4.2.47.16 Get_aTypeKpp()
- 4.2.47.17 Get_aTypeWheel()
- 4.2.47.18 Get_Months()
- 4.2.47.19 GetMarka()
- 4.2.47.20 ChangeSelect()
- 4.2.47.21 ChangeSelectOwnAuto()
- 4.3 Каталог system
- 4.3.1 BinotelApi.php
- 4.3.1.1 $key
- 4.3.1.2 $secret
- 4.3.1.3 $apiHost
- 4.3.1.4 $apiVersion
- 4.3.1.5 $apiFormat
- 4.3.1.6 $disableSSLChecks
- 4.3.1.7 $debug
- 4.3.1.8 __construct($key, $secret, $apiHost = null, $apiVersion = null, $apiFormat = null)
- 4.3.1.9 sendRequest($url, array $params)
- 4.3.1.10 handleBinotelCallback()
- 4.3.1.11 disableSSLChecks()
- 4.3.1.12 getSingnatureByRequest(array $params)
- 4.3.2 Content.php
- 4.3.2.1 $aDropdownMenu
- 4.3.2.2 $aAccountMenu
- 4.3.2.3 $aCrumbs
- 4.3.2.4 __construct()
- 4.3.2.5 CreateMainMenu()
- 4.3.2.6 DropdownGetCustom()
- 4.3.2.7 DropdownGetChilds($iIdParent)
- 4.3.2.8 AccountGetChilds($iIdParent)
- 4.3.2.9 AddCrumb($sName,$sLink='')
- 4.3.2.10 AssignCrumb()
- 4.3.2.11 DelAllCrumbs()
- 4.3.2.12 ParseTemplate($bRefreshCartAjax=false)
- 4.3.2.13 Init()
- 4.3.2.14 IsChangeableLogin($sLogin)
- 4.3.2.15 CallOldReplacer($sObject,$sOutput)
- 4.3.2.16 FirstNwords($sString, $iWord)
- 4.3.2.17 GetOrderStatus($sKey)
- 4.3.2.18 PrintPartName($aRow)
- 4.3.2.19 CorrectSeoUrl($sText,$sType)
- 4.3.2.20 LoadBanners()
- 4.3.2.21 Translit($str)
- 4.3.2.22 CreateSeoUrl($sAction,$aData,$bAbsolute=0)
- 4.3.2.23 CustomizeTable ($oTable)
- 4.3.2.24 RedirectOnSlash()
- 4.3.2.25 ClearTimer()
- 4.3.2.26 ShowTimer($sMessage='')
- 4.3.2.27 AddCrumbAndCaption()
- 4.3.2.28 GetMonthDay($iTimestamp='')
- 4.3.2.29 GetYear($iTimestamp='')
- 4.3.2.30 FixChars($str)
- 4.3.2.31 CheckMessageUrl()
- 4.3.2.32 ProcessDropDownAdditional()
- 4.3.2.33 SetMetaTagsPage($sKey,$aData=array())
- 4.3.2.34 SetH1($sKey, $aData=array(),$sName='')
- 4.3.3 Cron.php
- 4.3.3.1 Cron()
- 4.3.3.2 CloseCartPackage($iId,$sOrderStatus='refused')
- 4.3.3.3 SendAutopayPackage($iIdUser)
- 4.3.3.4 ClearOldData()
- 4.3.3.5 SendDbBackup()
- 4.3.3.6 NotifyPendingOrder()
- 4.3.3.7 NotifyLastVisit()
- 4.3.3.8 DeleteTemporaryCustomer()
- 4.3.3.9 ClearCustomerData()
- 4.3.3.10 MoveExpiredCart()
- 4.3.3.11 ClearOldPriceQueue()
- 4.3.3.12 ClearOldServiceLog()
- 4.3.3.13 ClearOldMailDelayed()
- 4.3.3.14 ClearOldUserNotification()
- 4.3.3.15 ClearOldAutoSearchLog()
- 4.3.3.16 ClearOldPriceSearchLog()
- 4.3.3.17 ClearAllOld()
- 4.3.3.18 AssociateDelayedPrices()
- 4.3.3.19 AssociateDelayedPricesMinutely()
- 4.3.3.20 UpdatePriceMargin()
- 4.3.4 Currency.php
- 4.3.4.1 $aCurrencyAssoc
- 4.3.4.2 $aCurrency
- 4.3.4.3 __construct()
- 4.3.4.4 InitCurrency()
- 4.3.4.5 BasePrice($dPrice=0,$iIdCurrency=1)
- 4.3.4.6 Price($dPrice=0,$iIdCurrency=1)
- 4.3.4.7 PrintPrice($dPrice=0, $iIdCurrency=0, $iRoundDigit=2, $sOutputType='')
- 4.3.4.8 BillRound($dPrice=0)
- 4.3.4.9 GetPriceWithoutSymbol($dPrice=0)
- 4.3.4.10 CurrecyConvert($L, $sType='RUB')
- 4.3.4.11 SemanticUkr($i,&$words,&$fem,$f, $sType='RUB')
- 4.3.4.12 GetExchangeRate($iIdCurrencyFrom,$iIdCurrencyTo)
- 4.3.4.13 PrintCurrencyPrice($dPrice=0,$sCurrency='USD')
- 4.3.4.14 PriceContent($sCurrency,$sPrice)
- 4.3.4.15 PrintSymbol($dPrice=0,$iIdCurrency=0)
- 4.3.5 Discount.php
- 4.3.6 Exchange.php
- 4.3.6.1 $sTempDir
- 4.3.6.2 $iTimer
- 4.3.6.3 $oXml
- 4.3.6.4 $iTimerMinute
- 4.3.6.5 $bAutoImport
- 4.3.6.6 $aType
- 4.3.6.7 Auth()
- 4.3.6.8 __construct()
- 4.3.6.9 PrintFlush($s)
- 4.3.6.10 PrintFlush2($s)
- 4.3.6.11 Progress($i,$iMax,$bTimer=true)
- 4.3.6.12 OnFileName()
- 4.3.6.13 Index()
- 4.3.6.14 SendRequest($url, $params)
- 4.3.6.15 SalePrice()
- 4.3.6.16 SaleBrands()
- 4.3.6.17 SaleProviders()
- 4.3.6.18 SaleCustomers()
- 4.3.6.19 SaleOrders ()
- 4.3.6.20 SaleSuccess()
- 4.3.6.21 CatalogFile()
- 4.3.6.22 CatalogImport()
- 4.3.6.23 CatalogImportBrands()
- 4.3.6.24 CatalogImportProviders()
- 4.3.6.25 CatalogImportCustomers()
- 4.3.6.26 CatalogImportPrice()
- 4.3.6.27 CatalogImportOrders()
- 4.3.6.28 CatalogImportCrosses()
- 4.3.6.29 CatalogImportAllCrosses($oXml)
- 4.3.7 Language.php
- 4.3.7.1 $aTranslateMessage
- 4.3.7.2 $aTranslateText
- 4.3.7.3 $aContextHint
- 4.3.7.4 $sLocale
- 4.3.7.5 $iLocale
- 4.3.7.6 $aLanguageList
- 4.3.7.7 $aLanguageAssoc
- 4.3.7.8 $sBaseLocale
- 4.3.7.9 $aOldParser
- 4.3.7.10 __construct($sBaseLocale = '')
- 4.3.7.11 GetLocale()
- 4.3.7.12 GetMessage($sKey, $sPage = "")
- 4.3.7.13 GetDMessage($sKey, $sPage = "")
- 4.3.7.14 GetText($sKey, $sPage = "")
- 4.3.7.15 GetContextHint($sKey, $bUnique = false)
- 4.3.7.16 GetOrderStatus($sKey)
- 4.3.7.17 PrintPrice($dAmount, $bAbs=false, $bInvert=false, $sOutputType='', $sPriceType='')
- 4.3.7.18 PrintCurrencyPrice($dAmount,$sCurrency='USD')
- 4.3.7.19 PrintPriceByType($dAmount,$sPriceType='USD')
- 4.3.7.20 Price($dAmount, $sPriceType=,$bAbs=false,$bInvert=false)
- 4.3.7.21 GetDate($iTimestamp = '', $iTimeZone = '',$bCurrentForce=false)
- 4.3.7.22 GetDateTime($iTimestamp = , $iTimeZone = )
- 4.3.7.23 GetPostDate($sPostDate,$iTimeZone='')
- 4.3.7.24 GetPostDateTime($sPostDate,$iTimeZone='')
- 4.3.7.25 FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s')
- 4.3.7.26 GetLocalizedRow($aData)
- 4.3.7.27 GetLocalizedAll($aData, $bReturnSql=false, $sAssocField = '')
- 4.3.7.28 Array2Hash($data, $key_array = '')
- 4.3.7.29 GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false)
- 4.3.7.30 GetConstant($sKey,$sDefaultValue='')
- 4.3.7.31 GetMessageArray($aArrayKey, $sPage = "")
- 4.3.7.32 IncludeLocaleMap($sMap)
- 4.3.7.33 AddOldParser($sObject,$iId)
- 4.3.7.34 ReplaceOldParser($sOutput)
- 4.3.7.35 GetCatalogMessage($sKey, $sPage = "")
- 4.3.7.36 GetTranslit($sString, $sCharset='utf-8')
- 4.3.7.37 PrintPriceCalc($aPrice)
- 4.3.7.38 SetText($sKey, $sContent = "")
- 4.3.7.39 getContextHintProvider($iIdProvider = 0,$iId=0)
- 4.3.7.40 GetMonthDayFromPostDate($sPostDate='',$iTimeZone='')
- 4.3.7.41 GetYearFromPostDate($sPostDate='',$iTimeZone='')
- 4.3.8 Webservice.php
- 4.3.1 BinotelApi.php
- 4.1 Каталог core
- 5 Каталог cron
- 6 Каталог css
- 7 Каталог image
- 8 Каталог imgbank
- 9 Каталог include
- 10 Каталог js
- 11 Каталог lib
- 12 Каталог libp
- 13 Каталог mpanel
- 14 Каталог single
- 15 Каталог spec
- 16 Каталог template
- 17 Каталог verstka
Структура каталогов
cache | Файловый кеш |
class | Основные классы обработчики |
cron | Скрипты создания backup |
css | Файлы css дизайна |
image | Картинки дизайна |
imgbank | Файлы выгрузок/загрузок |
include | Файлы SQL запросов |
js | Файлы js дизайна |
lib | Библиотеки php, общие для всех проектов |
libp | Библиотеки js, общие для всех проектов |
mpanel | Админ панель MPanel |
single | Дополнительные библиотеки подключаемые только в текущем проекте |
spec | Связь ссылок на сайте с обработчиками (Роутинг) |
template | Шаблоны внешнего вида(подключенный дизайн) |
verstka | Исходные файлы верстки |
Файлы главной директории
.htaccess | Настройки WEB сервера и дополнительные параметры перенаправления для ЧПУ страниц |
action_includer.php | Механизм связи ссылок на сайте(spec) и обработчиков(class) |
connect.php | Настройки подключения к базе данных, TecDoc, настройки языка и cookies |
connect_sample.php | Пример файла подключения |
favicon.ico | Иконка сайта для браузера |
index.php | Главный исполнительный файл. |
init.php | Инициализация библиотек и ядра. |
xajax_request_parser.php | Обработчик xajax |
Каталог cache
Файловый кеш, может использоваться для кеширования главного меню, некоторых данных TecDoc и других данных с низкой частотой обновления, но долгим по времени выполнения запросом. Файлы разбиваются по директориям. Названия файлов и директорий указывается программистом в исходном коде. Файлы содержат сериализованные данные.
Пример использования:
$sCacheName='название_файла_кеша'; $sCacheDir='название_директории_кеша' if(!($aBrands=FileCache::GetValue($sCacheDir, $sCacheName))) { $aBrands=Db::GetAll($sSql); FileCache::SetValue($sCacheDir, $sCacheName, $aBrands); }
В данном примере мы получаем массив $aBrands из файлового кеша, а в случае отсутствия необходимого кеша - выполняется запрос получения $aBrands из базы данных и сохранение данных в кеш.
Каталог class
Каталог core
Каталог locale_map
- directory_site_category.php
- directory_site.php
- manual.php
- rating.php
- translate_message.php
- translate_text.php
Каталог mpanel
Каталог spec
- admin.php
- comment.php
- config.php
- constant.php
- content_editor.php
- currency.php
- directory_site_category.php
- directory_site_config.php
- directory_site.php
- drop_down_additional.php
- drop_down_item.php
- drop_down.php
- language.php
- locale_global.php
- news.php
- splash.php
- template.php
- translate_message.php
- translate_text.php
- trash.php
action_array.php
includer.php
xajax_request_parser.php
Каталог sql
Каталог init_database
- Каталог update
- capcha_hash.php
- message.php
- news.php
- price_statistic.php
- sms_delayed.php
- vin_request.php
CoreAdminLanguageDenied.php
CoreAdmin.php
CoreAssocLanguage.php
CoreComment.php
CoreConfig.php
CoreConstant.php
CoreCurrency.php
CoreDirectorySiteCategory.php
CoreDirectorySite.php
CoreDropDownAdditional.php
CoreDropDown.php
CoreLanguage.php
CoreNews.php
CoreTemplate.php
CoreTranslateMessage.php
CoreTranslateText.php
CoreTrash.php
CoreUserManagerPrivilege.php
CoreUserManagerRolePrivilege.php
CoreUserRole.php
CoreVinRequest.php
Admin.php
$sTableName
$sAdditionalLink
$sTablePrefix
$sTableId
$aChildTable
$sAction
$sWinHead
$sPath
$sSubMenu
$aCheckField
$sBeforeAddMethod
$aFCKEditors
$sSqlPath
$sScriptForAdd
$bAlreadySetMessage
$sNumSql
$aSearch
$sSearchSQL
$sAddonPath
$aAdmin
hasAccessTo($sAction)
Admin()
AdminRedirect($sAction='', $aMessage=array())
PreIndex()
AfterIndex()
SetDefaultTable($oTable, $aWhereData = array())
ProcessTemplateForm($sPath)
Add($bEdit = false)
Edit()
Apply()
Search()
SearchForm()
BeforeApply()
AfterApply($aBeforeRow,$aAfterRow)
BeforeAddAssign(&$aData)
CheckField()
Delete()
Trash()
Archive()
UnArchive()
ActionToClass($sBaseAction)
Message($sType = '', $sMessage = '',$sOldObject='')
GetFilter()
ProcessFCKEditors()
initLocaleGlobal()
GetFCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
GetCKEditor($sFieldName='description',$sFieldValue='',$iWidth=700,$iHeight=600,$sFCKEditorEnterMode='')
DisplayChange()
OrderChange()
IsMpanelUser($sLogin,$sPassword)
SearchStrongChange()
Auth.php
$iRememberDays
Количество дней хранения cookies. По умолчанию имеет значение 90 дней.
$aUser
$sWhere
$bIgnoreCookie
Login($sLogin, $sPassword, $bIgnoreVisible=false, $bIgnoreEmailConfirmation=true, $bSalt=false, $bCheckPassword=true, $sOtherFieldAsLogin='')
Logout()
NeedAuth($sType='')
Проверка типа авторизованного пользователя. Если тип совпадает с параметром $sType, то функция возвращает true, если нет - вызывает LoginErrorRedirect(), где формируется сообщение об ошибке.
LoginErrorRedirect($bSaveReturn=true)
IsAuth()
Проверяет авторизован ли пользователь. Если да, возвращает true, если нет - false.
GetUserProfile($iId,$sType='customer')
Получение информации о пользователе с указанным id в параметре $iId.
IsUser($sLogin,$sPassword,$bIgnoreVisible=false,$bSalt=false,$sOtherFieldAsLogin='')
Проверка существования пользователя с указанным логином и паролем.
Параметры:
- $sLogin - логин;
- $sPassword - пароль;
- $bIgnoreVisible - указывает учитывать или нет видимость пользователя. По умолчанию false, что означает учитывать видимость;
- $bSalt - ...
- $sOtherFieldAsLogin - ...
IsValidCookie($sCookie)
Проверка валидности cookie.
RefreshSession($aUser)
Обновить сессию пользователя, указанного в параметре $aUser.
RefreshCookie($sLogin,$sPassword,$iIdCustomer)
Обновить cookie пользователя с указанными логином, паролем и id.
FilterLetters($input)
GetIp()
AutoCreateUser()
Автоматическое создание пользователя с рандомным логином и паролем. Необходимо для не зарегистрированных пользователей в разделах сайта по продаже, где нужна регистрация. Возвращает массив стандартного аккаунта пользователя.
CheckLogin($sLogin)
Проверка существования пользователя с логином $sLogin. Если логин занят, возвращает false, логин свободный - true.
GenerateLogin()
Сгенерировать случайный логин.
GeneratePassword()
Сгенерировать случайный пароль.
UpdateLastVisit($aUser)
Обновить в базе время последнего посещения на текущее для пользователя $aUser.
UpdateCustomerReal($iUser)
Подтверждение пользователя с id указанным в параметре $iUser.
CheckPermissions($iIdAction)
Проверка прав доступа к action, id которого $iIdAction.
Base.php
$db
$oOracleDb
$oTecdocDb
$tpl
$language
$LC
$aGeneralConf
$aDbConf
$oResponse
$oCurrency
$oContent
$aConst
$aConstant
Массив переменных из таблицы констант.
$aRequest
$sText
$aData
Массив глобальных переменных для всех объектов, которые наследуют класс Base.
$sProjectName
$aMenuSection
$bRightSectionVisible
$sBaseTemplate
$bXajaxPresent
$aMessageJavascript
$sOuterJavascript
$sServerQueryString
$aTopPageTemplate
$sZirHtml
PreInit()
Init()
Инициализация базовых переменных.
ProcessAjax()
Process()
EscapeAll(&$aData)
UnescapeAll(&$aData)
FixParseStrBug(&$aArray)
Redirect($sUrl,$is_check_lower=1)
Стандартная функция перенаправления.
Параметры:
- $sUrl - адрес перехода;
- $is_check_lower - указывает нужно ли привести все буквы указанного URL в нижний регистр. По умолчанию заданно значение 1, что значит по умолчанию приводить в нижний регистр.
LocalLog($sText)
GetSql($sScript, $aData = array())
UpdateConstant($sKey, $sValue)
Обновление или создание констант, которые используются во всем проекте.
GetConstant($sKey,$sDefaultValue='')
Message($aMessage=array(),$bGetText=true)
Показывает уведомления (NOTICE), предупреждения (WARNING), ошибки (ERROR) для Index (MI), форм (MF) и таблиц (MT).
Параметры:
- $aMessage - ассоциативный массив ключ (MI_NOTICE, MI_WARNING, MI_ERROR, MF_NOTICE ... , MT_WARNING, ...) - значение (текст сообщения);
- $bGetText - указывает использовать ли функцию getText. По умолчанию true - использовать.
RemoveMessageFromUrl($sUrl)
Удалить массив сообщений aMessage из указанного в параметре URL.
SendSiteInfo()
MstarprojectBase()
BaseTemp.php
Класс для размещения общих функций, когда для них нет конкретного класса.
EnumToArray($sTable, $sField)
Функция конвертирования из DB enum/set в массив.
Параметры:
- String $sTable - из какой таблицы;
- String $sField - какие поля должны быть конвертированы.
Cache.php
Cache()
GetValue($sSection,$sKey)
SetValue($sSection,$sKey,$sValue,$iValidTill=false)
Capcha.php
$aMathematicOperator
Массив математических операторов для создания уравнения. По умолчанию заданны операторы "+" и "-".
__construct()
GetMathematic($sTemplate='addon/capcha/mathematic.tpl')
CheckMathematic()
Проверка введенного пользователем значения уравнения капчи.
GetRandomOperator()
Возвращает случайный математический оператор из массива $aMathematicOperator.
GetRandomOperand()
Возвращает случайное число.
GetValidationHash($sMathematicFormula)
ClearOldHash()
AddHash($sType='mathematic',$sHash)
IsFreeFromCapcha()
SaveLastCapcha()
Сохранить последнюю капчу, для исключения повторов.
GetGraphics()
CheckGraph()
Category.php
$iMaxSubCategorie
Максимально значение подкатегорий для родительского элемента.
__construct()
Index()
SetAddingColumn()
initLocaleGlobal()
BeforeAdd()
Move ()
Apply()
Delete()
Comment.php
__construct()
GetCommentList($sSection,$sId,$bXajaxResponse=false,$bHideUnapproved=false)
GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
GetCommentLink($sSection,$sId,$sLink,$bHideUnapproved=false)
Post()
PopupPost()
GetCommentHash($sSection,$aId)
ContactForm.php
__construct()
OutputForm($sName)
ProcessForm($sName)
DateFormat.php
GetBaseDate($sFormat,$iTimestamp='',$iTimeZone='')
GetDate($iTimestamp='',$iTimeZone='')
GetTime($iTimestamp='',$iTimeZone='')
GetDateTime($iTimestamp='',$iTimeZone='')
FormatSearch($sSearchDate, $sFormat='Y-m-d H:i:s')
FormatSearchNow()
FormatSearchTomorrow()
GetFileDateTime($iTimestamp='',$iTimeZone='',$bShowSecond=true)
GetPostDate($sPostDate,$iTimeZone='')
GetPostDateTime($sPostDate,$iTimeZone='')
GetSqlDate($sNameField="post_date")
GetSqlStrToDate($sPostDate)
GetNextMonth($sPostDate)
Seconds2Times($seconds)
Преобразование секунд $seconds в секунды/минуты/часы/дни/года.
Возвращает массив $times:
- $times[0] - секунды
- $times[1] - минуты
- $times[2] - часы
- $times[3] - дни
- $times[4] - года
NameIntervalDate($aDiffDate)
Db.php
Execute($sSql,$aInput=false)
Выполнить SQL запрос.
Параметры:
- $sSql - SQL запрос для выполнения, или возможно массив, в котором содержится запрос ($sql[0] будет содержать SQL запрос);
- $aInput - массив входных данных для связывания. Пустые элементы будут установлены в null.
Возвращает RecordSet или false.
GetAll($sSql)
Выполняет SQL запрос и возвращает результат в виде массива ([0]=>array(field=>value, ...),[1]=>array(....)).
GetAssoc($sSql, $aData=array(), $bReturnSql=false)
Выполняет SQL запрос и получает результат в виде ассоциативного массива array(id1=>array(f1,f2 ...),id2=>array(f1,f2 ...)).
GetRow($sSql)
Выполняет SQL запрос и получает строку таблицы в виде массива array (fild=>value, fild2=>value2 ...).
GetOne($sSql)
Выполняет SQL запрос и получает одно значение.
AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
Debug()
LogSql($bEnable=true)
InsertId()
AffectedRow()
StartTrans()
FailTrans()
CompleteTrans()
Escape($aData)
GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
GetTableInfo($sType=)
SetWhere(&$sWhere,$aData,$sDataField,$sPrefix,$sTableField="")
GetDateFormat($sNameField="post_date", $sFormat="")
GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
Dbtree.php
$ERRORS
$ERRORS_MES
$table
$table_id
$table_left
$table_right
$table_level
$res
Dbtree($table="", $prefix="")
Clear($data = array())
GetNodeInfo($section_id, $cache = FALSE)
GetParentInfo($section_id, $condition = '', $cache = FALSE)
Insert($section_id, $condition = '', $data = array())
Добавить новый элемент в дерево для элемента с номером $section_id.
Параметры:
- $section_id - номер родительского элемента;
- $condition- array('and' => array('id = 0', 'id2 >= 3'), 'or' => array('sec = \'www\, 'sec2 <> \'erere\)), и т.д., где ключ - (AND, OR, т.д.), значение - строка условия;
- $data - содержит параметры дополнительных полей дерева (если есть): array('filed name' => 'importance', etc)
InsertNear($ID, $condition = '', $data = array())
Добавить новый элемент в дереве возле элемента с идентификационным номером $ID.
Параметры:
- $ID - номер родительского элемента;
- $condition- array('and' => array('id = 0', 'id2 >= 3'), 'or' => array('sec = \'www\, 'sec2 <> \'erere\)), и т.д., где ключ - (AND, OR, т.д.), значение - строка условия;
- $data - содержит параметры дополнительных полей дерева (если есть): array('filed name' => 'importance', etc)
MoveAll($ID, $newParentId, $condition = '')
ChangePosition($id1, $id2)
Изменить позицию элемента.
Параметры:
- $id1 - ID первого элемента;
- $id2 - ID второго элемента.
Возвращает true если операция прошла успешно, иначе - false.
ChangePositionAll($id1, $id2, $position = 'after', $condition = '')
Перестановка узлов в пределе того же уровня и ограничение одного из родителей со всеми своими детьми: $id1 стоит перед или после $id2.
Параметры:
- integer $id1 - ID первого элемента;
- integer $id2 - ID второго элемента;
- string $position - 'before' или 'after' $id2;
- $condition - array('and' => array('id = 0', 'id2 >= 3'), 'or' => array('sec = \'www\, 'sec2 <> \'erere\)), и т.д., где ключ - (AND, OR, т.д.), значение - строка условия;
Возвращает true если операция прошла успешно, иначе - false.
Delete($ID, $condition = '')
Удалить элемент с номером $ID из дерева, не удаляя его потомков.
DeleteAll($ID, $condition = '')
Удалить элемент с номером $ID из дерева и всех его потомков.
Full($fields, $condition = '', $cache = FALSE)
Branch($ID, $fields, $condition = '', $cache = FALSE)
Возвращает все элементы ветви, начиная с элемента с номером $ID.
Parents($ID, $fields, $condition = '', $cache = FALSE)
Возвращает все родительские элементы элемента с номером $ID.
Ajar($ID, $fields, $condition = '', $cache = FALSE, $sOpenLevel='1')
AjarBranch($ID, $fields, $condition = '', $cache = FALSE, $sOpenLevel='1')
RecordCount()
NextRow()
_PrepareCondition($condition, $where = FALSE, $prefix = '')
GetAllData()
GetAssocData()
FullTree($with_space=false)
FullFoSelect($with_space=false)
MoveItem($id,$to=-1)
AddSpaceItem($a,$iSpace=6 )
GetData($sType, $id=1, $fields = '', $condition = '', $cache = false, $iSpace=0, $bAssoc=false, $sOpenLevel='1')
Debug.php
PrintPre($sVariable,$bDie=true,$bReturn=false)
PrintPreTpl($sVariable,$bDie=true)
GetMicrotime()
WriteToLog($sFile,$data)
DirectorySite.php
__construct()
Prepare()
CategoryChange()
ListCategory()
Index()
Preview()
ExcelOld.php
class ExcelOld
$oExcel
$aStyle
$aStyleBold
$aStyleRight
$aStyleLeft
$aStyleBorderThickLeft
$aStyleBorderThickRight
$aStyleFormatText
$oWriter
$oDrawing
Excel()
SetActiveSheetIndex($i=0)
GetActiveSheet()
SetShowSummaryBelow($sState=true)
SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
SetAutoSize($aHeader)
DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
SetTitle($sTitle="")
WriterExcel5($sFileNameFull,$bOutput=false)
WriterExcel7($sFileNameFull)
SetDefaultFont($sName, $iSize=0)
ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
SetPrintBreak($sCordinate)
SetRowToRepeat($iRowStart,$iRowEnd)
MergeCell($sRange)
WriterPdf($sFileNameFull,$bOutput=false)
WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
WriterHtml($sFileNameFull)
GetRowHeight($iRow)
SetRowHeight($iRow,$dSize)
SetColWidth($sCol,$dSize)
GetReadData()
GetSpreadsheetData()
GetMergeCell()
CreateSheet()
RemoveSheet($iSheet)
SetProtectionFile($sPassword="12345")
SetDrawing($sCordinate,$sFullPath,$iHeight=0)
freezePane($sCell)
RemoveRow($iRow)
CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
SetWrapText($sRange)
GetNextColumn($sColumn="")
SetCreateReader()
CreateObjectExcel2007()
class chunkReadFilter
$_startRow
$_endRow
__construct()
readCell($column, $row, $worksheetName = '')
setRows($startRow, $chunkSize)
Excel.php
class Excel
$oExcel
$aStyle
$aStyleBold
$aStyleRight
$aStyleLeft
$aStyleBorderThickLeft
$aStyleBorderThickRight
$aStyleFormatText
$oWriter
$oDrawing
__destruct()
Excel()
SetActiveSheetIndex($i=0)
GetActiveSheet()
SetShowSummaryBelow($sState=true)
SetRowOutlineLevel($iRow,$iLevel=1,$bVisible=false)
SetCellValue($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="")
SetCellValueExplicit($sCordinate, $sValue, $sCharset="", $aStyle=array(), $iRound="", $pType=PHPExcel_Cell_DataType::TYPE_STRING)
SetHeaderValue($aHeader=array(), $iRow, $bUtfEncode=true)
SetAutoSize($aHeader)
DuplicateStyleArray($sRange="", $sColor="", $aStyle=array())
SetTitle($sTitle="")
WriterExcel5($sFileNameFull,$bOutput=false)
WriterExcel7($sFileNameFull,$bOutput=false)
SetDefaultFont($sName, $iSize=0)
ReadExcel5($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
ReadExcel7($sFileNameFull, $bReadDataOnly=false, $bCacheOnMemory=true )
SetPrintBreak($sCordinate)
SetRowToRepeat($iRowStart,$iRowEnd)
MergeCell($sRange)
WriterPdf($sFileNameFull,$bOutput=false)
WriterCSV($sFileNameFull,$bOutput=false, $iSheet=0)
WriterHtml($sFileNameFull)
GetRowHeight($iRow)
SetRowHeight($iRow,$dSize)
SetColWidth($sCol,$dSize)
GetReadData()
GetSpreadsheetData()
GetMergeCell()
CreateSheet()
RemoveSheet($iSheet)
SetProtectionFile($sPassword="12345")
SetDrawing($sCordinate,$sFullPath,$iHeight=0)
freezePane($sCell)
RemoveRow($iRow)
CopyRange($sRangeFrom,$sCellTo,$bInsertRow=true)
SetWrapText($sRange)
GetNextColumn($sColumn="")
SetCreateReader()
CreateObjectExcel2007()
class chunkReadFilter
$_startRow
$_endRow
__construct()
readCell($column, $row, $worksheetName = '')
setRows($startRow, $chunkSize)
FileCache.php
Cache()
GetValue($sSection,$sKey,$bAddIndexDB=false)
SetValue($sSection,$sKey,$sValue,$bAddIndexDb=false)
File.php
GetFromDir($sPathToDir, $bComparative=true)
Получить файлы из директории.
Параметры:
- string $sPathToDir - путь к директории;
- boolean $bComparative - путь к директории относительный (true) или полный (false).
RemoveToDir($aFile, $sPathToDir, $bComparative=true, $bAddTime=true, $bDeleteBefore=true)
Write($aFile,$sContent,$sMode="w")
Записать в файл.
Параметры:
- array $aFile - array('name'=>'FileName', 'path'=>'FilePath');
- string $sContent - данные, которые нужно записать;
- string $sMode - модификатор доступа к файлу.
Extract($sPathToFile, $sPathToExtract)
Извлечь из архива.
Параметры:
- $sPathToFile - путь к архиву;
- $sPathToExtract - путь для распаковки.
Возвращает array(0=>array(name=>...,path=>...),...)
ExtractForPrice($sPathToFile, $sPathToExtract)
ExtractFirstFile($sPathToFile, $sPathToExtract)
Извлечь из архива первый файл.
Параметры:
- $sPathToFile - путь к архиву;
- $sPathToExtract - путь для распаковки.
Возвращает array(0=>array(name=>...,path=>...),...)
CheckFileUpload($aFile)
Form.php
$sHeader
$sAdditionalTitle
$sTitle
Заголовок формы.
$sContent
$sClass
$sSubmitButton
$sSubmitAction
$sReturnButton
$sReturnAction
$sError
$sErrorNT
$sHidden
$sConfirmText
$bIsPost
$sWidth
$bShowBottomForm
$bConfirmSubmit
$sButtonsPadding
$bAutoReturn
$sAdditionalButton
$sAdditionalButtonTemplate
$sReturn
$sRightTemplate
$bSetDefault
$sTemplatePath
$sBeforeContent
$sAfterContent
$sTitleDivHeader
$sReturnButtonClass
$sSubmitButtonClass
$bReturnAfterSubmit
$sButtonSpanClass
$sButtonDivClass
$aField
Массив полей для динамического создания формы.
$bType
Тип создания формы:
- static - статически из шаблона;
- generate - генерирование из заданных полей $aField.
__construct($aData=array())
GetForm($sContent='')
Получить шаблон формы.
ShowError($sError)
BeforeReturn($sAction,$sEditAction='')
AfterReturn($sAction,$sMessage='')
RedirectAuto($sMessage="")
Error404($bRedirectMissing=false)
HtmlDom.php
__construct()
AddCreateOption($sSelectId, $sOptionText, $sOptionValue)
Добавить значение (option) в список элемента select на стороне клиента.
Параметры:
- int $sSelectId - id элемента select;
- String $sOptionText - текст элемента списка;
- String $sOptionValue - значение элемента списка.
AddCreateOptions($sSelectId, $aOptions)
Добавить в select несколько значений определенных в массиве $aOptions.
Параметры:
- int $sSelectId - id элемента select;
- array $aOptions - массив элементов списка options[key][value].
ImageProcess.php
$aDisallowedExtension
Массив недопустимых расширений. По умолчанию ".php".
$aAllowedExtension
Массив допустимых расширений. По умолчанию '.gif','.jpg','.jpeg','.png'.
GetUploadedImage($sFieldName, $iMaxUploaded=3, $sTargetPath='/imgbank/Image/' ,$iIdCustom=, $iBigWidth=600, $iSmallWidth=80, $bLeaveOriginal=false)
Загрузка и изменение размера изображений.
Параметры:
- $sFieldName
- $iMaxUploaded
- $sTargetPath
- $iIdCustom - ID of object of images for name creation
- $iBigWidth
- $iSmallWidth
Возвращает массив загруженных и измененных по размеру изображений.
ImageResize($sSource, $sDestination, $iNewWidth, $sExtension)
Изменение размера изображения.
CreateSubnail($sSource,$sTargetPath='/imgbank/Image/',$iIdCustom=,$iBigWidth=600,$iMiddleWidth=300,$iSmallWidth=100)
ParseExtension($sPath)
Language.php
$aTranslateMessage
$aTranslateText
$aContextHint
$sLocale
$iLocale
$aLanguageList
$aLanguageAssoc
$sBaseLocale
$aOldParser
__construct($sBaseLocale = '')
GetLocale()
GetMessage($sKey, $sPage = "")
Получить локализованное значение для надписи.
GetDMessage($sKey, $sPage = "")
GetText($sKey, $sPage = "")
Получить локализованное значение для HTML текстов.
GetContextHint($sKey, $bUnique = false)
GetOrderStatus($sKey)
PrintPrice($dAmount,$bAbs=false,$bInvert=false,$sOutputType='',$sPriceType='')
PrintCurrencyPrice($dAmount,$sCurrency='USD')
PrintPriceByType($dAmount,$sPriceType='USD')
Price($dAmount, $sPriceType='',$bAbs=false,$bInvert=false)
GetDate($iTimestamp = '', $iTimeZone = '',$bCurrentForce=false)
GetDateTime($iTimestamp = '', $iTimeZone = '')
GetPostDate($sPostDate,$iTimeZone='')
GetPostDateTime($sPostDate,$iTimeZone='')
FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s')
GetLocalizedRow($aData)
GetLocalizedAll($aData, $bReturnSql=false, $sAssocField = '')
Array2Hash($data, $key_array = '')
GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false)
GetConstant($sKey,$sDefaultValue='')
GetMessageArray($aArrayKey, $sPage = "")
IncludeLocaleMap($sMap)
AddOldParser($sObject,$iId)
ReplaceOldParser($sOutput)
GetCatalogMessage($sKey, $sPage = "")
GetTranslit($sString, $sCharset='utf-8')
Перевести текст в транслит.
PrintPriceCalc($aPrice)
SetText($sKey, $sContent = "")
LocaleGlobal.php
__construct()
GetLocaleMap($sTableName)
Edit()
Apply()
Log.php
__construct()
VisitAdd()
Добавить визит пользователя в логи посещений.
AdminAdd($sAction,$sTableName='',$sBeforeApply='',$sAfterApply='')
Записать логи запроса администратора в mpanel.
FinanceAdd($aData,$sSection,$iIdUser='',$sDescription,$sCreatedBy='')
GlobalAdd($aData,$sSection,$iIdUser='')
OrderAdd($aData,$sSection,$iIdUser='')
Mail.php
$bAddedNoRply
SendNow($sAddress,$sSubject,$sBody,$sFrom='',$sFromName='',$sCc='',$iLanguage=null, $bFromDelayed=false, $iPriority=5)
SendAttach($sAddress,$sSubject,$sBody,$aAttachment=array(),$sCc='',$sFrom='',$sFromName='',$sCharSet = 'cp1251')
AddDelayed($sAddress,$sSubject,$sBody,$sFromEmail='',$sFromName='',$bCheckEmail=true, $iPriority=5 ,$sAttachCode='',$sDescription='',$sSendAfterDate='')
SendDelayed($iLetter=1)
OpenAccount($sHost,$iPort,$sUsername,$sPassword,$sType="pop3",$sFolder="",$bSsl=false)
GetEmailCount($oAccount)
GetEmailHeader($oAccount,$iNumberEmail)
GetAttachment($oAccount,$iNumberEmail)
DecodeMimeString($sString)
DeleteEmail($oAccount,$iNumberEmail)
CloseAcount($oAccount)
GetSenderEmail($oAccount,$iNumberEmail)
Message.php
__construct()
Index()
Prepare()
MoveToFolder()
Reply()
Forward()
Send()
Draft()
Compose()
Delete()
Clear()
Preview()
ChangeCurrentFolder()
MessageNumber($iIdUser,$iIdMessageFolder)
CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser=,$sUserFrom=)
SendMessage($sTo,$sSubject,$sText,$iIdMessage='',$bSendEmail=true)
DeleteMessage($iId)
EraseMessage($iId)
MoveMessage($iId,$iIdMessageFolder)
getUserList($aLogin)
ReadMessage($iId)
CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId=,$iPriority=3)
CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
SendBulkUserNotification($sAdditionalWhere='')
PreviewUserNotification()
AddNote($iIdUser,$sName,$sDescription,$sUrl=,$sReplyTo=)
CheckNote()
NoteClose()
CreateCustomerIdExcel($aUserNotification)
Payment.php
$aWebmoneyPurse
$aMoneyBookersCurrency
__construct()
Index()
WebmoneyResult()
WebmoneySuccess()
WebmoneyFail()
Log($sMethod='webmoney', $sMessage='')
WebMoneyPayment()
MoneybookersResult()
MoneybookersSuccess()
MoneybookersFail()
MoneybookersPayment()
PaypalResult()
PaypalSuccess()
PaypalFail()
PaypalPayment()
decodeQouta( $str )
decodeGPC( $str )
LiqpayResult()
LiqpaySuccess()
LiqpayFail()
LiqpayPayment()
GetLiqpayOperationXml()
ParseTag($rs, $tag)
GetTransactionAccount($sAccountId,$sCurrencyCode='')
WebtopayResult()
WebtopaySuccess()
WebtopayFail()
WebtopayPayment()
QiwiResult()
QiwiPayment()
MonexyResult()
MonexySuccess()
MonexyFail()
MonexyPayment()
UnitellerResult()
UnitellerSuccess()
UnitellerFail()
UnitellerPayment()
Permission.php
$aAllowAction
Init()
AppendPermission()
CheckPermission()
PrintContent.php
Append($sContent)
Index()
Repository.php
$oInstance
$sPrefix
Get()
__construct()
InitDatabase($sModuleName,$bCoreSql=true)
CheckTableExist($sTableName)
CheckUpdate($sModuleName,$bCoreSql=true)
Resource.php
$oInstance
$sPrefix
$aLocation
$aHeaderResource
$aResourceVersion
Get()
__construct()
Add($sFilePath,$iFileVersion=0,$sLocation='header',$aData=array())
Добавляет файл в заголовок (header) или в нижний блок страницы (footer) html документа. Это могут быть js или css файлы.
Параметры:
- $sFilePath - путь к файлу;
- $iFileVersion - версия файла. Если указанная версия больше чем уже включенная, то будет включена эта, с версией выше;
- $sLocation - определяет в какой части html документа произвести подключение. По умолчанию имеет значение header.
Пример использования:
Resource::Get->Add('/css/main.css',6,'header')
FillTemplate()
Вставить все добавленные файлы в выходной шаблон для размещения их в конечном html. Вызывается из функции Base::Process().
Sms.php
__construct()
FormatNumber($sPhoneNumber)
SendGT($sPhoneNumber, $sMessage, $iTimeout = 10)
SendTurbo($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
SendTurboV2($sPhoneNumber, $sMessage, $sSender = 'Partmaster')
SendNow($sPhoneNumber, $sMessage)
AddDelayed($sPhoneNumber, $sMessage)
SendDelayed($iMessage = 1)
SendClickatell($sPhoneNumber, $sMessage, $sSender ='')
String.php
Serialize($aValue)
Произвести сериализацию массива $aValue.
Unserialize($sValue)
Произвести десериализацию значения $sValue.
FirstNwords($sString, $iWord)
CheckEmail($sEmail)
Валидация email адреса. Возвращает 1 если email соответствует заданному шаблону, 0 - если не соответствует.
FilterRequestData($aData,$aFieldArray=array())
Фильтрация всех пользовательских данных, которые записываются в базу данных и выводятся на страницы.
Параметры:
- $aData - входящий запрос;
- $aFieldArray - массив строк, которые должны быть добавлены в отфильтрованный результирующий массив
QuoteCommaString($sString)
CheckDomain($sHaystack, $sNeedle)
UtfEncode($sString)
Изменить кодировку строки $sString на utf-8.
GetSmartyTemplate($sKey,$aTemplateData=array(), $bOldStyleTemplate=true)
GetTemplateRow($sKey)
GetPage($sKey, $bShowInvisible=false)
ProcessDropDownAdditional()
ProcessStatic()
GetDecimal($sDouble)
Получить десятичное число из строки $sDouble.
Md5Salt($sPassword,$sSalt)
Шифрование пароля.
GenerateSalt()
GeneratePref($sPrefIn=)
GetUcfirst($sString)
GetUcword($sString)
FormatPhoneNumber($sString,$bNeedCat=TRUE)
CheckUaPhone($sString)
ParseSize($size)
Переводит размер в байты.
FormatSize($size)
Переводит значение количества байт в строковое представление (кб, Мб, Гб и т.д.).
FormatPlural($count, $singular, $plural)
Table.php
$sType
$aDataFoTable
$sSql
$sTableSql
$aItem
$aColumn
$iRowPerPage
$iRowPerFirstPage
$iRowPerPageGeneral
$iPage
$bShowRowsPerPage
$sActionRowPerPage
$bShowPerPageAll
$iStepNumber
$aOrderedColumn
$aOrdered
$sDefaultOrder
$sWidth
$sClass
$sStepperClass
$sStepperClassTd
$sStepperActiveItemClass
$sStepperInfoClass
$bStepperInfo
$bStepperOutTable
$bStepperHideNoPages
$sCellSpacing
$sDataTemplate
$sButtonTemplate
$sSubtotalTemplate
$sSubtotalTemplateTop
$sAddButton
$sAddAction
$aCallback
$aCallbackAfter
$bSetDefault
$bPearStepper
$bStepperVisible
$bAjaxStepper
$bHeaderVisible
$bHeaderVisibleGroup
$bHeaderNobr
$bCheckVisible
$bCheckRightVisible
$bCheckOnClick
$sCheckAction
$bCheckAllVisible
$sCheckAllAction
$bDefaultChecked
$sCheckAllClass
$bFormAvailable
$sFormAction
$sCheckField
$iAllRow
$bHideTr
$sIdiTr
$sIdForm
$sHeaderRight
$sTemplateName
$sFilterTemplateName
$sPrefix
$sQueryString
$sOrderAscImage
$sOrderDescImage
$sHeaderClassSelect
$bFilterVisible
$aFilter
$sFormHeader
$sStepperAlign
$iGallery
$bIsGallery
$sStepperType
$bStepperOnePageShow
$bCacheStepper
$bTopStepper
$sNoItem
$bCountStepper
$iStepLimit
$bStepperStyling
$bTableWithoytStyle
$iStartStep
$bHeaderType
$sMarkAllText
$sManualLimit
$sButtonSpanClass
$sPanelTemplateTop
$sLinkPrefix
$sLinkRewrite
$sIdTable
$iColspanFilter
$iColspanSearchStrong
__construct()
GetTable($sHeader = '', $sHint = '',$sStaticHeader='',$sHeaderNT = '')
getStepper($iRowNumber)
printPage($countPage, $actPage)
getStepperPear($iRowNumber)
getFilter()
Customize()
SetSql($sScript, $aData = array())
sortArrayCallback($sA, $sB)
setArray($aData)
GetFilteredProductEnding($iCount)
Tree.php
$sType
$aDataFoTable
$sSql
$sTableSql
$aItem
$aColumn
$iRowPerPage
$iPage
$iStepNumber
$aOrderedColumn
$aOrdered
$sDefaultOrder
$sWidth
$sClass
$sDataTemplate
$sButtonTemplate
$sSubtotalTemplate
$sAddButton
$sAddAction
$aCallback
$bPearStepper
$bStepperVisible
$bAjaxStepper
$bHeaderVisible
$bCheckVisible
$bCheckAllVisible
$bDefaultChecked
$bFormAvailable
$sCheckField
$iAllRow
$bHideTr
$sHeaderRight
$sTemplateName
$sFilterTemplateName
$sPrefix
$sQueryString
$sOrderAscImage
$sOrderDescImage
$bFilterVisible
$aFilter
$sFormHeader
$sStepperAlign
$iGallery
$bIsGallery
$sStepperType
$bCacheStepper
$bTopStepper
$sNoItem
$bCountStepper
__construct()
getTree($sHeader = '', $sHint = '')
getStepper($iRowNumber)
getStepperPear($iRowNumber)
getFilter()
Customize()
setSql($sScript, $aData = array())
sortArrayCallback($sA, $sB)
setArray($aData)
VinRequest.php
__construct($bNeedAuth=true)
Index()
Preview()
Manager()
ManagerSave($bRedirect=true)
ManagerSend()
ManagerRefuse()
ManagerRelease($iId)
ManagerMobileNotification($aVinRequest)
GetVinIdList($bReturnArray=false)
ManagerRemember()
XajaxParser.php
$xajax
$sXajaxJavascript
Каталог module
AdminRegulations.php
$sPrefix
__construct()
Index()
SinxroTranslate()
InsertIrbis()
GetFromIrbis()
Binotel.php
$oBinotel
__construct()
InputCalls()
OutputCalls()
LostCalls()
CallsByManager()
CallsByNumber()
CallsNow()
Managers()
UserAdd()
UserImport()
UserEdit()
Users()
Call()
Index()
GetCallFromStart()
GetCallRecord($sCallId)
GetCallsNow()
GetLostCalls()
GetCallsByNumber($sNumber)
GetCallsByUser($sUser)
GetCallInfo($sCallId)
GetMyLastCalls($sInternalNumber)
GetMyCallsByDate($sInternalNumber,$iDateStart,$iDateEnd)
GetCallsByDay()
GetCallsByDate($sDateStart,$sDateEnd)
GetInputCalls()
GetOutputputCalls()
GetAllUsers()
GetUserById($iIdUser)
GetUserByNameOrPhone($sNameOrPhone)
CreateBinotelUser($sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
EditBinotelUser($sId,$sName,$aPhones,$sDescription='',$sEmail='',$iManager='901',$aLabels=array())
RemoveBinotelUser($iIdUser)
GetClientLabels()
GetAllManagers()
MakeCallToExternal($iInternal,$iExternal)
CallTransfer($iCallId,$iInternalNumber)
KillCall($iCallId)
Buh.php
$sPrefix
$sCurrentPeriod
$sError
$sDateTo
$sDateFrom
$aActionException
$sCurrentPeriodLastDate
__construct()
Index()
SetNextPeriod()
GetLastDate($sDate)
Entry($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
EntrySingle($aDoc, $iAccountD, $iAccountC, $dAmount, $sDescription="", $iAccountDSub1=0, $iAccountDSub2=0, $iAccountDSub3=0, $iAccountCSub1=0, $iAccountCSub2=0, $iAccountCSub3=0, $iCurrency=1, $dCurrencySum=0, $dNumber="", $id=0, $sPostDate=0)
EntryMany($aEntry)
CheckParametr($aData)
EntryMonth($sDateMonth, $iAccount, $iAccountSub1=0, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
EntryMonthSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountD, $dAmountC, $dAmountDEnd, $dAmountCEnd)
EntryMonthMany($aEntry)
EntryMonthStartSingle($dDateMonth, $iAccount, $iAccountSub1, $iAccountSub2=0, $iAccountSub3=0, $dAmountDStart, $dAmountCStart)
Changeling ()
CallParseSum(&$aItem)
CloseMonth()
AddAmount()
ChangeForm()
ChangelingPreview($bVisibleForm=true)
GetSubconto()
GetAmount($sBuhSection,$iBuhSection,$idBuh,$sBuhType='credit')
GetSaldoLast($iSubconto1,$iBuh='361')
CallMe.php
Send()
Обработка отправки заказа звонка.
ShowManager()
Страница "Заказ звонка" для менеджера, где отображаются все заказы звонков, оставленные пользователями.
Cart.php
$sExportSql
__construct($bNeedAuth=true)
Index()
CartList()
Содержимое корзины.
AssignDeliveryMethods()
Задать способы доставки товара в переменные шаблона.
CartOnePageOrder()
Обработка оформления заказа для зарегистрированных и незарегистрированных пользователей.
CartOnePageOrderManager()
Обработка оформления заказа менеджером.
CartPrint()
CallParseCart(&$aItem)
AddCartItemChecked()
AddCartItem($iNumber=1,$bRedirect=true,$sReference='')
CartUpdateNumber()
OrderList()
CallParseOrder(&$aItem)
ParseVinCode($sVinCode, $iCheckVinLen = 17)
PackageConfirm()
PackageDelete()
CheckAccount()
SelectAccount()
ShipmentDetail()
PaymentMethod()
PaymentEnd()
PaymentEndButton()
SendPendingWork($iIdCartPackage)
PackagePrint()
PackageList()
NewAccountError()
NewAccountManagerError()
PopUpGetOwnAuto()
RecalcCartUser($iIdUser,$iIdUserNew,$iIdCartPackage=0)
GetBoardExpiredCartUser($iIdUser)
CartExpiredCountPositions($iUserId = 0)
CartExpiredInfo($iUserId = 0)
OrderByPhone()
NewAccountDeliveryInfoFields()
Создание полей для форм, в которых указывается информация по доставке товара.
CartOnepageDeliveryFields()
Создание полей для выбора способа доставки.
CartOnepagePaymentFields()
Создание полей для выбора способа оплаты.
CatalogManager.php
$sPrefix
$sPrefixAction
$sPathToFile
Index()
EditName()
EditPic()
UploadManyPics()
UploadPic()
ViewPicList()
UploadMakeCodePic()
AddInfo($aData=array())
DeleteInfo($aData=array())
SetItemCodeImage()
ImportImage()
DeleteImportImage()
SetImportImage()
ModelType()
ModelTypeDelete($aData=array())
AddCatInfo($aData)
UpdateNumber()
Catalog.php
$sPrefix
$sPref
$aCode
$aCodeCross
$aItemCodeCross
$aExt
$sPathToFile
$bShowSeparator
$aCat
$aCats
$aModel
$aModelDetail
__construct()
Index()
ViewModel()
CallParseModel(&$aItem, $bSeparator=false)
ViewModelGroup()
GetModelPic($aData)
GetModelDescription($aData)
GetModelName($aData)
ViewModelDetail($bShow=false)
ModelFor()
CallParseModelDetail(&$aItem, $bSeparator=false)
ViewAssemblage()
GetBranch($id, $aData)
getAllParent($aTree, $iId, $iRootId, &$aCod)
CallParsePart(&$aItem)
StripCode($sCode)
StripLogin($sCode)
StripCodeSearch($sCode)
StripCodeSql($sField)
GetFormattedCode($sCode,$sPref)
ViewPrice()
GetPriceTableHead(&$oTable)
CallParseBrand(&$aItem)
CallParsePrice(&$aItem, $bSeparator=false)
ActualFilter(&$aItem)
PosPriceParse(&$aItem,$bHaveFirstSeparator=true,$bHaveAnalogs=true)
GetJson()
ViewInfoPart()
OriginalCross()
GetPriceForInfoPart($sCodeInput='',$sPrefInput='')
ExportPrice()
SetImageWidth()
UpdatePrice($sItemCode="",$idProvider="",$dPrice=0)
Cross()
CrossLoad()
CrossInstall()
InstallExcel($aCrossProfile, $aPref)
InstallExcel07($aCrossProfile, $aPref)
InstallCSV($aCrossProfile, $aPref)
CrossClearImport()
CrossImportAdvance()
CrossProfile()
InsertCross($aData)
InsertCrossStop($aData)
DeleteGroupCross()
DeleteCross($bRedirect=true)
DeleteGroupCrossStop()
DeleteCrossStop($bRedirect=true)
ImportCross()
SearchAdvance()
PrintPartName($aRow)
ChangeSelect()
LoadAutotechnics()
CrossStop()
ViewBrand()
ViewBrandShow()
CorrectBrandLink(&$aBrand)
ChangePartParam()
CallParseCross(&$aItem)
ViewOwnAuto()
MotoBrands()
MotoModels()
MotoDetails()
MotoAssemblage()
mb_ucfirst($str, $enc = 'utf-8')
outTree(&$category_arr=array(), $parent_id, $level)
SetSelectedPart(&$aTree=array(), $iPart)
GetArtId($sItemCode)
SortTable()
TruckIndex()
TruckModels()
TruckDetails()
TruckAssemblage()
ParseTruckPartsImages(&$aItem)
CommentTree.php
__construct()
GetCommentListTree($sSection,$sId,$bXajaxResponse=false)
Post()
convertArrayToTree($aSourceArray, $sParentId='0', $sKeyChildren='child', $aKeyId='id', $sKeyParentId='parent_id')
doConvertArrayToTree($aSourceArray, &$aThisTree, $sParentId, $sThisId, $sKeyChildren, $aKeyId, $sKeyParentId)
ContactForm.php
__construct()
Index()
Call()
Customer.php
__construct()
Index()
Profile()
Редактирование профиля клиента.
IsChangeableLogin($sLogin)
IsTempUser($sLogin=)
Если пользователь с логином $sLogin является временным, возвратит 1, если постоянный - 0.
ChangeRating()
Dashboard.php
Личный кабинет пользователя.
__construct()
Index()
Customer()
User()
PartnerRegionChange()
Delivery.php
__construct()
Index()
Set()
ElitRoma.php
$sPathToFile
Index()
Export($bPrice=false)
CronSecond()
CronLoad()
GetPrice()
Load()
LoadFromExcel($sFilePath,$sTable='')
Insert(&$aInsert=array(),$sTable='')
LoadPrice($aItem,$sTable='')
GetSessionID()
Error.php
GetError($iCode)
Finance.php
$aHaveMoney
$aUserAccountLogTypeAssoc
__construct()
Index()
CallParseLog(&$aItem)
ExportAll()
CreateFinanceExcel($sSql,$bShowCustomer=false)
BillforUser ()
Bill()
BillPrint($iIdBill='')
Deposit($iIdUser,$dAmount,$sDescription='',$iCustomId='',$sPayType='internal',$sSection='internal',$sData='',$iIdUserAccountLogType='')
TransactionError($aData, $iIdUser='', $sDescription='')
AccountAmount($iIdUser)
DebtAmount($iIdUser)
HaveMoney($dAmount,$iIdUser='',$bFullPayment=false)
PayForAccount()
GetGeneralAccountAmount()
GetUserAccountLogTypeAssoc()
GetSumAmount($sUserType='customer')
AssignAccount($aUser)
AssignSubtotal($sWhere)
GarageManager.php
$aTypeDrive
$aTypeFuel
$aTypeTransmission
$aTypeBody
$aTypeWheel
$aVinMonth
__construct()
Index()
Profile()
CallParseUserAuto(&$aItem)
AddComment()
Edit()
Delete()
GetInfoAuto($aData)
GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1)
Get_aTypeFuel()
Get_aTypeDrive()
Home.php
Index()
GetPopularProducts()
GetLastViewedProducts()
ManagerCart.php
$sCustomerSql
__construct()
Index()
CallParseCart(&$aItem)
Archive()
Store()
Payment()
ManagerInvoiceCustomer.php
$aCartScan
LOG_PRICE_PLACE
LOG_ADDITIONAL_PAYMENT
CUSTOMER_TYPE_UKRAINE
CUSTOMER_TYPE_NOT_UKRAINE
CUSTOMER_TYPE_NOT_SET
$sPrefix
__construct()
Index()
CallParseCustomer(&$aItem)
Create($bPrint=false)
CallParseCreate(&$aItem)
ChangeRating()
Invoice()
PrintInvoice($iIdUser='',$bReturnContent=false)
GetFactureRight(&$aUserInvoice,&$aAdditionalItem,$aDeliveryCost=array(),$dTarifTax=0,$sCurrency='USD')
Recalculate($iIdInvoiceCustomer)
CreateOfficeTravelSheet()
IsTravelSheetAdd()
IsTravelSheetClear()
IsTravelSheetBrowse()
CreateInvoiceTravelSheet()
GetInvoiceExcel()
GetInvoiceExcelFitlered()
GetInvoiceExcelAll()
Send($iInvoiceCustomer)
End($iInvoiceCustomer)
GetInvoiceFactureExcel()
GetInvoiceFactureExcelFitlered()
GetInvoiceFactureExcelAll()
SendInvoiceFactureExcel($aInvoiceId)
GetInvoiceListExcel()
ChangeCustomerType()
DeliveryCalculator()
Delivery()
CallParseDelivery(&$aItem)
DeliveryEdit()
Manager.php
$sPrefix
$sPrefixAction
$sCustomerSql
$sExportSql
$sExportMegaSql
$aCustomerList
$sCurrentOrderStatus
__construct()
Index()
GetCustomerList()
Profile()
Customer()
CustomerEdit()
CustomerRedirect()
Order()
CallParseOrder(&$aItem)
ChangeStatus()
AgreeGrowth()
Reorder()
Bill()
ProcessOrderStatus($iId='', $sOrderStatus='', $sComment='', $sIdProviderOrder='', $dProviderPrice='', $sIdProviderInvoice='', $sCustomValue='')
ChangeCart($aCart,$sOrderStatus,$sCustomValue)
VinRequest()
CallParseVinRequest(&$aItem)
VinRequestSave($bRedirect=true)
VinRequestSend()
VinRequestRefuse()
VinRequestRelease($iId)
VinRequestMobileNotification($aVinRequest)
GetVinIdList($bReturnArray=false)
VinRequestRemember()
PackageAddOrderItem()
Package()
CallParsePackage(&$aItem)
DeletePackageEmpty()
ExportAll()
OrderReportExport()
ExportOrder()
ExportOrderAll()
Export($sType='row_check')
ExportMegaAll()
ExportMega($sType='row_check')
GetCartMake($aCart)
ImportStatus()
EditWeight()
ImportWeight()
AddWeightName($u)
AssignCustomers()
Finance()
CallParseLog(&$aItem)
ReturnFullPaymentDiscount($aCart)
FinanceExportAll()
ParentMarginDebet($aCart)
IsChangeableLogin($sLogin)
CountMoney()
PayCartPackage($iIdCartPackage,$aEntry=array())
NotifyDebitedMoney($aEntry=array())
PrintOrder()
RefusePending()
PrintPakage()
SetPriceTotalCartPackage($aCart)
MergePakage()
ChangeProvider ()
SetPackagePayed ()
Cat ()
SynonymBrandClear ($sBrand)
Synonym ()
CatPref ()
SetCheckedAuto ()
CustomerRecalcCart ()
JoinOrders()
GetUserSelect()
GetPopularProducts()
Manual.php
Manual()
Index()
Show()
ShowShort($sRequesCode)
CommentList($sManualId)
Map.php
$sPrefix
$aMap
__construct()
Index()
DropdownGetChilds($iIdParent)
Message.php
__construct()
Prepare()
MoveToFolder()
Reply()
Forward()
Send()
Draft()
Compose()
Delete()
Clear()
Preview()
ChangeCurrentFolder()
Browse()
CallParseMessage(&$aItem)
MessageNumber($iIdUser,$iIdMessageFolder)
CreateMessage($sTo,$sSubject,$iIdMessageFolder,$iIsRead,$sText,$iIdUser='',$sUserFrom='',$aAttachFiles=array())
SendMessage($sTo,$sSubject,$sText,$iIdMessage='',$bSendEmail=true, $aAttachFiles=array())
DeleteMessage($iId)
EraseMessage($iId)
MoveMessage($iId,$iIdMessageFolder)
getUserList($aLogin)
ReadMessage($iId)
CreateNotification($sTo,$sCode,$sType='customer',$aUserData=array(),$sToId='',$iPriority=3)
CreateDelayedNotification($iIdUser,$sCode,$aUserData=array(),$bSmartyTemplate=false,$iIdCart=0)
SendBulkUserNotification($sAdditionalWhere='')
PreviewUserNotification()
AddNote($iIdUser,$sName,$sDescription,$sUrl='',$sReplyTo='')
CheckNote()
NoteClose()
CreateCustomerIdExcel($aUserNotification)
ChangeStarred()
ChangeStarredMessage()
GetAttachFiles()
News.php
__construct()
Index()
Preview()
CommentList()
OwnAuto.php
$sPrefix
$aTypeDrive
$aTypeFuel
$aTypeTransmission
$aTypeBody
$aTypeWheel
$aVinMonth
__construct()
Index()
CallParseUserAuto(&$aItem)
CallParseLogUserAuto(&$aItem)
GetJson()
Del()
GetInfoAuto($aData)
Get_aTypeFuel()
Get_aTypeDrive()
GetFormAddAuto($oObject, $sTitle = "Edit", $iSubmitNotPopUp = 1, $aData)
AddJson()
GetAutoInfoTip($iOrderId)
GetListOwnAuto()
GetInfoById($iId = 0)
SearchLog()
AddSearchAuto()
DelFromAutoLog()
PaymentDeclarationManager.php
__construct() =
Index() =
Add() =
Delete() =
SelectUser() =
PaymentDeclaration.php
__construct()
Index()
Payment.php
__construct()
Index()
Log($sMethod='webmoney', $sMessage='')
LiqpayResult()
LiqpaySuccess()
LiqpayFail()
LiqpayPayment()
PaymentReportManager.php
__construct()
Index()
PaymentReport.php
__construct()
Index()
Add()
Delete()
PriceFtp.php
$sPrefix
$sPrefixAction
__construct()
Index()
PriceGroup.php
$sPrefix
__construct()
Index()
cmp($a, $b)
CallParse(&$aItem)
GetTabs()
GetMainGroups()
Filter()
SortTablePriceGroup()
Price.php
$sPrefix
$oCatalog
$rs
$exchange_facrot
$aPref
$aParserPatern
$aParserBefore
$aParserAfter
$aTrimLeft
$aTrimRight
$aPrefName
$aPriceGrp
$aValidateExtensions
__construct()
Index()
LoadFromFile()
InitLoader($aPrice_profile)
LoadFromExcel($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
LoadFromCsv($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
LoadFromText($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
LoadFromDbf($files,$aPrice_profile,$iUser=0,$iPriceQueue=0)
LoadPrice($data,$aPrice_profile,$aProvider,$iUser,$iPriceQueue)
Install($bRedirect=true)
ConformityApply()
AutoAssocCat()
Conformity()
ClearImport($sMessage='', $bRedirect=true, $sType = 'all', $iIdProvider=0)
ClearProvider($bRedirect=true, $iPriceQueueId = 0)
ClearPref()
AddItem($aCart,$dPrice)
Export()
ExportFile()
AddRequest()
AddCat()
ConvertToInteger($sNumber)
RefreshQueue()
getStoppedQueueFlag($id)
SaveToLog($aResult, $iAllStringsCurrentList, $iAllStringsTotal, $iAllStrings, &$iCountError, $iList, $iPriceQueue, $aData, $aPrice_profile)
CheckStoppedLoadPrice($iPriceQueue)
LoadFromXlsxAll($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
LoadFromXlsxPartial($iPriceQueue, &$iMaxCountCol, $files, $aPrice_profile, $aProvider, $iUser)
GetArrayUnknownPref()
SaveFilesToQueue($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
SaveFilesToQueueExtended($aFileExtract, $sSource = 'upload', $iProfile_id = 0, $sSubject = '', $sFrom = '')
SaveFilesToQueueExtendedInsert($aProfileInfo,$aData,$aValue,$sErrorProfile,$sPathToFile)
ClearOldQueueFiles()
ClearOldQueueImportRecords()
RemovePref()
AddAutoPref()
GetAssociate()
FindAssociate($aData)
BuildAssociateData()
GetPriceMarginId($aData)
dbg_last_error($iPriceQueue = 0)
PriceProfile.php
$sPrefix
__construct()
Index()
ReloadViewPrice()
ProviderAddFromFile()
PopUpProviderAdd()
CreateProvider()
GetDataFromFile($aData)
LoadFromCsvLimit($aFile,$iLimit=10)
LoadFromExcelLimit($aFile,$iLimit=10)
CreateProfileFromFile()
ProviderEdit()
ProviderMakroInfo($aData)
PriceQueue.php
$sPrefix
$sPrefixAction
$sPathToFile
PriceQueue()
Index()
GetMailAttachment()
LoadQueuePrice()
GetFtpFile()
GetQueueInfoTable()
CallParseQueue(&$aItem)
AsuncLoadQueuePrice($iRedirect = 1)
SendRequest($url, $params)
LoadMessageLog()
BuildMessage($iId = 0,$bIsMailMessage = false)
GetProfile($sType = 'mail', $sFileName = '', $sSubject = '', $sFrom = '')
PriceSearchLog.php
__construct()
Index()
AddSearch($sPref=false,$sCode=false)
PublicProvider.php
__construct()
Add()
Show()
CallParseProvider(&$aItem)
CreateExcel()
Rating.php
__contruct()
Change($sSection,$iRefId,$iNumRating)
RequestForm.php
__construct()
Index()
Rubricator.php
__construct()
GetModels()
GetModelDetails()
SetMake()
SetModel()
SetModelDetail()
SetAll()
GetRubricatorUrl()
GetRubricatorUrlForFilter()
GetPart($sUrlGroup='',$iIdPriceGroup=0)
CallParsePartRubricator(&$aItem)
Index()
Category()
SubCategory()
GetMainMenu()
GetMain()
SetBrandPriceOrderUrl($sUrlParamsInclude)
GetBrandsForFilter($sType,$source,$iIdPriceGroup,$aItemCodesUnique)
cmp($a, $b)
GetRubricForModelGroup($aModelGroup,$sCat)
CheckSelectedAuto()
CheckSelectedAutoName()
ClearAutoUrl()
Search.php
$sPrefix
$sQuery
__construct()
Index($bShowSearchForm=true)
AllPriceGrouped()
AllPriceGroup()
SinglePriceGroup()
SetDefaultSetting(&$oSphinxClient,$iLimit=1000)
GetSphinxKeyword($sQuery)
StripQuery($sQuery)
AllSearch()
Sound.php
$aSound
$iAudio
GetSound($sKey, $sDefault = "")
InsertIntoPage($sCode,$sDefault="")
InsertIntoPageCustomerByLogin($sLogin)
InsertIntoPageCustomerById($sId)
UploadCustomerSound()
GetHtmlCode($sFilename)
GetHtmlCodeCustomer($aData)
GetCustomerFileNamePath($sLogin,$bIsUrl=false)
Store.php
$sPreffix
$bTransferFlag
__construct()
Index()
AddToSale()
AddToTransfer()
InputInvoiceScanner()
InputInvoiceManual()
InputInvoiceProcess()
Sale()
SaleInvoice()
SaleInvoiceProcess()
ReturnStore()
Log()
LogHistory()
GetMd5($aValue)
UpdateNumber()
Transfer()
TransferProcess()
TransferProcessTry($aProductFromLog=array(), &$aValue=array(), $aData=array(), $iType='2')
Balance()
ExportToPrice()
Products()
TecdocDb.php
Execute($sSql,$aInput=false)
GetAll($sSql)
GetAssoc($sSql, $aData=array(), $bReturnSql=false)
GetRow($sSql)
GetOne($sSql)
AutoExecute($sTable, $aFieldValue, $sMode = 'INSERT', $sWhere = FALSE, $bForceUpdate=true, $bMagicQuote=false)
Debug()
LogSql($bEnable=true)
InsertId()
AffectedRow()
StartTrans()
FailTrans()
CompleteTrans()
Escape($aData)
GetInsertSql($oSql, $aField, $bMagicq=true, $sForce=null)
SelectLimit($sSql, $iRow=-1, $iStart=-1, $inputarr=false,$secs2cache=0)
GetTableInfo($sType='')
SetWhere(&$sWhere, $aData, $sDataField, $sPrefix, $sTableField="")
GetDateFormat($sNameField="post_date", $sFormat="")
GetStrToDate($sPostDate, $bReturnDate=false, $sFormat="")
GetModels($aData)
Выборка моделей по заданному авто
Параметры:
id_tof - идентификатор производителя
GetModel($aData)
Выборка модели
Параметры:
id_tof - идентификатор производителя
id_model - идентификатор модели авто
GetModelAssoc($aData)
GetModelPicAssoc($aData)
GetModelInfo($aData)
GetModelDetails($aData,$aCat=false,$aCatTitles=false)
Выборка модификаций по заданной модели
Параметры:
id_tof - идентификатор производителя
id_model - идентификатор модели
GetModelDetailAssoc($aData,$aCat=false)
GetApplicability($aData)
Выборка применяемости по заданному артикулу
Параметры:
art_id - идентификатор артикула
GetModelDetail($aData,$aCat=false)
Выборка модификации авто
Параметры:
id_model - идентификатор модели
id_model_detail - идентификатор модификации
GetTree($aData)
Выборка дерева запчастей
Параметры:
id_model_detail - идентификатор модификации
GetTreeAssoc()
GetTreeTruck($aData)
GetTreeParts($aData, $aCats=false, $bTruck=false)
Выборка деталей по заданной модификации и веткам дерева
Параметры:
id_part - идентификатор ветки дерева текдока
id_model_detail - идентификатор модификации
GetTreePartsRubricator($aData, $aCats=false)
GetPartCriterias($aData)
GetImages($aData, $aCats=false, $bAssoc=TRUE)
Выборка изображений по заданному артикулу
Параметры:
aIdGraphic - массив идентификаторов артикулов
GetArt($aData)
GetArtName($aData)
GetArts($aCodes)
GetPartInfo($aData,$aCats=false)
GetCross($aData,$aCats=false)
Выборка аналогов запчастей(кроссов) по заданному артикулу
Параметры:
sCode - артикул
GetCriterias($aData)
Выборка характеристик по заданному артикулу
Параметры:
sCode - артикул
GetOriginals($aData,$aCats=false)
Выборка оригинальных номеров по заданному артикулу
GetIdMakeByIdModel($iIdModel)
AssocArtIdItemCode($aData)
Ассоциативный массив идентификаторов товаров по заданным артикулам
GetCriteriasDBTOF($aData,$sLang='en')
GetModelDetailsDBTOF($aData,$aCat=false,$sLang='en')
GetApplicabilityDBTOF($aData,$sLang='en')
GetModificationAssoc($aData)
Ассоциативный массив модификаций по заданной модели
GetSelectCar($aData)
Получить информацию по выбранному авто.
GetYears($sModel)
Выборка годов по моделям. Используется в подборе по авто
Test.php
Index()
SetElitParams()
SetElitImage()
GetElitImages()
ProcessExcel($iTimer)
GetPriceTableByCode()
GetSessionID()
GetCodePrice($sSID,$sCode,$sBrand='')
GetCodesByCode($sSID,$sCode)
GetPriceByCode($aCodes)
User.php
$aErrorTr
__construct()
Login()
DoLogin()
UloginLogin()
Logout()
NewAccount()
NewAccountError()
DoNewAccount($bAutoCreate=false)
ConfirmRegistration()
RestorePassword()
NotifyConfirmedProfileFill($iIdUser)
ChangePassword()
ChangeLogin()
NewPassword()
CheckLogin()
ChangeLevelPrice()
RecalcCart($iIdUser,$iIdUserNotManager = 0)
VinRequest.php
__construct()
Index()
Preview()
Manager()
ManagerSave($bRedirect=true)
ManagerSend()
ManagerRefuse()
ManagerRelease($iId)
ManagerMobileNotification($aVinRequest)
GetVinIdList($bReturnArray=false)
ManagerRemember()
ManagerDelivery()
ManagerSendPreview()
PackageCreate()
Get_aTypeBody()
Get_aTypeKpp()
Get_aTypeWheel()
Get_Months()
GetMarka()
ChangeSelect()
ChangeSelectOwnAuto()
Каталог system
BinotelApi.php
$key
$secret
$apiHost
$apiVersion
$apiFormat
$disableSSLChecks
$debug
__construct($key, $secret, $apiHost = null, $apiVersion = null, $apiFormat = null)
sendRequest($url, array $params)
handleBinotelCallback()
disableSSLChecks()
getSingnatureByRequest(array $params)
Content.php
$aDropdownMenu
$aAccountMenu
$aCrumbs
__construct()
CreateMainMenu()
DropdownGetCustom()
DropdownGetChilds($iIdParent)
AccountGetChilds($iIdParent)
AddCrumb($sName,$sLink='')
AssignCrumb()
DelAllCrumbs()
ParseTemplate($bRefreshCartAjax=false)
Init()
IsChangeableLogin($sLogin)
CallOldReplacer($sObject,$sOutput)
FirstNwords($sString, $iWord)
GetOrderStatus($sKey)
PrintPartName($aRow)
CorrectSeoUrl($sText,$sType)
LoadBanners()
Translit($str)
CreateSeoUrl($sAction,$aData,$bAbsolute=0)
CustomizeTable ($oTable)
RedirectOnSlash()
ClearTimer()
ShowTimer($sMessage='')
AddCrumbAndCaption()
GetMonthDay($iTimestamp='')
GetYear($iTimestamp='')
FixChars($str)
CheckMessageUrl()
ProcessDropDownAdditional()
SetMetaTagsPage($sKey,$aData=array())
SetH1($sKey, $aData=array(),$sName='')
Cron.php
Cron()
CloseCartPackage($iId,$sOrderStatus='refused')
SendAutopayPackage($iIdUser)
ClearOldData()
SendDbBackup()
NotifyPendingOrder()
NotifyLastVisit()
DeleteTemporaryCustomer()
ClearCustomerData()
MoveExpiredCart()
ClearOldPriceQueue()
ClearOldServiceLog()
ClearOldMailDelayed()
ClearOldUserNotification()
ClearOldAutoSearchLog()
ClearOldPriceSearchLog()
ClearAllOld()
AssociateDelayedPrices()
AssociateDelayedPricesMinutely()
UpdatePriceMargin()
Currency.php
$aCurrencyAssoc
$aCurrency
__construct()
InitCurrency()
BasePrice($dPrice=0,$iIdCurrency=1)
Price($dPrice=0,$iIdCurrency=1)
PrintPrice($dPrice=0, $iIdCurrency=0, $iRoundDigit=2, $sOutputType='')
BillRound($dPrice=0)
GetPriceWithoutSymbol($dPrice=0)
CurrecyConvert($L, $sType='RUB')
SemanticUkr($i,&$words,&$fem,$f, $sType='RUB')
GetExchangeRate($iIdCurrencyFrom,$iIdCurrencyTo)
PrintCurrencyPrice($dPrice=0,$sCurrency='USD')
PriceContent($sCurrency,$sPrice)
PrintSymbol($dPrice=0,$iIdCurrency=0)
Discount.php
$aDiscount
Refresh()
GetDiscount($dAmount)
CustomerDiscount($aUser,$iProvider='')
Index()
Exchange.php
$sTempDir
$iTimer
$oXml
$iTimerMinute
$bAutoImport
$aType
Auth()
__construct()
PrintFlush($s)
PrintFlush2($s)
Progress($i,$iMax,$bTimer=true)
OnFileName()
Index()
SendRequest($url, $params)
SalePrice()
SaleBrands()
SaleProviders()
SaleCustomers()
SaleOrders ()
SaleSuccess()
CatalogFile()
CatalogImport()
CatalogImportBrands()
CatalogImportProviders()
CatalogImportCustomers()
CatalogImportPrice()
CatalogImportOrders()
CatalogImportCrosses()
CatalogImportAllCrosses($oXml)
Language.php
$aTranslateMessage
$aTranslateText
$aContextHint
$sLocale
$iLocale
$aLanguageList
$aLanguageAssoc
$sBaseLocale
$aOldParser
__construct($sBaseLocale = '')
GetLocale()
GetMessage($sKey, $sPage = "")
GetDMessage($sKey, $sPage = "")
GetText($sKey, $sPage = "")
GetContextHint($sKey, $bUnique = false)
GetOrderStatus($sKey)
PrintPrice($dAmount, $bAbs=false, $bInvert=false, $sOutputType='', $sPriceType='')
PrintCurrencyPrice($dAmount,$sCurrency='USD')
PrintPriceByType($dAmount,$sPriceType='USD')
Price($dAmount, $sPriceType=,$bAbs=false,$bInvert=false)
GetDate($iTimestamp = '', $iTimeZone = '',$bCurrentForce=false)
GetDateTime($iTimestamp = , $iTimeZone = )
GetPostDate($sPostDate,$iTimeZone='')
GetPostDateTime($sPostDate,$iTimeZone='')
FormatDate($sSearchDate, $sFormat='Y-m-d H:i:s')
GetLocalizedRow($aData)
GetLocalizedAll($aData, $bReturnSql=false, $sAssocField = '')
Array2Hash($data, $key_array = '')
GetCommentLink($sSection, $sId, $sLink,$bHideUnapproved=false)
GetConstant($sKey,$sDefaultValue='')
GetMessageArray($aArrayKey, $sPage = "")
IncludeLocaleMap($sMap)
AddOldParser($sObject,$iId)
ReplaceOldParser($sOutput)
GetCatalogMessage($sKey, $sPage = "")
GetTranslit($sString, $sCharset='utf-8')
PrintPriceCalc($aPrice)
SetText($sKey, $sContent = "")
getContextHintProvider($iIdProvider = 0,$iId=0)
GetMonthDayFromPostDate($sPostDate='',$iTimeZone='')
GetYearFromPostDate($sPostDate='',$iTimeZone='')
Webservice.php
__construct()
GetPricePartmaster($sCode,$sPref='')
Каталог cron
Содержит папку "local" в которой размещены файлы:
- backup.sh - скрипт для сохранения дампа основной базы. Скрипт выполняется каждые сутки.
- backup_weekly.sh - скрипт для сохранения таблиц cross и cross_stop. Скрипт выполняется 1 раз в неделю.
Каталог css
Содержит файлы css проекта, подключенные в данном дизайне. Также может содержать css от дополнительных библиотек.
Каталог image
Содержит изображения использующиеся в дизайне сайта.
Каталог imgbank
Содержит файлы и папки которые загружаются и выгружаются с сайта
- Image - директория изображений загружаемых на сайт
- price - директория загружаемых на сайт прайсов
- temp_upload - директория используется для выгрузок с сайта и обмена с 1С
- default_cross_import.xls - пример файла импорта кроссов
- default_price.xls - пример файла импорта прайса
- test_status_upload.xls - пример файла импорта статусов
- test_weight_upload.xls - пример файла импорта веса запчастей
Каталог include
Содержит настройки и каталог SQL запросов:
- locale_map - каталог настроек мультиязычности
- sql - каталог SQL запросов
- currency_convert_ru.php - настройки отображения валюты
- order_status_config.php - настройки статусов заказа
- user_notification.php - настройки уведомлений пользователей
- vin_request.php - настройки данных формы VIN запроса
Подкаталог sql содержит запросы которые используются в обработчиках, например запрос "Cat.php" используется в обработчике MPanel для отображения брендов на сайте.
Пример использования:
$sSql = Base::GetSql('Cat',array('id'=>'102'));
Функция Base::GetSql() имеет 2 параметра:
- имя запроса, должно быть написано латиницей, начинаться с заглавной буквы и не содержать пробелов.
- массив параметров(не обязательно)
В данном примере результатом выполнения функции будет текст SQL запроса в который подставиться условие where c.id='102'
Содержимое файла Cat.php:
<? function SqlCatCall($aData) { $sWhere.=$aData['where']; Db::SetWhere($sWhere,$aData,'id','c'); Db::SetWhere($sWhere,$aData,'pref','c'); Db::SetWhere($sWhere,$aData,'is_main','c'); Db::SetWhere($sWhere,$aData,'is_brand','c'); Db::SetWhere($sWhere,$aData,'visible','c'); Db::SetWhere($sWhere,$aData,'id_tof','c'); Db::SetWhere($sWhere,$aData,'id_sync','c'); if ($aData['join']) { $sJoin .= " ".$aData['join']; } if ($aData['order']) { $sOrder.=" order by ".$aData['order']; } if ($aData['where']) $sWhere .= $aData['where']; $sSql="select c.* from cat as c ".$sJoin." where 1=1 ".$sWhere." group by c.id ".$sOrder; return $sSql; } ?>
В каждом файле должна быть объявлена функция по шаблону:
- Sql
- Название файла, если файл находится в поддиректории то имя директории должно быть с большой буквы
- Call
и иметь обязательный параметр. Пример файла PartDetailRubricator.php в директории OptiCatalog, имя функции в файле должно быть следующим: SqlOptiCatalogPartDetailRubricatorCall.
Вызов функции Db::SetWhere() внутри таких файлов, устанавливает необходимый параметр "where" для формирующегося SQL запроса.
Каталог js
Содержит js скрипты использующиеся на сайте, в том числе и дополнительные библиотеки, например:
- jquery
- jquery.maskedinput
- jquery.validate
Каталог lib
Содержит библиотеки php подключенные к проекту, например:
- adodb - работа с базой
- PHPExcel - работа с xls/xlsx файлами
- smarty - работа с шаблонизатором smarty
- sphinx - релевантный поиск
- и другие
Данные библиотеки являются общими для всех проектов!
Каталог libp
Содержит библиотеки в основном js подключенные к проекту, например:
- FCKeditor - визуальный html редактор
- xajax - библиотека для работы с ajax
- popcalendar - всплывающий элемент выбора даты
- и другие
Данные библиотеки являются общими для всех проектов!
Каталог mpanel
Содержит обработчики админ панели MPanel. Также содержит 2 файла:
- index.php - страница приветствия и входа в MPanel
- login.php - механизм связи обработчиков и ссылок в MPanel
Все обработчики находятся в поддиректории "spec" и отличаются от файлов директории "spec" в корне сайта тем что более унифицированы и являются не промежуточным звеном, а именно содержат код самого обработчика.
Основные файлы:
- admin_regulations.php - для регламентных работ
- banner.php - управление баннерами
- cat.php - бренды деталей на сайте
- cat_model.php - модели авто
- cat_model_group.php - группы моделей авто
- cat_part.php - карточки товаров
- cat_pref.php - префиксы брендов
- complex_margin.php - сложные наценки
- constant.php - константы
- context_hint.php - подсказки на сайте
- customer.php - заказчики
- customer_group.php - группы заказчиков
- delivery_type.php - типы доставки
- drop_down_additional.php - настройка выдачи урлов
- general_constant.php - основные настройки
- handbook.php - параметры групп деталей
- hbparams_editor.php - редактор параметров групп деталей
- log_admin.php - лог посещений администратора
- log_finance.php - лог финансов
- log_mail.php - лог писем
- log_sms.php - лог смс
- log_visit.php - лог посещений пользователя
- manager.php - менеджеры
- news.php - новости
- payment_type.php - типы оплат
- popular_products.php - популярные продукты
- price.php - прайсы
- price_group.php - группы деталей
- provider.php - поставщики
- provider_group.php - группы поставщиков
- rubricator.php - рубрикатор
- translate_message.php - перевод сообщений
- translate_text.php - перевод текстов
- user.php - общий обработчик для пользователей
Каталог single
Каталог для подключения любых библиотек php/js использующихся индивидуально на данном проекте.
Каталог spec
Содержит файлы для связи ссылок на сайте и обработчиков в папке class.
Основные файлы директории:
- call_me.php - заказ звонка
- cart.php - корзина и оформление заказа
- catalog.php - подбор по каталогу
- catalog_manager.php - редактирование каталога
- contact_form.php - страница контактной информации и форма обратной связи
- cron.php - автоматический запуск периодичных событий
- customer.php - редактирование информации пользователя
- dashboard.php - личный кабинет пользователя
- finance.php - управление счетами
- garage_manager.php - просмотр и редактирование менеджерами гаража полььзователя
- home.php - главная страница
- manager.php - функционал менеджера
- manager_cart.php - просмотр менеджером корзины пользователей
- manager_invoice_customer.php - работа с накладными для менеджера
- message.php - внутренние сообщения
- news.php - новости
- own_auto.php - гараж автомобилей
- payment.php - модули оплаты
- payment_declaration.php - декларации доставки пользователя
- payment_declaration_manager.php - декларации доставки менеджера
- payment_report.php - сообщение об оплате пользователя
- payment_report_manager.php - сообщение об оплате менеджера
- price.php - загрузка прайса
- price_group.php - группы прайсов
- price_profile.php - профили загрузки прайсов
- price_queue.php - очередь загрузки прайсов
- price_search_log.php - история поиска по коду
- print_content.php - вывод на печать
- rubricator.php - рубрикатор
- search.php - релевантный поиск
- test.php - тестовая страница, может использоваться для проверки функционала отдельных модулей
- user.php - регистрация пользователя, вход на сайт, выход
- vin_request.php - работа с VIN запросами
Все файлы в данной директории должны иметь название в нижнем регистре, латиницей, для разделения слов допускается только знак нижнего подчеркивания "_".
Пример файла:
<?php $sPrefix='customer_'; $oObject=new Customer(); switch (Base::$aRequest['action']) { case $sPrefix.'profile': $oObject->Profile(); break; case $sPrefix.'phone': case $sPrefix.'phone_edit': $oObject->Phone(); break; case $sPrefix.'change_rating': $oObject->ChangeRating(); break; default: $oObject->Index(); break; } ?>
В данном примере описана связь страниц:
- http://irbis.mstarproject.com/pages/customer_profile
- http://irbis.mstarproject.com/pages/customer_phone
- http://irbis.mstarproject.com/pages/customer_phone_edit
- http://irbis.mstarproject.com/pages/customer_change_rating
с обработчиками в классе Customer (/class/module/Customer.php)
Каталог template
Содержит шаблоны "*.tpl" для работы с шаблонизатором Smarty и генерации HTML кода.
Основные файлы и директории:
- addon - директория с общими для всех проектов шаблонами, содержит шаблоны форм, таблиц
- ... - шаблоны от модулей
- mpanel - директория с шаблонами админки
- templates_c - файлы кеша Smarty, их не нужно редактировать
- footer.tpl - шаблон футера
- header.tpl - шаблон хедера
- header_print.tpl - ???
- index.tpl - основной шаблон, в него подключаются header.tpl и footer.tpl, также он выводит переменную Base::$sText в которую обработчики отправляют контент
- message_input.tpl - перевод сообщений для js
В файлах "*.tpl" обычно используются:
Каталог verstka
Данный каталог содержит исходные файлы верстки сайта. Необходим для сохранения истории верстки.