List of all members.
Detailed Description
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.
Member Function Documentation
      
        
          | oxViewConfig._getHelpContentIdents | ( |  | ) |  [protected] | 
      
 
Returns help content link idents
- Returns:
- array 
Definition at line 175 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActArticleId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActCatId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActContentLoadId | ( |  | ) |  | 
      
 
Returns active template name (if set)
- Returns:
- string 
Definition at line 106 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)
- Returns:
- string 
Definition at line 1044 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActiveClassName | ( |  | ) |  | 
      
 
Returns name of active view class
- Returns:
- string 
Definition at line 889 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActiveShopId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActiveTheme | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActLanguageAbbr | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActLanguageId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActListType | ( |  | ) |  | 
      
 
Returns active listtype parameter
- Returns:
- string 
Definition at line 272 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActManufacturerId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getActRecommendationId | ( |  | ) |  | 
      
 
Returns active recommendation id parameter
- Returns:
- string 
Definition at line 262 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActSearchParam | ( |  | ) |  | 
      
 
Returns active search parameter
- Returns:
- string 
Definition at line 242 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActSearchTag | ( |  | ) |  | 
      
 
Returns active search tag parameter
- Returns:
- string 
Definition at line 252 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getActTplName | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getAdminDir | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getAjaxLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getArtPerPageCount | ( |  | ) |  | 
      
 
Returns max number of items shown on page
- Returns:
- int 
Definition at line 910 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getArtPerPageForm | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getBaseDir | ( |  | ) |  | 
      
 
Returns shops base directory path
- Returns:
- string 
Definition at line 430 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getBasketLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getBasketTimeLeft | ( |  | ) |  | 
      
 
return the seconds left until basket expiration
- Returns:
- int 
Definition at line 1086 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getContentId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getCoreUtilsDir | ( |  | ) |  | 
      
 
Returns shops utility directory path
- Returns:
- string 
Definition at line 450 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getCountryList | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getCurrentHomeDir | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getExeOrderLink | ( |  | ) |  | 
      
 
Returns shops order execution link
- Returns:
- string 
Definition at line 534 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getFbAppId | ( |  | ) |  | 
      
 
Returns facebook application key value
- Returns:
- string 
Definition at line 1065 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getHelpLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getHelpPageLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getHiddenSid | ( |  | ) |  | 
      
 
Returns forms hidden session parameters
- Returns:
- string 
Definition at line 376 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getHomeLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getImageUrl | ( | $ | sFile = null, | 
        
          |  |  | $ | bSsl = null |  | 
        
          |  | ) |  |  |  | 
      
 
Returns image url
- Parameters:
- 
  
    |  | string | $sFile Image file name |  |  | bool | $bSsl Whether to force SSL |  
 
- Returns:
- string 
Definition at line 611 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getLogoutLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getModulePath | ( | $ | sModule, | 
        
          |  |  | $ | sFile = '' |  | 
        
          |  | ) |  |  |  | 
      
 
return path to the requested module file
- Parameters:
- 
  
    |  | string | $sModule module name (directory name in modules dir) |  |  | string | $sFile file name to lookup |  
 
- Exceptions:
- 
  
  
- Returns:
- string 
Definition at line 1327 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getModuleUrl | ( | $ | sModule, | 
        
          |  |  | $ | sFile = '' |  | 
        
          |  | ) |  |  |  | 
      
 
return url to the requested module file
- Parameters:
- 
  
    |  | string | $sModule module name (directory name in modules dir) |  |  | string | $sFile file name to lookup |  
 
