OXID eShop CE
4.10.7
|
Protected Member Functions | |
_getHelpContentIdents () |
Protected Attributes | |
$_oShop = null | |
$_aViewData = null | |
$_aConfigParams = array() | |
$_sHelpPageLink = null | |
$_oCountryList = null | |
$_aTrustedShopRatings = null | |
$_sActiveTheme = null | |
$_sShopLogo = null |
Private Member Functions | |
_moduleExists ($sModuleId, $aModuleVersions) | |
_isModuleEnabled ($sModuleId) | |
_isModuleVersionCorrect ($sModuleId, $sVersionFrom, $sVersionTo) |
Additional Inherited Members | |
Static Protected Attributes inherited from oxSuperCfg | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
View config data access class. Keeps most of getters needed for formatting various urls, config parameters, session information etc.
Definition at line 8 of file oxviewconfig.php.
|
protected |
|
private |
Checks whether module is enabled.
string | $sModuleId | Module id |
Definition at line 1586 of file oxviewconfig.php.
|
private |
Checks whether module version is between given range.
string | $sModuleId | Module id |
string | $sVersionFrom | Version from |
string | $sVersionTo | Version to |
Definition at line 1606 of file oxviewconfig.php.
|
private |
Checks if module exists.
string | $sModuleId | Module id |
array | $aModuleVersions | Modules from oxconfig 'aModuleVersions' |
Definition at line 1568 of file oxviewconfig.php.
oxViewConfig::getActArticleId | ( | ) |
oxViewConfig::getActCatId | ( | ) |
oxViewConfig::getActContentLoadId | ( | ) |
Returns active template name (if set)
Definition at line 111 of file oxviewconfig.php.
oxViewConfig::getActCurrency | ( | ) |
oxViewConfig::getActionClassName | ( | ) |
Returns name of a view class, which will be active for an action (given a generic fnc, e.g. logout)
Definition at line 1082 of file oxviewconfig.php.
oxViewConfig::getActiveClassName | ( | ) |
oxViewConfig::getActiveShopId | ( | ) |
oxViewConfig::getActiveTheme | ( | ) |
oxViewConfig::getActLanguageAbbr | ( | ) |
oxViewConfig::getActLanguageId | ( | ) |
oxViewConfig::getActListType | ( | ) |
oxViewConfig::getActManufacturerId | ( | ) |
oxViewConfig::getActRecommendationId | ( | ) |
Returns active recommendation id parameter
Definition at line 268 of file oxviewconfig.php.
oxViewConfig::getActSearchParam | ( | ) |
oxViewConfig::getActSearchTag | ( | ) |
Returns active search tag parameter
Definition at line 256 of file oxviewconfig.php.
oxViewConfig::getActTplName | ( | ) |
oxViewConfig::getAdminDir | ( | ) |
oxViewConfig::getAjaxLink | ( | ) |
oxViewConfig::getArtPerPageCount | ( | ) |
Returns max number of items shown on page
Definition at line 945 of file oxviewconfig.php.
oxViewConfig::getArtPerPageForm | ( | ) |
oxViewConfig::getBaseDir | ( | ) |
oxViewConfig::getBasketLink | ( | ) |
oxViewConfig::getBasketTimeLeft | ( | ) |
return the seconds left until basket expiration
Definition at line 1126 of file oxviewconfig.php.
oxViewConfig::getContentId | ( | ) |
oxViewConfig::getCoreUtilsDir | ( | ) |
oxViewConfig::getCountryList | ( | ) |
oxViewConfig::getCurrentHomeDir | ( | ) |
oxViewConfig::getEdition | ( | ) |
oxViewConfig::getExeOrderLink | ( | ) |
oxViewConfig::getFbAppId | ( | ) |
Returns facebook application key value
Definition at line 1105 of file oxviewconfig.php.
oxViewConfig::getHelpPageLink | ( | ) |
oxViewConfig::getHiddenSid | ( | ) |
Returns forms hidden session parameters
Definition at line 379 of file oxviewconfig.php.
oxViewConfig::getHomeLink | ( | ) |
oxViewConfig::getImageUrl | ( | $sFile = null , |
|
$bSsl = null |
|||
) |
Returns image url
string | $sFile | Image file name |
bool | $bSsl | Whether to force SSL |
Definition at line 629 of file oxviewconfig.php.
oxViewConfig::getLogoutLink | ( | ) |
oxViewConfig::getModulePath | ( | $sModule, | |
$sFile = '' |
|||
) |
return path to the requested module file
string | $sModule | module name (directory name in modules dir) |
string | $sFile | file name to lookup |
oxFileException |
Definition at line 1337 of file oxviewconfig.php.
oxViewConfig::getModuleUrl | ( | $sModule, | |
$sFile = '' |
|||
) |
return url to the requested module file
string | $sModule | module name (directory name in modules dir) |
string | $sFile | file name to lookup |
oxFileException |
Definition at line 1368 of file oxviewconfig.php.
oxViewConfig::getNavFormParams | ( | ) |
oxViewConfig::getNavUrlParams | ( | ) |
oxViewConfig::getNoSslImageDir | ( | ) |
oxViewConfig::getNrOfCatArticles | ( | ) |
Returns config param "aNrofCatArticles" value
Definition at line 815 of file oxviewconfig.php.
oxViewConfig::getOrderConfirmLink | ( | ) |
Returns shops order confirmation link
Definition at line 562 of file oxviewconfig.php.
oxViewConfig::getOrderLink | ( | ) |
oxViewConfig::getPasswordLength | ( | ) |
oxViewConfig::getPaymentLink | ( | ) |
oxViewConfig::getPictureDir | ( | ) |
Returns dynamic (language related) image url Left for compatibility reasons for a while. Will be removed in future
Definition at line 662 of file oxviewconfig.php.
oxViewConfig::getPopupIdent | ( | ) |
oxViewConfig::getPopupIdentRand | ( | ) |
Returns random basket popup identifier
Definition at line 753 of file oxviewconfig.php.
oxViewConfig::getRemoteAccessToken | ( | ) |
Returns session Remote Access token. Later you can pass the token over rtoken URL param when you want to access the shop, for example, from different client.
Definition at line 1069 of file oxviewconfig.php.
oxViewConfig::getRemoteAddress | ( | ) |
oxViewConfig::getResourceUrl | ( | $sFile = null | ) |
Returns shops resource url
string | $sFile | resource file name |
Definition at line 579 of file oxviewconfig.php.
oxViewConfig::getSelfActionLink | ( | ) |
oxViewConfig::getSelfLink | ( | ) |
oxViewConfig::getServiceUrl | ( | ) |
oxViewConfig::getSessionChallengeToken | ( | ) |
retrieve session challenge token from session
Definition at line 1549 of file oxviewconfig.php.
oxViewConfig::getSessionId | ( | ) |
Returns session id
Definition at line 364 of file oxviewconfig.php.
oxViewConfig::getShopLogo | ( | ) |
Returns shop logo image file name from config option
Definition at line 1519 of file oxviewconfig.php.
oxViewConfig::getShopVersion | ( | ) |
Returns shop version defined in view
Definition at line 1026 of file oxviewconfig.php.
oxViewConfig::getShowBasketTimeout | ( | ) |
should basket timeout counter be shown?
Definition at line 1115 of file oxviewconfig.php.
oxViewConfig::getShowCompareList | ( | ) |
Returns config param "bl_showCompareList" value
Definition at line 847 of file oxviewconfig.php.
oxViewConfig::getShowFbConnect | ( | ) |
Checks if Facebook connect is on. If yes, also checks if Facebook application id and secure key are entered in config table.
Definition at line 1143 of file oxviewconfig.php.
oxViewConfig::getShowGiftWrapping | ( | ) |
Returns config param "bl_showGiftWrapping" value
Definition at line 888 of file oxviewconfig.php.
oxViewConfig::getShowListmania | ( | ) |
Returns config param "bl_showListmania" value
Definition at line 868 of file oxviewconfig.php.
oxViewConfig::getShowVouchers | ( | ) |
Returns config param "bl_showVouchers" value
Definition at line 878 of file oxviewconfig.php.
oxViewConfig::getShowWishlist | ( | ) |
Returns config param "bl_showWishlist" value
Definition at line 837 of file oxviewconfig.php.
oxViewConfig::getSslSelfLink | ( | ) |
oxViewConfig::getStockOffDefaultMessage | ( | ) |
Returns config param "blStockOnDefaultMessage" value
Definition at line 1016 of file oxviewconfig.php.
oxViewConfig::getStockOnDefaultMessage | ( | ) |
Returns config param "blStockOnDefaultMessage" value
Definition at line 1006 of file oxviewconfig.php.
oxViewConfig::getTemplateDir | ( | ) |
Returns shops current (related to language) templates path
Definition at line 596 of file oxviewconfig.php.
oxViewConfig::getTopActionClassName | ( | ) |
Returns name of a class of top view in the chain (given a generic fnc, e.g. logout)
Definition at line 1093 of file oxviewconfig.php.
oxViewConfig::getTopActiveClassName | ( | ) |
Returns name of a class of top view in the chain (given a generic fnc, e.g. logout)
Definition at line 935 of file oxviewconfig.php.
oxViewConfig::getTsDomain | ( | ) |
Returns Trusted shops domain name (includes "http://")
Definition at line 1163 of file oxviewconfig.php.
oxViewConfig::getTsId | ( | ) |
Returns Trusted Shops id
Definition at line 1264 of file oxviewconfig.php.
oxViewConfig::getTsRatings | ( | ) |
Gets Trusted shops ratings from Trusted shops
Definition at line 1181 of file oxviewconfig.php.
oxViewConfig::getTsRatingUrl | ( | ) |
Trusted Shops ratings url
Definition at line 1204 of file oxviewconfig.php.
oxViewConfig::getUrlTemplateDir | ( | ) |
oxViewConfig::getViewConfigParam | ( | $sName | ) |
Returns current view config parameter
string | $sName | name of parameter to get |
Definition at line 327 of file oxviewconfig.php.
oxViewConfig::getViewThemeParam | ( | $sName | ) |
return param value
string | $sName | param name |
Definition at line 1440 of file oxviewconfig.php.
oxViewConfig::isAltImageServerConfigured | ( | ) |
Checks if alternative image server is configured.
Definition at line 1479 of file oxviewconfig.php.
oxViewConfig::isBuyableParent | ( | ) |
Returns "blVariantParentBuyable" parent article config state
Definition at line 783 of file oxviewconfig.php.
oxViewConfig::isFunctionalityEnabled | ( | $sParamName | ) |
Get config parameter for view to check if functionality is turned on or off.
string | $sParamName | config parameter name. |
Definition at line 1494 of file oxviewconfig.php.
oxViewConfig::isModuleActive | ( | $sModuleId, | |
$sVersionFrom = null , |
|||
$sVersionTo = null |
|||
) |
Check if module is active. If versionFrom or|and versionTo is defined - also checks module versions.
string | $sModuleId | module id. |
string | $sVersionFrom | module from version. |
string | $sVersionTo | module to version. |
Definition at line 1415 of file oxviewconfig.php.
oxViewConfig::isMultiShop | ( | ) |
oxViewConfig::isSsl | ( | ) |
oxViewConfig::isTplBlocksDebugMode | ( | ) |
true if blocks javascript code be enabled in templates
Definition at line 1287 of file oxviewconfig.php.
oxViewConfig::setShopLogo | ( | $sLogo | ) |
Sets shop logo
string | $sLogo | shop logo image file name |
Definition at line 1539 of file oxviewconfig.php.
oxViewConfig::setViewConfigParam | ( | $sName, | |
$sValue | |||
) |
Sets view config parameter, which can be accessed in templates in two ways:
$oViewConf->getViewConfigParam( $sName )
string | $sName | name of parameter |
mixed | $sValue | parameter value |
Definition at line 311 of file oxviewconfig.php.
oxViewConfig::setViewShop | ( | $oShop, | |
$aViewData | |||
) |
Sets shop object and view data to view config. This is needed mostly for old templates
oxshop | $oShop | shop object |
array | $aViewData | view data array |
Definition at line 351 of file oxviewconfig.php.
oxViewConfig::showBirthdayFields | ( | ) |
Returns config param "blShowBirthdayFields" value
Definition at line 793 of file oxviewconfig.php.
oxViewConfig::showFinalStep | ( | ) |
Returns config param "blShowFinalStep" value
Definition at line 805 of file oxviewconfig.php.
oxViewConfig::showSelectLists | ( | ) |
Returns true if selection lists must be displayed in details page
Definition at line 1457 of file oxviewconfig.php.
oxViewConfig::showSelectListsInList | ( | ) |
Returns true if selection lists must be displayed in details page
Definition at line 1467 of file oxviewconfig.php.
oxViewConfig::showTs | ( | $sType | ) |
Returns true if Trusted Shops feature is On
string | $sType | type of element to check |
Definition at line 1236 of file oxviewconfig.php.
|
protected |
Definition at line 30 of file oxviewconfig.php.
|
protected |
Definition at line 53 of file oxviewconfig.php.
|
protected |
Definition at line 23 of file oxviewconfig.php.
|
protected |
Definition at line 44 of file oxviewconfig.php.
|
protected |
Definition at line 16 of file oxviewconfig.php.
|
protected |
Definition at line 60 of file oxviewconfig.php.
|
protected |
|
protected |
Definition at line 67 of file oxviewconfig.php.