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.
oxViewConfig.__call | ( | $ | sMethodName, | |
$ | sParams | |||
) |
This magic function is used for easier view config parameter handling. It allows to access config parameters by calling:
$oViewConf->_name_of_param_ (deprecated) $oViewConf->getNameOfParam() (preferred)
string | $sMethodName name os method | |
mixed | $sParams method parameters |
Reimplemented from oxSuperCfg.
Definition at line 275 of file oxviewconfig.php.
oxViewConfig.__get | ( | $ | sVarName | ) |
Returns view config variable value if possible
string | $sVarName name of variable to return |
Definition at line 919 of file oxviewconfig.php.
oxViewConfig.getActCatId | ( | ) |
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 1115 of file oxviewconfig.php.
oxViewConfig.getActiveClassName | ( | ) |
oxViewConfig.getActiveShopId | ( | ) |
oxViewConfig.getActLanguageId | ( | ) |
oxViewConfig.getActManufacturerId | ( | ) |
oxViewConfig.getActTplName | ( | ) |
Returns active template name (if set)
Definition at line 79 of file oxviewconfig.php.
oxViewConfig.getAdminDir | ( | ) |
oxViewConfig.getAjaxLink | ( | ) |
oxViewConfig.getArtPerPageCount | ( | ) |
Returns max number of items shown on page
Definition at line 797 of file oxviewconfig.php.
oxViewConfig.getArtPerPageForm | ( | ) |
oxViewConfig.getBaseDir | ( | ) |
oxViewConfig.getBasketLink | ( | ) |
oxViewConfig.getBasketTimeLeft | ( | ) |
return the seconds left until basket expiration
Definition at line 1146 of file oxviewconfig.php.
oxViewConfig.getCoreUtilsDir | ( | ) |
Returns shops utility directory path
Definition at line 366 of file oxviewconfig.php.
oxViewConfig.getCurrentHomeDir | ( | ) |
oxViewConfig.getExeOrderLink | ( | ) |
oxViewConfig.getFbAppId | ( | ) |
Returns facebook application key value
Definition at line 1125 of file oxviewconfig.php.
oxViewConfig.getHelpLink | ( | ) |
oxViewConfig.getHelpPageLink | ( | ) |
oxViewConfig.getHiddenSid | ( | ) |
Returns forms hidden session parameters
Definition at line 303 of file oxviewconfig.php.
oxViewConfig.getHomeLink | ( | ) |
oxViewConfig.getImageUrl | ( | ) |
oxViewConfig.getLogoutLink | ( | ) |
oxViewConfig.getNavFormParams | ( | ) |
oxViewConfig.getNavUrlParams | ( | ) |
oxViewConfig.getNoSslImageDir | ( | ) |
oxViewConfig.getNrOfCatArticles | ( | ) |
Returns config param "aNrofCatArticles" value
Definition at line 692 of file oxviewconfig.php.
oxViewConfig.getOrderConfirmLink | ( | ) |
Returns shops order confirmation link
Definition at line 464 of file oxviewconfig.php.
oxViewConfig.getOrderLink | ( | ) |
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 549 of file oxviewconfig.php.
oxViewConfig.getPopupIdent | ( | ) |
oxViewConfig.getPopupIdentRand | ( | ) |
Returns random basket popup identifier
Definition at line 634 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 1101 of file oxviewconfig.php.
oxViewConfig.getRemoteAddress | ( | ) |
oxViewConfig.getResourceUrl | ( | ) |
oxViewConfig.getSelfActionLink | ( | ) |
oxViewConfig.getSelfLink | ( | ) |
oxViewConfig.getServiceUrl | ( | ) |
oxViewConfig.getSessionId | ( | ) |
oxViewConfig.getShopVersion | ( | ) |
Returns shop version defined in view
Definition at line 876 of file oxviewconfig.php.
oxViewConfig.getShowBasketTimeout | ( | ) |
should basket timeout counter be shown?
Definition at line 1135 of file oxviewconfig.php.
oxViewConfig.getShowCompareList | ( | ) |
Returns config param "bl_showCompareList" value
Definition at line 712 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 1160 of file oxviewconfig.php.
oxViewConfig.getShowGiftWrapping | ( | ) |
Returns config param "bl_showGiftWrapping" value
Definition at line 752 of file oxviewconfig.php.
oxViewConfig.getShowListmania | ( | ) |
Returns config param "bl_showListmania" value
Definition at line 722 of file oxviewconfig.php.
oxViewConfig.getShowOpenIdLogin | ( | ) |
Returns config param "bl_showOpenId" value
Definition at line 732 of file oxviewconfig.php.
oxViewConfig.getShowVouchers | ( | ) |
Returns config param "bl_showVouchers" value
Definition at line 742 of file oxviewconfig.php.
oxViewConfig.getShowWishlist | ( | ) |
Returns config param "bl_showWishlist" value
Definition at line 702 of file oxviewconfig.php.
oxViewConfig.getSslSelfLink | ( | ) |
oxViewConfig.getStockOffDefaultMessage | ( | ) |
Returns config param "blStockOnDefaultMessage" value
Definition at line 866 of file oxviewconfig.php.
oxViewConfig.getStockOnDefaultMessage | ( | ) |
Returns config param "blStockOnDefaultMessage" value
Definition at line 856 of file oxviewconfig.php.
oxViewConfig.getTemplateDir | ( | ) |
Returns shops current (related to language) templates path
Definition at line 492 of file oxviewconfig.php.
oxViewConfig.getTsDomain | ( | ) |
Returns Trusted shops domain name (includes "http://")
Definition at line 1178 of file oxviewconfig.php.
oxViewConfig.getTsId | ( | ) |
oxViewConfig.getTsInfoUrl | ( | ) |
Trusted Shops widget info url
Definition at line 1219 of file oxviewconfig.php.
oxViewConfig.getTsRatingUrl | ( | ) |
oxViewConfig.getTsWidgetUrl | ( | ) |
Returns Trusted Shops Widget image url
Definition at line 1193 of file oxviewconfig.php.
oxViewConfig.getTypeLinkParams | ( | ) |
Returns parameters which should be appended to url
Definition at line 171 of file oxviewconfig.php.
oxViewConfig.getTypeParams | ( | ) |
Returns parameters which should be appended to form
Definition at line 191 of file oxviewconfig.php.
oxViewConfig.getUrlTemplateDir | ( | ) |
oxViewConfig.getViewConfigParam | ( | $ | sName | ) |
Returns current view config parameter
string | $sName name of parameter to get |
Definition at line 231 of file oxviewconfig.php.
oxViewConfig.getViewVar | ( | $ | sVarName | ) |
Returns view config variable value if possible
string | $sVarName name of variable to return |
Definition at line 931 of file oxviewconfig.php.
oxViewConfig.isAutoSearchOnCat | ( | ) |
Returns config param "blAutoSearchOnCat" value
Definition at line 762 of file oxviewconfig.php.
oxViewConfig.isBuyableParent | ( | ) |
Returns "blVariantParentBuyable" parent article config state
Definition at line 662 of file oxviewconfig.php.
oxViewConfig.isMultiShop | ( | ) |
oxViewConfig.isSsl | ( | ) |
oxViewConfig.setViewConfigParam | ( | $ | sName, | |
$ | sValue | |||
) |
Sets view config parameter, which can be accessed in templates in two ways:
$oViewConf->__name_of_parameter__ (deprecated) $oViewConf->getNameOfParameter()
string | $sName name of parameter | |
mixed | $sValue parameter value |
Definition at line 215 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 257 of file oxviewconfig.php.
oxViewConfig.showBirthdayFields | ( | ) |
Returns config param "blShowBirthdayFields" value
Definition at line 672 of file oxviewconfig.php.
oxViewConfig.showFinalStep | ( | ) |
Returns config param "blShowFinalStep" value
Definition at line 682 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 1267 of file oxviewconfig.php.
oxViewConfig.$_aConfigParams = array() [protected] |
Definition at line 29 of file oxviewconfig.php.
oxViewConfig.$_aViewData = null [protected] |
Definition at line 22 of file oxviewconfig.php.
oxViewConfig.$_oShop = null [protected] |
Definition at line 15 of file oxviewconfig.php.
oxViewConfig.$_sHelpPageLink = null [protected] |