UNA
Loading...
Searching...
No Matches
UNA Core

Classes

class  BxDolAI
class  EvalException
class  BxDol
interface  iBxDolSingleton
interface  iBxDolFactoryObject
interface  iBxDolReplaceable
interface  iBxDolProfile
interface  iBxDolProfileService
interface  iBxDolContentInfoService
interface  iBxDolCalendarService
class  BxDolAccount
class  BxDolAccountQuery
class  BxDolAcl
class  BxDolAclQuery
class  BxDolAIMessage
class  BxDolAIMessageString
class  BxDolAIMessageArray
class  BxDolAIMessages
class  BxDolAIAssistant
class  BxDolAIModel
class  BxDolAIModelGpt35
class  BxDolAIModelGpt40
class  BxDolAIProvider
class  BxDolAIProviderShopifyAdmin
class  BxDolAIQuery
class  BxDolAlerts
class  BxDolAlertsResponse
class  BxDolApiQuery
class  BxDolAuditGrid
class  BxDolAuditQuery
class  BxDolBackgroundJobs
class  BxDolBackgroundJobsQuery
class  BxDolBadges
class  BxDolBadgesQuery
class  BxDolCache
class  BxDolCacheAPC
class  BxDolCacheFileHtml
class  BxDolCacheMemcache
class  BxDolCacheUtilities
class  BxDolCacheXCache
class  BxDolCalendar
class  BxDolCaptcha
class  BxDolCaptchaQuery
class  BxDolCategories
class  BxDolCategoriesQuery
class  BxDolCategory
class  BxDolCategoryQuery
class  BxDolChart
class  BxDolChartGrowth
class  BxDolChartGrowthSpeed
class  BxDolChartQuery
class  BxDolCmts
class  BxDolCmtsGridAdministration
class  BxDolCmtsNotes
class  BxDolCmtsQuery
class  BxDolCmtsReviews
class  BxDolCmtsReviewsQuery
class  BxDolCmtsScore
class  BxDolCmtsVoteLikes
class  BxDolCmtsVoteReactions
class  BxDolConnection
class  BxDolConnectionBan
class  BxDolConnectionFriend
class  BxDolConnectionQuery
class  BxDolConnectionRelation
class  BxDolConnectionRelationQuery
class  BxDolConnectionSubscription
class  BxDolContentFilter
class  BxDolContentInfo
class  BxDolContentInfoCmts
class  BxDolCover
class  BxDolCron
class  BxDolCronAccount
class  BxDolCronAcl
class  BxDolCronAudit
class  BxDolCronBackgroundJobs
class  BxDolCronProfile
class  BxDolCronPruning
class  BxDolCronQuery
class  BxDolCronQueueEmail
class  BxDolCronQueuePush
class  BxDolCronStorage
class  BxDolCronTranscoder
class  BxDolCronUpgradeCheck
class  BxDolCronUpgradeModulesCheck
class  BxDolDb
class  BxDolDesigns
class  BxDolEditor
class  BxDolEditorQuery
class  BxDolEmailTemplates
class  BxDolEmailTemplatesQuery
class  BxDolEmbed
class  BxDolEmbedQuery
class  BxDolFactory
class  BxDolFactoryObject
class  BxDolFactoryObjectQuery
class  BxDolFavorite
class  BxDolFavoriteQuery
class  BxDolFeature
class  BxDolFeatureQuery
class  BxDolFile
class  BxDolFileHandler
class  BxDolFileHandlerQuery
class  BxDolForm
class  BxDolFormChecker
class  BxDolFormCheckerHelper
class  BxDolFormNested
class  BxDolFormNestedGhost
class  BxDolFormQuery
class  BxDolFtp
class  BxDolGrid
class  BxDolGridConnectionIn
class  BxDolGridConnectionOut
class  BxDolGridConnections
class  BxDolGridConnectionsRequests
class  BxDolGridQuery
class  BxDolGridQueues
class  BxDolGridRelatedMe
class  BxDolGridRelations
class  BxDolGridSubscribedMe
class  BxDolGridSubscriptions
class  BxDolGzip
class  BxDolImageResize
class  BxDolInformer
class  BxDolInstallerHasher
class  BxDolInstallerUtils
class  BxDolIO
class  BxDolKey
class  BxDolKeyQuery
class  BxDolLabel
class  BxDolLabelQuery
class  BxDolLanguages
class  BxDolLanguagesQuery
class  BxDolLiveUpdates
class  BxDolLiveUpdatesQuery
class  BxDolLocationField
class  BxDolLocationFieldGoogle
class  BxDolLocationFieldNominatim
class  BxDolLocationFieldQuery
class  BxDolLocationMap
class  BxDolLocationMapGoogleStatic
class  BxDolLocationMapLeaflet
class  BxDolLocationMapQuery
class  BxDolLog
class  BxDolLogs
class  BxDolLogsQuery
class  BxDolLogsStorageFolder
class  BxDolLogsStoragePHPLog
class  BxDolLogsStorageSTDErr
class  BxDolMenu
class  BxDolMenuQuery
class  BxDolMetatags
class  BxDolMetatagsQuery
class  BxDolMinify
class  BxDolModule
class  BxDolModuleConfig
class  BxDolModuleDb
class  BxDolModuleProxy
class  BxDolModuleQuery
class  BxDolModuleTemplate
class  BxDolObject
class  BxDolObjectQuery
class  BxDolPage
class  BxDolPageQuery
class  BxDolPaginate
class  BxDolPayments
class  BxDolPaymentsQuery
class  BxDolPlayer
class  BxDolPlayerQuery
class  BxDolPreloader
class  BxDolPreloaderQuery
class  BxDolPrivacy
class  BxDolPrivacyQuery
class  BxDolProfile
class  BxDolProfileAnonymous
class  BxDolProfileForms
class  BxDolProfileQuery
class  BxDolProfileUndefined
class  BxDolPush
class  BxDolPushOneSignal
class  BxDolPushQuery
class  BxDolQueue
class  BxDolQueueEmail
class  BxDolQueueEmailQuery
class  BxDolQueuePush
class  BxDolQueuePushQuery
class  BxDolQueueQuery
class  BxDolRecommendationQuery
class  BxDolReport
class  BxDolReportQuery
class  BxDolRequest
class  BxDolRewriteRulesQuery
class  BxDolRss
class  BxDolRssBoonEx
class  BxDolRssFactory
class  BxDolRssPageBlock
class  BxDolRssQuery
class  BxDolScore
class  BxDolScoreQuery
class  BxDolSearch
class  BxDolSearchResult
class  BxDolSearchExtended
class  BxDolSearchExtendedQuery
class  BxDolService
class  BxDolSession
class  BxDolSessionQuery
class  BxDolSms
class  BxDolSmsQuery
class  BxDolSmsSmsRu
class  SMSRU
class  BxDolSmsTwilio
class  BxDolSockets
class  BxDolSocketsSoketi
class  BxDolStorage
class  BxDolStorageHelperXhr
class  BxDolStorageHelperForm
class  BxDolStorageHelperPath
class  BxDolStorageHelperUrl
class  BxDolStorageHelperStorage
class  BxDolStorageLocal
class  BxDolStorageQuery
class  BxDolStorageS3
class  BxDolStorageS3v4
class  BxDolStorageS3v4alt
class  BxDolTranscoder
class  BxDolTranscoderAudio
class  BxDolTranscoderAudioQuery
class  BxDolTranscoderImage
class  BxDolTranscoderImageQuery
class  BxDolTranscoderProxy
class  BxDolTranscoderQuery
class  BxDolTranscoderVideo
class  BxDolTranscoderVideoQuery
class  BxDolUpgrader
class  BxDolUploader
class  BxDolUploaderQuery
class  BxDolView
class  BxDolViewQuery
class  BxDolVote
class  BxDolVoteLikes
class  BxDolVoteLikesQuery
class  BxDolVoteQuery
class  BxDolVoteReactions
class  BxDolVoteReactionsQuery
class  BxDolVoteStars
class  BxDolVoteStarsQuery
class  BxDolWiki
class  BxDolParsedown
class  BxDolWikiQuery
class  BxDolXmlParser

Functions

 BxDolAI::__clone ()
static BxDolAI::getInstance ()
 BxDolAI::getProfileId ()
 BxDolAI::getAutomatorInstructions ($sType, $bIncludeCommon=false)
 BxDolAI::getModel ($iId)
 BxDolAI::getAutomator ($iId, $bFullInfo=false)
 BxDolAI::getAutomatorsEvent ($sUnit, $sAction)
 BxDolAI::getAutomatorsScheduler ()
 BxDolAI::chat ($sEndpoint, $sModel, $sApiKey, $aParams, $aMessages)
 BxDolAI::callAutomator ($sType, $aParams=[])
 BxDolAI::_callAutomatorEvent ($aParams=[])
 BxDolAI::_callAutomatorScheduler ($aParams=[])
 BxDolAI::evalCode ($aAutomator, $isWriteLog=true, $aParams=null)
 evalErrorHandler ($errno, $errstr, $errfile, $errline)
 bx_transcoder_error_occured ($sMethod='displayPageNotFound')
 checkAction ($iProfileId, $iActionId, $bPerformAction=false)
 checkActionModule ($iProfileId, $sActionName, $sModuleName, $bPerformAction=false)
 getActionNumberLeftModule ($iProfileId, $sActionName, $sModuleName)