- Exceptions:
- 
  
  
- Returns:
- string 
Definition at line 1357 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getNavFormParams | ( |  | ) |  | 
      
 
Returns navigation forms parameters
- Returns:
- string 
Definition at line 947 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getNavUrlParams | ( |  | ) |  | 
      
 
Returns navigation url parameters
- Returns:
- string 
Definition at line 920 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getNoSslImageDir | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getNrOfCatArticles | ( |  | ) |  | 
      
 
Returns config param "aNrofCatArticles" value
- Returns:
- string 
Definition at line 787 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getOrderConfirmLink | ( |  | ) |  | 
      
 
Returns shops order confirmation link
- Returns:
- string 
Definition at line 548 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
- Returns:
- string 
Definition at line 642 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getPopupIdent | ( |  | ) |  | 
      
 
Returns basket popup identifier
- Returns:
- string 
Definition at line 713 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getPopupIdentRand | ( |  | ) |  | 
      
 
Returns random basket popup identifier
- Returns:
- string 
Definition at line 727 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.
- Returns:
- string 
Definition at line 1031 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getRemoteAddress | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getResourceUrl | ( | $ | sFile = null | ) |  | 
      
 
Returns shops resource url
- Parameters:
- 
  
    |  | string | $sFile resource file name |  
 
- Returns:
- string 
Definition at line 564 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getSelfActionLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getSelfLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getServiceUrl | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getSessionId | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getShopLogo | ( |  | ) |  | 
      
 
Returns shop logo image file name from config option
- Returns:
- string 
Definition at line 1452 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShopVersion | ( |  | ) |  | 
      
 
Returns shop version defined in view
- Returns:
- string 
Definition at line 989 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShowBasketTimeout | ( |  | ) |  | 
      
 
should basket timeout counter be shown?
- Returns:
- bool 
Definition at line 1075 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShowCompareList | ( |  | ) |  | 
      
 
Returns config param "bl_showCompareList" value
- Returns:
- bool 
Definition at line 816 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.
- Returns:
- bool 
Definition at line 1100 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShowGiftWrapping | ( |  | ) |  | 
      
 
Returns config param "bl_showGiftWrapping" value
- Returns:
- bool 
Definition at line 854 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShowListmania | ( |  | ) |  | 
      
 
Returns config param "bl_showListmania" value
- Returns:
- bool 
Definition at line 834 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShowVouchers | ( |  | ) |  | 
      
 
Returns config param "bl_showVouchers" value
- Returns:
- bool 
Definition at line 844 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getShowWishlist | ( |  | ) |  | 
      
 
Returns config param "bl_showWishlist" value
- Returns:
- bool 
Definition at line 806 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getSslSelfLink | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getStockOffDefaultMessage | ( |  | ) |  | 
      
 
Returns config param "blStockOnDefaultMessage" value
- Returns:
- string 
Definition at line 979 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getStockOnDefaultMessage | ( |  | ) |  | 
      
 
Returns config param "blStockOnDefaultMessage" value
- Returns:
- string 
Definition at line 969 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTemplateDir | ( |  | ) |  | 
      
 
Returns shops current (related to language) templates path
- Returns:
- string 
Definition at line 580 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTopActionClassName | ( |  | ) |  | 
      
 
Returns name of a class of top view in the chain (given a generic fnc, e.g. logout)
- Returns:
- string 
Definition at line 1055 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTopActiveClassName | ( |  | ) |  | 
      
 
Returns name of a class of top view in the chain (given a generic fnc, e.g. logout)
- Returns:
- string 
Definition at line 900 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTsDomain | ( |  | ) |  | 
      
 
Returns Trusted shops domain name (includes "http://")
- Returns:
- string 
Definition at line 1118 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTsInfoUrl | ( |  | ) |  | 
      
 
Trusted Shops widget info url
- Deprecated:
- since v4.7.6/5.0.6 (2013-07-09); new Trusted Shops badge added
- Returns:
- string | bool 
Definition at line 1163 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTsRatings | ( |  | ) |  | 
      
 
Gets Trusted shops ratings from Trusted shops
- Returns:
- array 
Definition at line 1186 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getTsRatingUrl | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.getTsWidgetUrl | ( |  | ) |  | 
      
 
Returns Trusted Shops Widget image url
- Deprecated:
- since v4.7.6/5.0.6 (2013-07-09); new Trusted Shops badge added
- Returns:
- string 
Definition at line 1135 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getUrlTemplateDir | ( |  | ) |  | 
      
 
Returns shops current templates url
- Returns:
- string 
Definition at line 594 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getViewConfigParam | ( | $ | sName | ) |  | 
      
 
Returns current view config parameter
- Parameters:
- 
  
    |  | string | $sName name of parameter to get |  
 