static BxDolAI::callHelper ($mixedHelper, $sMessage)
static BxDolAI::pruning ()
static BxDolAI::getDefaultApiKey ()
static BxDolAI::getDefaultModel ()
static BxDolAI::getAssistantForStudio ()
static BxDolAI::getAssistantForLiveSearch ()
static BxDolAI::getAssistantForAskBlock ()
 BxDolAI::getModels ($aParams=[])
 BxDolAI::getModelObject ($iId)
 BxDolAI::getProviderObject ($iId)
 BxDolAI::getAssistants ($aParams=[])
 BxDolAI::getAssistantById ($iId)
 BxDolAI::getAssistantByName ($sName)
 BxDolAI::getAssistantChatById ($iId)
 BxDolAI::getAssistantChatsTransient ($iLifetime=0)
 BxDolAI::updateAssistantChatById ($iId, $aSet)
 BxDolAI::getAssistantChatCmts ()
 BxDolAI::getAssistantChatCmtsObject ($iId, $oTemplate=false)
 BxDolAI::getHelperById ($iId)
 BxDolAI::getHelperByName ($sName)
 BxDolAI::getAutomatorInstruction ($sType, $mixedParams=false)
 BxDolAI::getAutomatorCmts ()
 BxDolAI::getAutomatorCmtsObject ($iId, $oTemplate=false)
 BxDolAI::getAutomatorsWebhook ($iProviderId)
 BxDolAI::_callAutomatorWebhook ($aParams=[])
 BxDolAI::evalCode ($aAutomator, $aParams=[])
 BxDolAI::emulCode ($aAutomator, $aParams=[])
 BxDolAI::log ($mixedContents, $sSection='')
 BxDolAI::_evalCode ($aAutomator, $aParams=[])
 BxDolAIMessage::__construct ($sType)
 BxDolAIMessage::isAi ()
 BxDolAIMessage::getContent ()
 BxDolAIMessage::getAttachments ()
 BxDolAIMessageString::__construct ($sType, $sContent)
 BxDolAIMessageArray::__construct ($sType, $aContent='')
 BxDolAIMessageArray::addText ($sText)
 BxDolAIMessageArray::addImageUrl ($sUrl, $sDetail='high')
 BxDolAIMessageArray::addAttachments ($mixedAttachments, $mixedTools=false)
 BxDolAIMessages::__construct ($aItems=[])
 BxDolAIMessages::add ($sType, $mixedMessage)
 BxDolAIMessages::getAll ()
 BxDolAIMessages::getLast ()
 BxDolAIAssistant::__construct ($aAssistant)
static BxDolAIAssistant::getObjectInstance ($iId)
static BxDolAIAssistant::getName ($sName)
static BxDolAIAssistant::getChatName ($sName)
static BxDolAIAssistant::pruning ()
 BxDolAIAssistant::getModelObject ()
 BxDolAIAssistant::getChatCmtsObject ($iChatId)
 BxDolAIAssistant::getAskButton ($sText)
 BxDolAIAssistant::getAskChat ($sName='', $sText='', $oTemplate=false)
 BxDolAIAssistant::getAskBlock ($aParams=[])
 BxDolAIAssistant::deleteChat ($mixedChat)
 BxDolAIAssistant::processActionAddKnowledge ()
 BxDolAIAssistant::processActionAsk ()
 BxDolAIAssistant::_getForm ($sAction, $aAssistant=[])
 BxDolAIModel::__construct ($aModel)
static BxDolAIModel::getObjectInstance ($iId)
 BxDolAIModel::getParams ()
 BxDolAIModel::setParams ($aParams)
 BxDolAIModel::isError ()
 BxDolAIModel::getError ()
 BxDolAIModel::getErrorMessage ()
 BxDolAIModel::setError ($mixedError)
 BxDolAIModel::resetError ()
 BxDolAIModel::getResponseInit ($sType, $aMessage, $aParams=[])
 BxDolAIModel::getResponse ($sType, $aMessage, $aParams=[])
 BxDolAIModel::_log ($mixedError, $bUseLog=true)
 BxDolAIModelGpt35::__construct ($aModel)
 BxDolAIModelGpt35::getResponseText ($sPrompt, $sMessage)
 BxDolAIModelGpt35::getResponseInit ($sType, $oMessage, $aParams=[])
 BxDolAIModelGpt35::getResponse ($sType, $mixedMessage, $aParams=[])
 BxDolAIModelGpt35::call ($aMessages, $aParams=[])
 BxDolAIModelGpt35::_getInstructions ($sType, $bIncludeCommon=false)
 BxDolAIModelGpt40::__construct ($aModel)
 BxDolAIModelGpt40::getResponseText ($sPrompt, $sMessage)
 BxDolAIModelGpt40::getResponseInit ($sType, $oMessage, $aParams=[])
 BxDolAIModelGpt40::getResponse ($sType, $mixedMessage, $aParams=[])
 BxDolAIModelGpt40::getAssistant ($aParams=[])
 BxDolAIModelGpt40::editAssistant ($sId, $aParams=[])
 BxDolAIModelGpt40::call ($aParams=[])
 BxDolAIModelGpt40::callRuns ($sThreadId, $aParams=[])
 BxDolAIModelGpt40::callMessages ($sThreadId, $aParams=[])
 BxDolAIModelGpt40::callVectorStores ($aParams=[])
 BxDolAIModelGpt40::callVectorStoresDelete ($sVectorStoreId, $aParams=[])
 BxDolAIModelGpt40::callVectorStoresFiles ($sVectorStoreId, $aParams=[])
 BxDolAIModelGpt40::callVectorStoresFilesList ($sVectorStoreId, $aParams=[])
 BxDolAIModelGpt40::callVectorStoresFilesRetrieveFile ($sVectorStoreId, $sFileId)
 BxDolAIModelGpt40::callVectorStoresFilesDelete ($sVectorStoreId, $sFileId, $aParams=[])
 BxDolAIModelGpt40::callAssistants ($aParams=[])
 BxDolAIModelGpt40::callAssistantsModify ($sAsstId, $aParams=[])
 BxDolAIModelGpt40::callAssistantsDelete ($sAsstId, $aParams=[])
 BxDolAIModelGpt40::callFiles ($aFile, $aParams=[])
 BxDolAIModelGpt40::callFilesRetrieve ($sFileId)
 BxDolAIModelGpt40::callFilesRetrieveContent ($sFileId)
 BxDolAIModelGpt40::callFilesDelete ($sFileId, $aParams=[])
 BxDolAIModelGpt40::callChat ($aMessages, $aParams=[])
 BxDolAIModelGpt40::getMessages ($sThreadId, $aParams=[])
 BxDolAIModelGpt40::_call ($sEndpoint, $aData, $sMethod="post-json")
 BxDolAIModelGpt40::_callFiles ($sEndpoint, $aData, $sMethod="post-raw")
 BxDolAIModelGpt40::_getAssistantId ($sType)
 BxDolAIProvider::__construct ($aProvider)
static BxDolAIProvider::getObjectInstanceByName ($sName)
static BxDolAIProvider::getObjectInstance ($iId)
 BxDolAIProvider::initOptions ($aOptions)
 BxDolAIProvider::getInfo ()
 BxDolAIProvider::getOptions ()
 BxDolAIProvider::getOption ($sName)
 BxDolAIProvider::processActionWebhook ()
 BxDolAIProvider::call ($sRequest, $aParams, $sMethod='post-json', $aHeaders=[])
 BxDolAIProvider::_log ($mixedError, $bUseLog=true)
 BxDolAIProviderShopifyAdmin::__construct ($aProvider)
 BxDolAIProviderShopifyAdmin::getEntry ($sId)
 BxDolAIProviderShopifyAdmin::getOptionWebhookUrl ()
 BxDolAIProviderShopifyAdmin::processActionWebhook ()
 BxDolAIProviderShopifyAdmin::call ($sRequest, $aParams, $sMethod='post-json', $aHeaders=[])
 BxDolAIProviderShopifyAdmin::_dateI2S ($iTimestamp)
 BxDolAIProviderShopifyAdmin::_verifyWebhook ($sData, $sHmacHeader)
 BxDolConnectionBan::__construct ($aObject)
 BxDolConnectionBan::addConnection ($iInitiator, $iContent, $aParams=[])
 BxDolConnectionFriend::__construct ($aObject)
 BxDolConnectionRelation::__construct ($aObject)
static BxDolConnectionRelation::isEnabled ()
 BxDolConnectionRelation::actionAdd ($mixedContent=0, $iInitiator=false)
 BxDolConnectionRelation::actionConfirm ($iContent=0, $iInitiator=false)
 BxDolConnectionRelation::actionRemove ($iContent=0, $iInitiator=false)
 BxDolConnectionRelation::addConnection ($iInitiator, $iContent, $aParams=[])
 BxDolConnectionRelation::confirmConnection ($iInitiator, $iContent)
 BxDolConnectionRelation::getConnectionsAsArrayExt ($sContentType, $iId1, $iId2, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 BxDolConnectionRelation::getCommonContentExt ($iInitiator1, $iInitiator2, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 BxDolConnectionRelation::getConnectedInitiatorsExt ($iContent, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 BxDolConnectionRelation::getConnectedContentExt ($iInitiator, $isMutual=false, $iStart=0, $iLimit=BX_CONNECTIONS_LIST_LIMIT, $iOrder=BX_CONNECTIONS_ORDER_NONE)
 BxDolConnectionRelation::checkAllowedConnect ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 BxDolConnectionRelation::checkAllowedConnectCustom ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 BxDolConnectionRelation::checkAllowedConfirmConnection ($iInitiator, $iContent, $isPerformAction=false, $isMutual=false, $isInvertResult=false, $isSwap=false, $isCheckExists=true)
 BxDolConnectionRelation::isRelationAvailableFromProfile ($sModule)
 BxDolConnectionRelation::isRelationAvailableWithProfile ($sModule)
 BxDolConnectionRelation::isRelationAvailableBetweenProfiles ($sModuleInitiator, $sModuleContent)
 BxDolConnectionRelation::isRelationAvailable ($iInitiator, $iContent)
 BxDolConnectionRelation::getRelations ($iInitiator, $iContent, &$aSuggestions=array())
 BxDolConnectionRelation::getRelation ($iInitiator, $iContent)
 BxDolConnectionRelation::getRelationTranslation ($iValue, $sUseValues=BX_DATA_VALUES_DEFAULT)
 BxDolConnectionRelation::getRelationTypes ()
 BxDolConnectionSubscription::__construct ($aObject)
 getParam ($sParamName, $bUseCache=true)
 setParam ($sParamName, $sParamVal)
if(!function_exists( '_t')) _t_err ()
 _t_action ()
 _t_ext ($key, $args)
 _t_format_size ($iSize)
 _t_format_duration ($iTime)
 _t_format_currency ($fPrice, $iPrecision=2, $bFormatThousands=true)
 _t_format_currency_ext ($fPrice, $aParams=[])
 _t_format_extensions ($mixedExtensions)
 bx_lang_name ()
 bx_lang_code ()
 bx_lang_country ()
 bx_lang_direction ($sLanguage='')
 getRange ($iLow, $iHigh, $iStep)
 getPeriod ($sPeriod, $iLow, $iHigh)
 checkCronJob ($sPeriods, $aDate=array())
 runJob ($aJob)
 getPageMainCode ()
if('Local' !=$aObject['engine']) if(! $oStorage->download( $sRemoteId, $sToken)) bx_storage_download_error_occured ($sMethod='displayPageNotFound')

Variables

 $sTool = bx_process_input(bx_get('t'))
const BX_DOL_AI_AUTOMATOR_EVENT 'event'
const BX_DOL_AI_AUTOMATOR_SCHEDULER 'scheduler'
const BX_DOL_AI_AUTOMATOR_WEBHOOK 'webhook'
const BX_DOL_AI_AUTOMATOR_STATUS_AUTO 'auto'
const BX_DOL_AI_AUTOMATOR_STATUS_MANUAL 'manual'
const BX_DOL_AI_AUTOMATOR_STATUS_READY 'ready'
 BxDolAI::$_oDb
 BxDolAI::$_sPathInst
 BxDolAI::$_iProfileId
 BxDolAI::$_aExcludeAlertUnits
 $iSellerId = 0
 $sUrl = BxDolPayments::getInstance()->getCartUrl($iSellerId)
 exit
 $sObject = isset($_REQUEST['object']) ? bx_process_input($_REQUEST['object']) : ''
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oChart = BxDolChart::getObjectInstance($sObject)
if(! $oChart||! $sAction) $sMethod = 'action' . bx_gen_method_name($sAction)
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : ''
 $iObjectId = isset($_REQUEST['id']) ? bx_process_input($_REQUEST['id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oCmts = BxDolCmts::getObjectInstance($sSys, $iObjectId, true)
 $sObj = bx_get('obj') ? bx_get('obj') : ''
 $sAct = bx_get('act') && preg_match ('/^[A-Za-z_]+$/', bx_get('act')) ? bx_get('act') : ''
 $sFmt = bx_get('fmt') ? bx_get('fmt') : 'json'
 $oConn = BxDolConnection::getObjectInstance($sObj)
 $sMethod = 'action' . $sAct
if($oConn && $sAct &&method_exists($oConn, $sMethod) else )
 $aEmbedData = BxDolPage::getEmbedData(bx_get('url'))
if(empty($aEmbedData)) $aResult
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : false
 $iObjectId = isset($_REQUEST['object_id']) ? bx_process_input($_REQUEST['object_id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oFavorite = BxDolFavorite::getObjectInstance($sSys, $iObjectId, true)
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : false
 $iObjectId = isset($_REQUEST['object_id']) ? bx_process_input($_REQUEST['object_id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oFeature = BxDolFeature::getObjectInstance($sSys, $iObjectId, true)
 $sObject = bx_process_input(bx_get('o'))
 $sDisplay = bx_process_input(bx_get('d'))
 $sAction = bx_process_input(bx_get('a'))
 $sObject = bx_process_input(bx_get('object'))
 $mixedId = bx_process_input(bx_get('id'))
 $iUserId = bx_process_input(bx_get('member'), BX_DATA_INT)
 $oRss = BxDolRss::getObjectInstance($sObject)
if($oRss &&($s=$oRss->getFeed($mixedId, $iUserId)) else )
 $sObject = bx_process_input(bx_get('o'))
 $oTemplate = null
 $oGrid = BxDolGrid::getObjectInstance($sObject, $oTemplate)
 $sAction = 'performAction' . bx_gen_method_name(bx_process_input(bx_get('a')))
 $sFile = bx_process_input($_GET['file'])
const BX_DOL_HEALTHCHECK 1
 $sTranscoderObject = bx_process_input(bx_get('o'))
 $sHandler = bx_process_input(bx_get('h'))
 $oTranscoder = BxDolTranscoderImage::getObjectInstance($sTranscoderObject)
if(! $oTranscoder->isFileReady($sHandler) &&! $oTranscoder->transcode($sHandler)) $sImageUrl = $oTranscoder->getFileUrl($sHandler)
 exit
 $GLOBALS ['bxDolClasses'] = array()
const CHECK_ACTION_MESSAGE_NOT_ALLOWED "_sys_acl_action_not_allowed"
const CHECK_ACTION_MESSAGE_LIMIT_REACHED "_sys_acl_action_limit_reached"
const CHECK_ACTION_MESSAGE_MESSAGE_EVERY_PERIOD "_sys_acl_action_every_period"
const CHECK_ACTION_MESSAGE_NOT_ALLOWED_BEFORE "_sys_acl_action_not_allowed_before"
const CHECK_ACTION_MESSAGE_NOT_ALLOWED_AFTER "_sys_acl_action_not_allowed_after"
const CHECK_ACTION_MESSAGE_UNAUTHENTICATED "_sys_acl_action_unauthenticated"
const CHECK_ACTION_MESSAGE_UNCONFIRMED "_sys_acl_action_unconfirmed"
const CHECK_ACTION_MESSAGE_PENDING "_sys_acl_action_pending"
const CHECK_ACTION_MESSAGE_SUSPENDED "_sys_acl_action_suspended"
const CHECK_ACTION_LANG_FILE_ACTION 1
const CHECK_ACTION_LANG_FILE_MEMBERSHIP 2
const CHECK_ACTION_LANG_FILE_LIMIT 3
const CHECK_ACTION_LANG_FILE_PERIOD 4
const CHECK_ACTION_LANG_FILE_AFTER 5
const CHECK_ACTION_LANG_FILE_BEFORE 6
const CHECK_ACTION_LANG_FILE_SITE_EMAIL 7
const CHECK_ACTION_LANG_FILE_PERIOD_RESTART_AT 8
const MEMBERSHIP_ID_NON_MEMBER 1
const MEMBERSHIP_ID_ACCOUNT 2
const MEMBERSHIP_ID_STANDARD 3
const MEMBERSHIP_ID_UNCONFIRMED 4
const MEMBERSHIP_ID_PENDING 5
const MEMBERSHIP_ID_SUSPENDED 6
const MEMBERSHIP_ID_MODERATOR 7
const MEMBERSHIP_ID_ADMINISTRATOR 8
const MEMBERSHIP_ACTION_EDIT_ANY_ENTRY 'edit any entry'
const MEMBERSHIP_ACTION_DELETE_ANY_ENTRY 'delete any entry'
const CHECK_ACTION_RESULT 0
const CHECK_ACTION_MESSAGE 1
const CHECK_ACTION_PARAMETER 3
const CHECK_ACTION_RESULT_ALLOWED 0
const CHECK_ACTION_RESULT_NOT_ALLOWED 1
const CHECK_ACTION_RESULT_NOT_ACTIVE 2
const CHECK_ACTION_RESULT_LIMIT_REACHED 3
const CHECK_ACTION_RESULT_NOT_ALLOWED_BEFORE 4
const CHECK_ACTION_RESULT_NOT_ALLOWED_AFTER 5
const MEMBERSHIP_PERIOD_UNIT_DAY 'day'
const MEMBERSHIP_PERIOD_UNIT_WEEK 'week'
const MEMBERSHIP_PERIOD_UNIT_MONTH 'month'
const MEMBERSHIP_PERIOD_UNIT_YEAR 'year'
const BX_DOL_AI_ASSISTANT 'assistant'
const BX_DOL_AI_AUTOMATOR_EVENT 'event'
const BX_DOL_AI_AUTOMATOR_SCHEDULER 'scheduler'
const BX_DOL_AI_AUTOMATOR_WEBHOOK 'webhook'
const BX_DOL_AI_AUTOMATOR_STATUS_AUTO 'auto'
const BX_DOL_AI_AUTOMATOR_STATUS_MANUAL 'manual'
const BX_DOL_AI_AUTOMATOR_STATUS_READY 'ready'
 BxDolAI::$_sCmtsAutomators
 BxDolAI::$_sCmtsAssistantsChats
 BxDolAI::$_bWriteLog
 BxDolAIMessage::$_sType
 BxDolAIMessage::$_mixedContent
 BxDolAIMessage::$_aAttachments
 BxDolAIMessages::$_aItems
const BX_DOL_AI_ASST_TYPE_PERMANENT 1
const BX_DOL_AI_ASST_TYPE_TRANSIENT 10
static BxDolAIAssistant::$_sFileText = 'sys_asst_text.json'
static BxDolAIAssistant::$_sFileFaq = 'sys_asst_faq.json'
 BxDolAIAssistant::$_oDb
 BxDolAIAssistant::$_iId
 BxDolAIAssistant::$_aData
 BxDolAIModel::$_oDb
 BxDolAIModel::$_iId
 BxDolAIModel::$_sName
 BxDolAIModel::$_sCaption
 BxDolAIModel::$_sKey
 BxDolAIModel::$_aParams
 BxDolAIModel::$_mixedError
 BxDolAIModel::$_bError
static BxDolAIModelGpt35::$NAME = 'gpt-3.5-turbo'
 BxDolAIModelGpt35::$_sEndpoint
 BxDolAIModelGpt35::$_sPathInst
static BxDolAIModelGpt40::$NAME = 'gpt-4o'
 BxDolAIModelGpt40::$_sEndpoint
 BxDolAIModelGpt40::$_sEndpointRuns
 BxDolAIModelGpt40::$_sEndpointRunsCheck
 BxDolAIModelGpt40::$_sEndpointMessages
 BxDolAIModelGpt40::$_sEndpointAssistants
 BxDolAIModelGpt40::$_sEndpointAssistantsModify
 BxDolAIModelGpt40::$_sEndpointAssistantsDelete
 BxDolAIModelGpt40::$_sEndpointFiles
 BxDolAIModelGpt40::$_sEndpointFilesRetrieve
 BxDolAIModelGpt40::$_sEndpointFilesRetrieveContent
 BxDolAIModelGpt40::$_sEndpointFilesDelete
 BxDolAIModelGpt40::$_sEndpointVectorStores
 BxDolAIModelGpt40::$_sEndpointVectorStoresDelete
 BxDolAIModelGpt40::$_sEndpointVectorStoresFiles
 BxDolAIModelGpt40::$_sEndpointVectorStoresFilesRetrieve
 BxDolAIModelGpt40::$_sEndpointVectorStoresFilesDelete
 BxDolAIModelGpt40::$_sEndpointChat
 BxDolAIProvider::$_oDb
 BxDolAIProvider::$_iId
 BxDolAIProvider::$_sProviderName
 BxDolAIProvider::$_sName
 BxDolAIProvider::$_sPrefix
 BxDolAIProvider::$_aOptions
static BxDolAIProviderShopifyAdmin::$PROVIDER_NAME = 'shopify_admin'
 BxDolAIProviderShopifyAdmin::$_sShopDomain
 BxDolAIProviderShopifyAdmin::$_sAccessToken
 BxDolAIProviderShopifyAdmin::$_sEndpoint
 BxDolAIProviderShopifyAdmin::$_sStorefront
const BX_DOL_MANAGE_TOOLS_ADMINISTRATION 'administration'
const BX_DOL_CMT_TYPE_COMMENTS 'comments'
const BX_DOL_CMT_TYPE_REVIEWS 'reviews'
const BX_CMT_OLD_VOTES 365*86400
const BX_CMT_ACTION_POST 'post'
const BX_CMT_ACTION_EDIT 'edit'
const BX_CMT_DISPLAY_FLAT 'flat'
const BX_CMT_DISPLAY_THREADED 'threaded'
const BX_CMT_BROWSE_HEAD 'head'
const BX_CMT_BROWSE_TAIL 'tail'
const BX_CMT_BROWSE_POPULAR 'popular'
const BX_CMT_BROWSE_CONNECTION 'connection'
const BX_CMT_ORDER_BY_DATE 'date'
const BX_CMT_ORDER_BY_POPULAR 'popular'
const BX_CMT_FILTER_ALL 'all'
const BX_CMT_FILTER_OTHERS 'others'
const BX_CMT_FILTER_FRIENDS 'friends'
const BX_CMT_FILTER_SUBSCRIPTIONS 'subscriptions'
const BX_CMT_FILTER_PINNED 'pinned'
const BX_CMT_ORDER_WAY_ASC 'asc'
const BX_CMT_ORDER_WAY_DESC 'desc'
const BX_CMT_PFP_TOP 'top'
const BX_CMT_PFP_BOTTOM 'bottom'
const BX_CMT_RATE_VALUE_PLUS 1
const BX_CMT_RATE_VALUE_MINUS -1
const BX_CMT_USAGE_BLOCK 'block'
const BX_CMT_USAGE_INLINE 'inline'
const BX_CMT_USAGE_DEFAULT BX_CMT_USAGE_BLOCK
const BX_CMT_STATUS_ACTIVE 'active'
const BX_CMT_STATUS_HIDDEN 'hidden'
const BX_CMT_STATUS_PENDING 'pending'
const BX_DOL_MANAGE_TOOLS_ADMINISTRATION 'administration'
const BX_CONNECTIONS_LIST_COUNTER 5
const BX_CONNECTIONS_LIST_LIMIT 1000
const BX_CONNECTIONS_LIST_NO_LIMIT -1
const BX_CONNECTIONS_ORDER_NONE 0
const BX_CONNECTIONS_ORDER_ADDED_ASC 1
const BX_CONNECTIONS_ORDER_ADDED_DESC 2
const BX_CONNECTIONS_TYPE_ONE_WAY 'one-way'
const BX_CONNECTIONS_TYPE_MUTUAL 'mutual'
const BX_CONNECTIONS_CONTENT_TYPE_CONTENT 'content'
const BX_CONNECTIONS_CONTENT_TYPE_INITIATORS 'initiators'
const BX_CONNECTIONS_CONTENT_TYPE_COMMON 'common'
const BX_CONNECTIONS_TRIGGER_TYPE_INITIATOR 'initiator'
const BX_CONNECTIONS_TRIGGER_TYPE_CONTENT 'content'
static BxDolConnectionRelation::$_sParamEnabled = 'sys_relations_enable'
static BxDolConnectionRelation::$_sParamTypes = 'sys_relations'
 BxDolConnectionRelation::$_sParamDivider
 BxDolConnectionRelation::$_sPreList
const BX_DB_MODE_SILENT PDO::ERRMODE_SILENT
const BX_DB_MODE_EXCEPTION PDO::ERRMODE_EXCEPTION
const BX_DB_ERR_CONNECT_FAILD 1
const BX_DB_ERR_QUERY_ERROR 2
const BX_DB_ERR_ESCAPE 3
const BX_PDO_STATE_NOT_EXECUTED NULL
const BX_PDO_STATE_SUCCESS '00000'
const BX_EDITOR_STANDARD 1
const BX_EDITOR_FULL 2
const BX_EDITOR_MINI 3
const BX_DOL_FAVORITE_USAGE_BLOCK 'block'
const BX_DOL_FAVORITE_USAGE_INLINE 'inline'
const BX_DOL_FAVORITE_USAGE_DEFAULT BX_DOL_FAVORITE_USAGE_BLOCK
const BX_DOL_FEATURED_USAGE_BLOCK 'block'
const BX_DOL_FEATURED_USAGE_INLINE 'inline'
const BX_DOL_FEATURED_USAGE_DEFAULT BX_DOL_FEATURED_USAGE_BLOCK
const BX_DOL_FORM_METHOD_GET 'get'
const BX_DOL_FORM_METHOD_POST 'post'
const BX_DOL_FORM_METHOD_SPECIFIC 'specific'
const BX_DOL_FORM_METHOD_DEFAULT BX_DOL_FORM_METHOD_POST
const BX_DATA_LISTS_KEY_PREFIX '#!'
const BX_DATA_VALUES_DEFAULT 'LKey'
const BX_DATA_VALUES_ADDITIONAL 'LKey2'
const BX_DATA_VALUES_ALL 'all'
const IMAGE_ERROR_SUCCESS 0
const IMAGE_ERROR_WRONG_TYPE 2
const BX_INFORMER_ALERT 1
const BX_INFORMER_INFO 2
const BX_INFORMER_ERROR 3
const BX_SYSTEM_MODULE_ID 0
 if (!defined( 'BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT')) define( 'BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT'
const BX_FORCE_USE_FTP_FILE_TRANSFER false
const BX_DOL_LANGUAGE_DEFAULT 'en'
const BX_DOL_LANGUAGE_DIRECTION_LTR 'LTR'
const BX_DOL_LANGUAGE_DIRECTION_RTL 'RTL'
const BX_DOL_LANGUAGE_CATEGORY_SYSTEM 1
const BX_DOL_LANGUAGE_CATEGORY_CUSTOM 2
const BX_MENU_LAST_ITEM_ORDER 9999
const BX_DOL_OBJECT_ERR_NOT_AVAILABLE 1
const BX_DOL_OBJECT_ERR_ACCESS_DENIED 2
const BX_DOL_OBJECT_ERR_DUPLICATE 3
const BX_DOL_OBJECT_ERR_WRONG_DATE 4
const BX_DOL_OBJECT_ERR_CANNOT_PERFORM 5
const BX_DOL_PAGINATE_PER_PAGE_DEFAULT 10
const BX_PLAYER_STANDARD 1
const BX_PLAYER_MINI 3
const BX_PLAYER_EMBED 2
const BX_PRELOADER_TYPE_CSS 'css_system'
const BX_PRELOADER_TYPE_JS 'js_system'
const BX_PRELOADER_TYPE_JS_OPTION 'js_option'
const BX_PRELOADER_TYPE_JS_TRANSLATION 'js_translation'
const BX_PRELOADER_TYPE_JS_IMAGE 'js_image'
const BX_DOL_PG_HIDDEN '1'
const BX_DOL_PG_MEONLY '2'
const BX_DOL_PG_ALL '3'
const BX_DOL_PG_MEMBERS '4'
const BX_DOL_PG_FRIENDS '5'
const BX_DOL_PG_FRIENDS_SELECTED '6'
const BX_DOL_PG_RELATIONS '7'
const BX_DOL_PG_RELATIONS_SELECTED '8'
const BX_DOL_PG_MEMBERSHIPS_SELECTED '9'
const BX_DOL_PG_CUSTOM '99'
const BX_DOL_PG_DEFAULT BX_DOL_PG_ALL
const BX_PROFILE_ACTION_AUTO 0
const BX_PROFILE_ACTION_MANUAL 1
const BX_PROFILE_ACTION_ROBOT 2
const BX_PROFILE_ACTION_EXTERNAL 2
const BX_DOL_REPORT_USAGE_BLOCK 'block'
const BX_DOL_REPORT_USAGE_INLINE 'inline'
const BX_DOL_REPORT_USAGE_DEFAULT BX_DOL_REPORT_USAGE_BLOCK
const BX_DOL_REPORT_STASUS_NEW 0
const BX_DOL_REPORT_STASUS_IN_PROCESS 1
const BX_DOL_REPORT_STASUS_PROCESSED 2
const BX_DOL_REQUEST_ERROR_MODULE_NOT_FOUND 1
const BX_DOL_REQUEST_ERROR_PAGE_NOT_FOUND 2
const BX_DOL_SCORE_USAGE_BLOCK 'block'
const BX_DOL_SCORE_USAGE_INLINE 'inline'
const BX_DOL_SCORE_USAGE_DEFAULT BX_DOL_SCORE_USAGE_BLOCK
const BX_DOL_SCORE_DO_UP 'up'
const BX_DOL_SCORE_DO_DOWN 'down'
const BX_DOL_SEARCH_RESULTS_PER_PAGE_DEFAULT 10
const BX_DOL_SEARCH_KEYWORD_PAGE 'site-search-page'
if *(!defined( 'BX_DOL_SESSION_LIFETIME')) define( 'BX_DOL_SESSION_LIFETIME' ** if (!defined( 'BX_DOL_SESSION_SKIP_UPDATE')) define( 'BX_DOL_SESSION_SKIP_UPDATE'
const BX_DOL_SESSION_COOKIE 'memberSession'
const BX_DOL_STORAGE_ERR_OK 0
const BX_DOL_STORAGE_ERR_NO_INPUT_METHOD 1000
const BX_DOL_STORAGE_ERR_NO_FILE 1001
const BX_DOL_STORAGE_INVALID_FILE 1002
const BX_DOL_STORAGE_ERR_FILE_TOO_BIG 1003
const BX_DOL_STORAGE_ERR_WRONG_EXT 1004
const BX_DOL_STORAGE_ERR_USER_QUOTA_EXCEEDED 1005
const BX_DOL_STORAGE_ERR_OBJECT_QUOTA_EXCEEDED 1006
const BX_DOL_STORAGE_ERR_SITE_QUOTA_EXCEEDED 1007
const BX_DOL_STORAGE_ERR_ENGINE_ADD 1008
const BX_DOL_STORAGE_ERR_FILE_NOT_FOUND 2001
const BX_DOL_STORAGE_ERR_UNLINK 2002
const BX_DOL_STORAGE_ERR_DB 5001
const BX_DOL_STORAGE_ERR_FILESYSTEM_PERM 5002
const BX_DOL_STORAGE_ERR_PERMISSION_DENIED 5003
const BX_DOL_STORAGE_ERR_ENGINE_GET 5004
const BX_DOL_STORAGE_ERR_NOT_IMPLEMENTED 5005
const BX_DOL_STORAGE_DEFAULT_MIME_TYPE 'octet/stream'
const BX_DOL_STORAGE_DEFAULT_ICON 'mime-type-any.svg'
const BX_DOL_STORAGE_DEFAULT_ICON_FONT 'far file'
const BX_DOL_STORAGE_QUEUED_DELETIONS_PER_RUN 200
const BX_DOL_STORAGE_DIR_RIGHTS BX_DOL_DIR_RIGHTS
const BX_DOL_STORAGE_FILE_RIGHTS BX_DOL_FILE_RIGHTS
 if (!defined( 'CURL_SSLVERSION_TLSv1')) define( 'CURL_SSLVERSION_TLSv1'
 if (!defined( 'CURL_SSLVERSION_TLSv1')) define( 'CURL_SSLVERSION_TLSv1'
if *(!defined( 'BX_DOL_STORAGE_S3V4_MULTIPART_UPLOAD')) define( 'BX_DOL_STORAGE_S3V4_MULTIPART_UPLOAD' * defined ( 'AKEEBAENGINE') or define( 'AKEEBAENGINE'
const BX_DOL_TEMPLATE_INJECTIONS_CACHE 'sys_injections.inc'
const BX_DOL_TEMPLATE_CHECK_IN_BOTH 'both'
const BX_DOL_TEMPLATE_CHECK_IN_BASE 'base'
const BX_DOL_TEMPLATE_CHECK_IN_TMPL 'tmpl'
const BX_DOL_COLOR_BG 'bg'
const BX_DOL_COLOR_FT 'ft'
const BX_DOL_PAGE_WIDTH '1024px'
const BX_PAGE_DEFAULT 0
const BX_PAGE_CLEAR 2
const BX_PAGE_EMBED 22
const BX_PAGE_POPUP 44
const BX_PAGE_CONTENT_PRELOAD 50
const BX_PAGE_CONTENT_WITH_COVER 54
const BX_PAGE_CONTENT_WITH_SUBMENU 56
const BX_PAGE_CONTENT 58
const BX_PAGE_TRANSITION 150
const BX_PAGE_TYPE_DEFAULT 1
const BX_PAGE_TYPE_DEFAULT_WO_HF 2
const BX_PAGE_TYPE_STANDARD 3
const BX_PAGE_TYPE_APPLICATION 4
const BX_DOL_QUEUE_PENDING 'pending'
const BX_DOL_QUEUE_PROCESSING 'processing'
const BX_DOL_QUEUE_COMPLETE 'complete'
const BX_DOL_QUEUE_FAILED 'failed'
const BX_DOL_QUEUE_DELETE 'delete'
 if (!defined( 'BX_DOL_MAX_RETINA_DIMENSION_MOBILE')) define( 'BX_DOL_MAX_RETINA_DIMENSION_MOBILE'
const BX_DOL_QUEUE_PRUNE_FAILED 604800
const BX_DOL_QUEUE_PRUNE_PROCESSING 86400
const BX_DOL_VIEW_OLD_VIEWS 3 * 86400
const BX_DOL_VIEW_USAGE_BLOCK 'block'
const BX_DOL_VIEW_USAGE_INLINE 'inline'
const BX_DOL_VIEW_USAGE_DEFAULT BX_DOL_VIEW_USAGE_BLOCK
const BX_DOL_VOTE_TYPE_STARS 'stars'
const BX_DOL_VOTE_TYPE_LIKES 'likes'
const BX_DOL_VOTE_TYPE_REACTIONS 'reactions'
const BX_DOL_VOTE_USAGE_BLOCK 'block'
const BX_DOL_VOTE_USAGE_INLINE 'inline'
const BX_DOL_VOTE_USAGE_DEFAULT BX_DOL_VOTE_USAGE_BLOCK
const BX_DOL_VERSION '15.0.0-DEV1'
 if (!file_exists("./inc/header.inc.php"))
if(!isLogged() &&getParam('sys_site_splash_enabled') &&false===strpos($_SERVER['HTTP_USER_AGENT'], 'UNAMobileApp')) $_GET ['i'] = 'home'
 $sUrl = BxDolPayments::getInstance()->getInvoicesUrl()
 exit
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oLabel = BxDolLabel::getInstance()
 $oLiveUpdates = BxDolLiveUpdates::getInstance()
if(getParam('sys_session_auth')) else
 $oTemplate = BxDolTemplate::getInstance()
const BX_MANIFEST true
 $aContent
 $aContent ['name'] = ($sName = getParam('sys_pwa_manifest_name')) != '' ? $sName : parse_url(BX_DOL_URL_ROOT, PHP_URL_HOST)
 $aContent ['short_name'] = ($sShortName = getParam('sys_pwa_manifest_short_name')) != '' ? $sShortName : $aContent['name']
 $aAdi = []
 $sObject = bx_process_input(bx_get('o'))
 $oMenu = BxDolMenu::getObjectInstance($sObject)
 $sAction = 'performAction' . bx_gen_method_name(bx_process_input(bx_get('a')))
 $GLOBALS ['aRequest'] = explode('/', $_GET['r'])
 $sName = bx_process_input(array_shift($GLOBALS['aRequest']))
 $GLOBALS ['aModule'] = BxDolModuleQuery::getInstance()->getModuleByUri($sName)
 if (empty( $GLOBALS[ 'aModule']))
 $aLinks = bx_get('l')
 $sUrl = BxDolPayments::getInstance()->getOrdersUrl()
 exit
 $oPage = BxDolPage::getObjectInstanceByURI('', false, true)
if($oPage) else
 $GLOBALS ['bx_profiler_disable'] = true
const BX_DOL_CRON_EXECUTE '1'
 $aPathInfo = pathinfo(__FILE__)
 $oDb = BxDolCronQuery::getInstance()
 $aJobsTransient = $oDb->getTransientJobs()
 $aJobs = $oDb->getJobs()
 $aDate = getdate(time())
 $oAi = BxDolAI::getInstance()
 $aAutomators = $oAi->getAutomatorsScheduler()
 $sObject = isset($_REQUEST['object']) ? bx_process_input($_REQUEST['object']) : false
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oPrivacy = BxDolPrivacy::getObjectInstance($sObject)
 $sRequest = ltrim($_GET['_q'], '/')
 $sPath = parse_url(BX_DOL_URL_ROOT, PHP_URL_PATH)
 $aRewriteRules = BxDolRewriteRulesQuery::getActiveRules()
 $sObj = bx_get('obj') ? bx_get('obj') : ''
 $sAct = bx_get('act') && preg_match ('/^[A-Za-z_]+$/', bx_get('act')) ? bx_get('act') : ''
 $sFmt = bx_get('fmt') ? bx_get('fmt') : 'json'
 $oRecom = BxDolRecommendation::getObjectInstance($sObj)
 $sMethod = 'action' . $sAct
if($oRecom && $sAct &&method_exists($oRecom, $sMethod) else )
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : false
 $iObjectId = isset($_REQUEST['object_id']) ? bx_process_input($_REQUEST['object_id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oReport = BxDolReport::getObjectInstance($sSys, $iObjectId, true)
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : false
 $iObjectId = isset($_REQUEST['id']) ? bx_process_input($_REQUEST['id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oScore = BxDolScore::getObjectInstance($sSys, $iObjectId, true)
 $sObject = isset($_REQUEST['object']) ? bx_process_input($_REQUEST['object']) : ''
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $_GET ['i'] = 'search-keyword'
 $oTemplate = BxDolTemplate::getInstance()
 $sStorageObject = bx_process_input(bx_get('o'))
 $sFile = bx_process_input(bx_get('f'))
 $sToken = bx_process_input(bx_get('t'))
 $oStorage = BxDolStorage::getObjectInstance($sStorageObject)
if( $oStorage &&bx_get( 'a')=='upload' &&bx_get( 't')) if(! $oStorage||!method_exists($oStorage, 'download') $i ) = strrpos($sFile, '.')
 $sRemoteId = ($i !== false) ? substr($sFile, 0, $i) : $sFile
if(! $sRemoteId) $aObject = $oStorage->getObjectData()
 $sUploaderObject = bx_process_input(bx_get('uo'))
 $sStorageObject = bx_process_input(bx_get('so'))
 $sUniqId = preg_match("/^[\d\w]+$/", bx_get('uid')) ? bx_get('uid') : ''
 $isMultiple = bx_get('m') ? true : false
 $isLatest = bx_get('l') ? true : false
 $sFormat = bx_process_input(bx_get('f'))
 $iContentId = bx_get('c')
 $isPrivate = (int)bx_get('p') ? 1 : 0
 $oUploader = BxDolUploader::getObjectInstance($sUploaderObject, $sStorageObject, $sUniqId)
if(! $oUploader) $sAction = bx_process_input(bx_get('a'))
 $sUrl = BxDolPayments::getInstance()->getSubscriptionsUrl()
 exit
const BX_SERVICE_WORKER true
 $oTemplate = BxDolTemplate::getInstance()
 $sCacheName = 'app' . $oTemplate->getRevision()
 $aAssets = []
foreach([ 'css', 'js'] as $sType) if(($sCache=getParam('sys_pwa_sw_cache')) !='') $sOffline = ''
if(($sOffline=getParam('sys_pwa_sw_offline')) !='') $sIconUrl = ''
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : false
 $iObjectId = isset($_REQUEST['id']) ? bx_process_input($_REQUEST['id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oView = BxDolView::getObjectInstance($sSys, $iObjectId, true)
 $sSys = isset($_REQUEST['sys']) ? bx_process_input($_REQUEST['sys']) : false
 $iObjectId = isset($_REQUEST['id']) ? bx_process_input($_REQUEST['id'], BX_DATA_INT) : 0
 $sAction = isset($_REQUEST['action']) && preg_match ('/^[A-Za-z_-]+$/', $_REQUEST['action']) ? bx_process_input($_REQUEST['action']) : ''
 $oVote = BxDolVote::getObjectInstance($sSys, $iObjectId, true)

Detailed Description

Copyright (c) UNA, Inc - https://una.io MIT License - https://opensource.org/licenses/MIT

Function Documentation

◆ __clone()

BxDolAI::__clone ( )

Prevent cloning the instance

◆ __construct() [1/8]

BxDolAI::__construct ( )
protected

Reimplemented from BxDolFactory.

◆ __construct() [2/8]

BxDolAIModelGpt35::__construct ( $aModel)

Reimplemented from BxDolAIModel.

◆ __construct() [3/8]

BxDolAIModelGpt40::__construct ( $aModel)

Reimplemented from BxDolAIModel.

◆ __construct() [4/8]

BxDolAIProviderShopifyAdmin::__construct ( $aProvider)

Reimplemented from BxDolAIProvider.

◆ __construct() [5/8]

BxDolConnectionBan::__construct ( $aObject)
protected

Constructor

Parameters
$aObjectarray of connection options

Reimplemented from BxDolConnection.

◆ __construct() [6/8]

BxDolConnectionFriend::__construct ( $aObject)
protected

Constructor

Parameters
$aObjectarray of connection options

Reimplemented from BxTemplConnection.

Reimplemented in BxBaseConnectionFriend, and BxTemplConnectionFriend.

◆ __construct() [7/8]

BxDolConnectionRelation::__construct ( $aObject)
protected

Constructor

Parameters
$aObjectarray of connection options

Reimplemented from BxTemplConnection.

Reimplemented in BxBaseConnectionRelation, and BxTemplConnectionRelation.

◆ __construct() [8/8]

BxDolConnectionSubscription::__construct ( $aObject)
protected

Constructor

Parameters
$aObjectarray of connection options

Reimplemented from BxTemplConnection.

Reimplemented in BxBaseConnectionSubscription, and BxTemplConnectionSubscription.

◆ _dateI2S()

BxDolAIProviderShopifyAdmin::_dateI2S ( $iTimestamp)
protected

Internal methods.

◆ _log() [1/2]

BxDolAIModel::_log ( $mixedError,
$bUseLog = true )
protected

Internal methods.

◆ _log() [2/2]

BxDolAIProvider::_log ( $mixedError,
$bUseLog = true )
protected

Internal methods.

◆ actionAdd()

BxDolConnectionRelation::actionAdd ( $mixedContent = 0,
$iInitiator = false )

Add new relation.

Parameters
$mixedContentcontent to make relation with or an array with content and relation type
Returns
array

Reimplemented from BxDolConnection.

◆ actionConfirm()

BxDolConnectionRelation::actionConfirm ( $iContent = 0,
$iInitiator = false )

Confirm relation request without creation of retroactive relation.

Parameters
$iContentcontent to make relation with
Returns
array

◆ actionRemove()

BxDolConnectionRelation::actionRemove ( $iContent = 0,
$iInitiator = false )

Remove relation without removing a retroactive relation. This method is wrapper for

See also
removeConnection to be called from
conn.php upon AJAX request to this file.
Parameters
$iContentcontent to make connection to, in most cases some content id, or other profile id in case of friends
Returns
array

Reimplemented from BxDolConnection.

◆ addConnection() [1/2]

BxDolConnectionBan::addConnection ( $iInitiator,
$iContent,
$aParams = [] )

Add new connection.

Parameters
$iInitiatorinitiator of the connection, in most cases some profile id
$iContentcontent to make connection to, in most cases some content id, or other profile id in case of friends
Returns
true - if connection was added, false - if connection already exists or error occured

Reimplemented from BxDolConnection.

◆ addConnection() [2/2]

BxDolConnectionRelation::addConnection ( $iInitiator,
$iContent,
$aParams = [] )

Add new connection.

Parameters
$iInitiatorinitiator of the connection, in most cases some profile id
$iContentcontent to make connection to, in most cases some content id, or other profile id in case of friends
Returns
true - if connection was added, false - if connection already exists or error occured

Reimplemented from BxDolConnection.

◆ call()

BxDolAIProviderShopifyAdmin::call ( $sRequest,
$aParams,
$sMethod = 'post-json',
$aHeaders = [] )

Reimplemented from BxDolAIProvider.

◆ callVectorStores()

BxDolAIModelGpt40::callVectorStores ( $aParams = [])

Create a vector store.

Parameters
type$aParams- should have 'name'
Returns
boolean

◆ callVectorStoresFiles()

BxDolAIModelGpt40::callVectorStoresFiles ( $sVectorStoreId,
$aParams = [] )

Create a vector store file by attaching a File to a vector store.

Parameters
type$sVectorStoreId
type$aParams- should have 'file_id'
Returns
boolean

◆ checkAllowedConnect()

BxDolConnectionRelation::checkAllowedConnect ( $iInitiator,
$iContent,
$isPerformAction = false,
$isMutual = false,
$isInvertResult = false,
$isSwap = false,
$isCheckExists = true )

Check whether connection between Initiator and Content can be established.

Reimplemented from BxDolConnection.

◆ checkAllowedConnectCustom()

BxDolConnectionRelation::checkAllowedConnectCustom ( $iInitiator,
$iContent,
$isPerformAction = false,
$isMutual = false,
$isInvertResult = false,
$isSwap = false,
$isCheckExists = true )

Custom check action method which can be overwritten. Currently only friends can establish relations.

◆ confirmConnection()

BxDolConnectionRelation::confirmConnection ( $iInitiator,
$iContent )

Confirm relation request without creation of retroactive relation.

Parameters
$iInitiatorinitiator of the connection, in most cases some profile id
$iContentcontent to make connection to, in most cases some content id, or other profile id in case of friends
Returns
true - if connection was added, false - if connection already exists or error occured

Hooks:

'{object_name}', 'connection_confirmed' - hook after relation was confirmed

  • $unit_name - relation object name
  • $action - equals connection_confirmed
  • $object_id - not used
  • $sender_id - logged in profile id
  • $extra_params - array of additional params with the following array keys:

◆ getCommonContentExt()

BxDolConnectionRelation::getCommonContentExt ( $iInitiator1,
$iInitiator2,
$isMutual = false,
$iStart = 0,
$iLimit = BX_CONNECTIONS_LIST_LIMIT,
$iOrder = BX_CONNECTIONS_ORDER_NONE )

Get common content (full info) between two initiators

Parameters
$iInitiator1one initiator
$iInitiator2second initiator
$isMutualget mutual connections only
Returns
array of available connections

◆ getConnectedContentExt()

BxDolConnectionRelation::getConnectedContentExt ( $iInitiator,
$isMutual = false,
$iStart = 0,
$iLimit = BX_CONNECTIONS_LIST_LIMIT,
$iOrder = BX_CONNECTIONS_ORDER_NONE )

Get connected content (full info)

Parameters
$iInitiatorinitiator of the connection
$isMutualget mutual connections only
Returns
array of available connections

◆ getConnectedInitiatorsExt()

BxDolConnectionRelation::getConnectedInitiatorsExt ( $iContent,
$isMutual = false,
$iStart = 0,
$iLimit = BX_CONNECTIONS_LIST_LIMIT,
$iOrder = BX_CONNECTIONS_ORDER_NONE )

Get connected initiators (full info)

Parameters
$iContentcontent of the connection
$isMutualget mutual connections only
Returns
array of available connections

◆ getConnectionsAsArrayExt()

BxDolConnectionRelation::getConnectionsAsArrayExt ( $sContentType,
$iId1,
$iId2,
$isMutual = false,
$iStart = 0,
$iLimit = BX_CONNECTIONS_LIST_LIMIT,
$iOrder = BX_CONNECTIONS_ORDER_NONE )

Compound function, which calls getCommonContentExt, getConnectedContentExt or getConnectedInitiatorsExt depending on $sContentType

Parameters
$sContentTypecontent type to get BX_CONNECTIONS_CONTENT_TYPE_CONTENT, BX_CONNECTIONS_CONTENT_TYPE_INITIATORS or BX_CONNECTIONS_CONTENT_TYPE_COMMON
$iId1one content or initiator
$iId2second content or initiator only in case of BX_CONNECTIONS_CONTENT_TYPE_COMMON content type
$isMutualget mutual connections only
Returns
array of available connections

◆ getInstance()

BxDolAI::getInstance ( )
static

Get singleton instance of the class

Implements iBxDolSingleton.

◆ getObjectInstance() [1/3]

BxDolAIAssistant::getObjectInstance ( $iId)
static

Get assistant object instance by ID

Parameters
$iIdassistant ID
Returns
object instance or false on error

◆ getObjectInstance() [2/3]

BxDolAIModel::getObjectInstance ( $iId)
static

Get model object instance by model name

Parameters
$sNamemodel name
Returns
object instance or false on error

◆ getObjectInstance() [3/3]

BxDolAIProvider::getObjectInstance ( $iId)
static

Get provider object instance by provider ID

Parameters
$iIdprovider ID
Returns
object instance or false on error

◆ getObjectInstanceByName()

BxDolAIProvider::getObjectInstanceByName ( $sName)
static

Get provider object instance by provider unique name

Parameters
$sNameprovider unique name
Returns
object instance or false on error

◆ getRelations()

BxDolConnectionRelation::getRelations ( $iInitiator,
$iContent,
& $aSuggestions = array() )

Hooks:

'{object_name}', 'get_relations' - hook to override relation info

  • $unit_name - relation object name
  • $action - equals get_relations
  • $object_id - not used
  • $sender_id - logged in profile id
  • $extra_params - array of additional params with the following array keys:
    • initiator - [int] profile id who created the connection
    • content - [int] profile id with whom the connection was created
    • pre_list - [string] predefined list name with all available relation types
    • relations - [array] by ref, array with relations between 'initiator' and 'content' profiles, can be overridden in hook processing
      HOOKS
      '{object_name}', 'get_relations' - hook to override relation info

◆ getResponse() [1/2]

BxDolAIModelGpt35::getResponse ( $sType,
$mixedMessage,
$aParams = [] )

Reimplemented from BxDolAIModel.

◆ getResponse() [2/2]

BxDolAIModelGpt40::getResponse ( $sType,
$mixedMessage,
$aParams = [] )

Reimplemented from BxDolAIModel.

◆ getResponseInit() [1/2]

BxDolAIModelGpt35::getResponseInit ( $sType,
$oMessage,
$aParams = [] )

Reimplemented from BxDolAIModel.

◆ getResponseInit() [2/2]

BxDolAIModelGpt40::getResponseInit ( $sType,
$oMessage,
$aParams = [] )

Reimplemented from BxDolAIModel.

◆ isEnabled()

BxDolConnectionRelation::isEnabled ( )
static

Whether the Relations feature is enabled globaly or not.

Returns
boolean

◆ processActionWebhook()

BxDolAIProviderShopifyAdmin::processActionWebhook ( )

Reimplemented from BxDolAIProvider.

Variable Documentation

◆ $aContent

$aContent
Initial value:
= [
'name' => '',
'short_name' => '',
'description' => getParam('sys_pwa_manifest_description'),
'orientation' => 'portrait',
'start_url' => parse_url(BX_DOL_URL_ROOT, PHP_URL_PATH),
'display' => 'standalone',
'scope' => '/',
'background_color' => getParam('sys_pwa_manifest_background_color'),
'theme_color' => getParam('sys_pwa_manifest_theme_color'),
'gcm_sender_id' => isLogged() ? '482941778795' : ''
]
isLogged()
Definition profiles.inc.php:22

◆ $aResult

if (empty( $aEmbedData)) $aResult
Initial value:
= [
'version' => '1.0',
'type' => 'rich',
'title' => $aEmbedData['title'],
'url' => $aEmbedData['url'],
'provider_name' => getParam('site_title'),
'provider_url' => BX_DOL_URL_ROOT,
'html' => $aEmbedData['html'],
]

◆ $GLOBALS

$GLOBALS[ 'bxDolClasses'] = array()

Classes instances are stored here

◆ BX_CONNECTIONS_CONTENT_TYPE_COMMON

const BX_CONNECTIONS_CONTENT_TYPE_COMMON 'common'

Connections content type: common

◆ BX_CONNECTIONS_CONTENT_TYPE_CONTENT

const BX_CONNECTIONS_CONTENT_TYPE_CONTENT 'content'

Connections content type: content

◆ BX_CONNECTIONS_CONTENT_TYPE_INITIATORS

const BX_CONNECTIONS_CONTENT_TYPE_INITIATORS 'initiators'

Connections content type: initiators

◆ BX_CONNECTIONS_LIST_COUNTER

const BX_CONNECTIONS_LIST_COUNTER 5

Default limit for connections list in Counter.

◆ BX_CONNECTIONS_LIST_LIMIT

const BX_CONNECTIONS_LIST_LIMIT 1000

Default limit for connections lists

◆ BX_CONNECTIONS_LIST_NO_LIMIT

const BX_CONNECTIONS_LIST_NO_LIMIT -1

No limit for connections lists. Is needed for Total Number calculation.

◆ BX_CONNECTIONS_ORDER_ADDED_ASC

const BX_CONNECTIONS_ORDER_ADDED_ASC 1

Connections order: by addded time, asceding

◆ BX_CONNECTIONS_ORDER_ADDED_DESC

const BX_CONNECTIONS_ORDER_ADDED_DESC 2

Connections order: by addded time, desceding

◆ BX_CONNECTIONS_ORDER_NONE

const BX_CONNECTIONS_ORDER_NONE 0

Connections order: no order

◆ BX_CONNECTIONS_TRIGGER_TYPE_CONTENT

const BX_CONNECTIONS_TRIGGER_TYPE_CONTENT 'content'

Connections trigger type: content. It updates 'Content' data with a counter's value of connected 'Initiators'.

◆ BX_CONNECTIONS_TRIGGER_TYPE_INITIATOR

const BX_CONNECTIONS_TRIGGER_TYPE_INITIATOR 'initiator'

Connections trigger type: initiator. It updates 'Initiator' data with a counter's value of connected 'Content'.

◆ BX_CONNECTIONS_TYPE_MUTUAL

const BX_CONNECTIONS_TYPE_MUTUAL 'mutual'

Connection type: mutual

◆ BX_CONNECTIONS_TYPE_ONE_WAY

const BX_CONNECTIONS_TYPE_ONE_WAY 'one-way'

Connection type: one-way

◆ BX_DATA_VALUES_ADDITIONAL

const BX_DATA_VALUES_ADDITIONAL 'LKey2'

Use additional values for data items,.

See also
BxDolForm\getDataItems

◆ BX_DATA_VALUES_ALL

const BX_DATA_VALUES_ALL 'all'

Return all available info for data items,.

See also
BxDolForm\getDataItems

◆ BX_DATA_VALUES_DEFAULT

const BX_DATA_VALUES_DEFAULT 'LKey'

Use default values for data items,.

See also
BxDolForm\getDataItems

◆ BX_DOL_STORAGE_QUEUED_DELETIONS_PER_RUN

const BX_DOL_STORAGE_QUEUED_DELETIONS_PER_RUN 200

max number of file deletions per one cron run,

See also
BxDolStorage\pruneDeletions

◆ BX_DOL_VERSION

const BX_DOL_VERSION '15.0.0-DEV1'

system files version, for DB version

See also
bx_get_ver, DB and files version must match

◆ BX_EDITOR_FULL

const BX_EDITOR_FULL 2

Full WYSIWYG editor view. If not supported by editor, standard view is used.

See also
BxDolEditor\attachEditor

◆ BX_EDITOR_MINI

const BX_EDITOR_MINI 3

Mini WYSIWYG editor view. If not supported by editor, standard view is used.

See also
BxDolEditor\attachEditor

◆ BX_EDITOR_STANDARD

const BX_EDITOR_STANDARD 1

Standard WYSIWYG editor view.

See also
BxDolEditor\attachEditor

◆ BX_PAGE_DEFAULT

const BX_PAGE_DEFAULT 0

default, regular page

Page display levels. Note. Both levels may refer to the same HTML templates.

'System' level. It uses page's NameIndex and is mainly used for pages which aren't registered in 'sys_objects_page' table. Also it's used in 'Injections' engine.

◆ BX_PAGE_TYPE_DEFAULT

const BX_PAGE_TYPE_DEFAULT 1

default, depends on the settins

'Builder based' level. It uses page's Type from BxDolPage class and is used for pages which are registered in 'sys_objects_page' table. Changeable in Studio -> Pages Builder -> Settings.

◆ BX_PLAYER_EMBED

const BX_PLAYER_EMBED 2

Player view in embed. If not supported by player, standard view is used.

See also
BxDolPlayer::attachPlayer

◆ BX_PLAYER_MINI

const BX_PLAYER_MINI 3

Mini Player view. If not supported by player, standard view is used.

See also
BxDolPlayer::attachPlayer

◆ BX_PLAYER_STANDARD

const BX_PLAYER_STANDARD 1

Standard Player view.

See also
BxDolPlayer::attachPlayer

◆ CHECK_ACTION_LANG_FILE_ACTION

const CHECK_ACTION_LANG_FILE_ACTION 1

Nodes of $args array that are passed to _t_ext() function by checkAction()

◆ CHECK_ACTION_MESSAGE_NOT_ALLOWED

const CHECK_ACTION_MESSAGE_NOT_ALLOWED "_sys_acl_action_not_allowed"

Message constants passed to _t_ext() function by checkAction()

NOTE: checkAction() returns language dependent messages

◆ CHECK_ACTION_RESULT

const CHECK_ACTION_RESULT 0

Indices for checkAction() result array

◆ CHECK_ACTION_RESULT_ALLOWED

const CHECK_ACTION_RESULT_ALLOWED 0

CHECK_ACTION_RESULT node values

◆ else [1/5]

if ( $oConn &&$sAct &&method_exists( $oConn, $sMethod) else)
Initial value:
{
$oTemplate = BxDolTemplate::getInstance()

◆ else [2/5]

if ( $oRss &&( $s=$oRss->getFeed( $mixedId, $iUserId)) else)
Initial value:
{
BxDolTemplate::getInstance()->displayPageNotFound()

◆ else [3/5]

if (getParam( 'sys_session_auth')) else
Initial value:
{
if (isset($_COOKIE['memberID']) && isset($_COOKIE['memberPassword']))
bx_logout($bNotify=true)
Definition profiles.inc.php:153

◆ else [4/5]

if ( $oPage) else
Initial value:
{
$oTemplate = BxDolTemplate::getInstance()

◆ else [5/5]

if ( $oRecom &&$sAct &&method_exists( $oRecom, $sMethod) else)
Initial value:
{
$oTemplate = BxDolTemplate::getInstance()

◆ if

if(!defined('BX_DOL_SKIP_ATIME_UPDATE')) define('BX_DOL_SKIP_ATIME_UPDATE' ( ! defined 'BX_DOL_MAX_RETINA_DIMENSION_MOBILE')

max image dimension which will be processes as retine on mobiles

time interval to not update last access time, it should be comaparatively low compared to atime_prining

◆ MEMBERSHIP_ACTION_EDIT_ANY_ENTRY

const MEMBERSHIP_ACTION_EDIT_ANY_ENTRY 'edit any entry'

Standard membership actions

◆ MEMBERSHIP_ID_NON_MEMBER

const MEMBERSHIP_ID_NON_MEMBER 1

Standard membership ID's

◆ MEMBERSHIP_PERIOD_UNIT_DAY

const MEMBERSHIP_PERIOD_UNIT_DAY 'day'

Standard period units