- Returns:
- mixed 
Definition at line 323 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.getViewThemeParam | ( | $ | sName | ) |  | 
      
 
 
      
        
          | oxViewConfig.isAltImageServerConfigured | ( |  | ) |  | 
      
 
Checks if alternative image server is configured.
- Returns:
- bool 
Definition at line 1413 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.isBuyableParent | ( |  | ) |  | 
      
 
Returns "blVariantParentBuyable" parent article config state
- Returns:
- string 
Definition at line 755 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.isFunctionalityEnabled | ( | $ | sParamName | ) |  | 
      
 
Get config parameter for view to check if functionality is turned on or off.
- Parameters:
- 
  
    |  | string | $sParamName config parameter name. |  
 
- Returns:
- bool 
Definition at line 1428 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.isMultiShop | ( |  | ) |  | 
      
 
 
      
        
          | oxViewConfig.isTplBlocksDebugMode | ( |  | ) |  | 
      
 
true if blocks javascript code be enabled in templates
- Returns:
- bool 
Definition at line 1278 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.setShopLogo | ( | $ | sLogo | ) |  | 
      
 
Sets shop logo
- Parameters:
- 
  
    |  | string | $sLogo shop logo image file name |  
 
- Returns:
- null 
Definition at line 1475 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.setViewConfigParam | ( | $ | sName, | 
        
          |  |  | $ | sValue |  | 
        
          |  | ) |  |  |  | 
      
 
Sets view config parameter, which can be accessed in templates in two ways:
$oViewConf->getViewConfigParam( $sName )
- Parameters:
- 
  
    |  | string | $sName name of parameter |  |  | mixed | $sValue parameter value |  
 
- Returns:
- mixed 
Definition at line 307 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.setViewShop | ( | $ | oShop, | 
        
          |  |  | $ | aViewData |  | 
        
          |  | ) |  |  |  | 
      
 
Sets shop object and view data to view config. This is needed mostly for old templates
- Parameters:
- 
  
    |  | oxshop | $oShop shop object |  |  | array | $aViewData view data array |  
 
- Returns:
- null 
Definition at line 349 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.showBirthdayFields | ( |  | ) |  | 
      
 
Returns config param "blShowBirthdayFields" value
- Returns:
- string 
Definition at line 765 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.showFinalStep | ( |  | ) |  | 
      
 
Returns config param "blShowFinalStep" value
- Deprecated:
- since 2012-11-19. Option blShowFinalStep is removed
- Returns:
- bool 
Definition at line 777 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.showSelectLists | ( |  | ) |  | 
      
 
Returns true if selection lists must be displayed in details page
- Returns:
- bool 
Definition at line 1391 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.showSelectListsInList | ( |  | ) |  | 
      
 
Returns true if selection lists must be displayed in details page
- Returns:
- bool 
Definition at line 1401 of file oxviewconfig.php.
 
 
      
        
          | oxViewConfig.showTs | ( | $ | sType | ) |  | 
      
 
Returns true if Trusted Shops feature is On
- Parameters:
- 
  
    |  | string | $sType type of element to check |  
 
- Returns:
- bool 
Definition at line 1230 of file oxviewconfig.php.
 
 
Member Data Documentation
      
        
          | oxViewConfig.$_aConfigParams = array()  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_aTrustedShopRatings = null  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_aViewData = null  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_oCountryList = null  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_oShop = null  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_sActiveTheme = null  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_sHelpPageLink = null  [protected] | 
      
 
 
      
        
          | oxViewConfig.$_sShopLogo = null  [protected] | 
      
 
 
The documentation for this class was generated from the following file: