OXID eShop CE  4.10.4
 All Classes Namespaces Files Functions Variables Pages
oxUBase Class Reference
+ Inheritance diagram for oxUBase:
+ Collaboration diagram for oxUBase:

Public Member Functions

 init ()
 getViewId ()
 showSorting ()
 setComponents ($aComponents=null)
 getComponents ()
 getComponent ($sName)
 setIsOrderStep ($blIsOrderStep=null)
 getIsOrderStep ()
 setActiveCategory ($oCategory)
 getActiveCategory ()
 getListType ()
 getListDisplayType ()
 getCustomListDisplayType ()
 setListType ($sType)
 loadCurrency ()
 dontShowEmptyCategories ()
 showCategoryArticlesCount ()
 isLanguageLoaded ()
 getTopNavigationCatCnt ()
 addRssFeed ($sTitle, $sUrl, $key=null)
 getSortOrderByParameterName ()
 getSortOrderParameterName ()
 getSortIdent ()
 getDefaultSorting ()
 getUserSelectedSorting ()
 getSavedSorting ($sSortIdent)
 setListOrderBy ($sColumn)
 setListOrderDirection ($sDirection)
 getListOrderBy ()
 getListOrderDirection ()
 setMetaDescription ($sDescription)
 setMetaKeywords ($sKeywords)
 getMetaKeywords ()
 getMetaDescription ()
 getActCurrency ()
 setActCurrency ($oCur)
 getCompareItemCount ()
 noIndex ()
 getMenueList ()
 setMenueList ($aMenu)
 getNavigationParams ()
 setItemSorting ($sSortIdent, $sSortBy, $sSortDir=null)
 getSorting ($sSortIdent)
 getSortingSql ($sIdent)
 getTitleSuffix ()
 getTitlePageSuffix ()
 getTitlePrefix ()
 getPageTitle ()
 getDynUrlParams ()
 getBaseLink ($iLang=null)
 getLink ($iLang=null)
 getCanonicalUrl ()
 getSimilarRecommListIds ()
 getSearchParamForHtml ()
 showSearch ()
 getRssLinks ()
 getSortColumns ()
 setSortColumns ($aSortColumns)
 getEditTags ()
 getRecommSearch ()
 getPaymentList ()
 getActiveRecommList ()
 getAccessoires ()
 getCrossSelling ()
 getSimilarProducts ()
 getAlsoBoughtTheseProducts ()
 getArticleId ()
 getTitle ()
 getActiveLangAbbr ()
 addGlobalParams ($oShop=null)
 getAdditionalParams ()
 generatePageNavigationUrl ()
 getPageNavigation ()
 getPageNavigationLimitedTop ($iPositionCount=7)
 getPageNavigationLimitedBottom ($iPositionCount=11)
 generatePageNavigation ($iPositionCount=0)
 render ()
 getViewProduct ()
 setViewProduct ($oProduct)
 getViewProductList ()
 getActPage ()
 getActTag ()
 getActVendor ()
 getActManufacturer ()
 setActVendor ($oVendor)
 setActManufacturer ($oManufacturer)
 getActSearch ()
 getCategoryTree ()
 setCategoryTree ($oCatTree)
 getManufacturerTree ()
 setManufacturerTree ($oManufacturerTree)
 getAddUrlParams ()
 getTop5ArticleList ($iCount=null)
 getBargainArticleList ()
 isLowOrderPrice ()
 getMinOrderPrice ()
 getNewsRealStatus ()
 getProduct ()
 getManufacturerlist ()
 setManufacturerlist ($aList)
 setRootVendor ($oVendor)
 getRootVendor ()
 setRootManufacturer ($oManufacturer)
 getRootManufacturer ()
 getVendorId ()
 getManufacturerId ()
 getCatMoreUrl ()
 getCatTreePath ()
 getContentByIdent ($sIdent)
 getContentCategory ()
 getMustFillFields ()
 isFieldRequired ($sField)
 getFormId ()
 canAcceptFormData ()
 getPromoFinishedList ()
 getPromoCurrentList ()
 getPromoFutureList ()
 getShowPromotionList ()
 isEnabledPrivateSales ()
 getFieldValidationErrors ()
 getBreadCrumb ()
 setRootCatChanged ($blRootCatChanged)
 isRootCatChanged ()
 getInvoiceAddress ()
 getDeliveryAddress ()
 setDeliveryAddress ($aDeliveryAddress)
 setInvoiceAddress ($aAddress)
 getActiveUsername ()
 getWishlistUserId ()
 getSearchCatId ()
 getSearchVendor ()
 getSearchManufacturer ()
 getLastProducts ()
 getNewBasketItemMsgType ()
 isActive ($sName)
 isFbWidgetVisible ()
 isEnabledDownloadableFiles ()
 showRememberMe ()
 isVatIncluded ()
 isPriceCalculated ()
 showTags ()
 getWishlistName ()
 getWidgetLink ()
- Public Member Functions inherited from oxView
 setViewParameters ($aParams=null)
 getViewParameter ($sKey)
 setIsCallForCache ($blIsCallForCache=null)
 getIsCallForCache ()
 addTplParam ($sPara, $sValue)
 getBelboonParam ()
 getViewConfig ()
 getTemplateName ()
 setTemplateName ($sTemplate)
 setClassName ($sClassName)
 getClassName ()
 setFncName ($sFncName)
 getFncName ()
 setViewData ($aViewData=null)
 getViewData ()
 getViewDataElement ($sParamId=null)
 setClassLocation ($sClassLocation=null)
 getClassLocation ()
 setThisAction ($sThisAction=null)
 getThisAction ()
 setParent ($oParent=null)
 getParent ()
 setIsComponent ($blIsComponent=null)
 getIsComponent ()
 executeFunction ($sFunction)
 getTrustedShopId ()
 getTSExcellenceId ()
 getCharSet ()
 getShopVersion ()
 getShopEdition ()
 getRevision ()
 getPackageInfo ()
 getShopFullEdition ()
 isDemoVersion ()
 isBetaVersion ()
 isRCVersion ()
 showBetaNote ()
 isDemoShop ()
 showNewsletter ()
 setShowNewsletter ($blShow)
 getShopLogo ()
 setShopLogo ($sLogo)
 getActCategory ()
 setActCategory ($oCategory)
 getCategoryId ()
 setCategoryId ($sCategoryId)
 getErrorDestination ()
 getActionClassName ()
 isConnectedWithFb ()
 getFbUserId ()
 showFbConnectToAccountMsg ()
 isMall ()
 showRdfa ()
 getSidForWidget ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _getComponentNames ()
 _processRequest ()
 _getMetaFromSeo ($sDataType)
 _getMetaFromContent ($sMetaIdent)
 _forceNoIndex ()
 _setNrOfArtPerPage ()
 _getSeoObjectId ()
 _prepareMetaDescription ($sMeta, $iLength=1024, $blRemoveDuplicatedWords=false)
 _prepareMetaKeyword ($sKeywords, $blRemoveDuplicatedWords=true)
 _removeDuplicatedWords ($aInput, $aSkipTags=array())
 _getSubject ($iLang)
 _getRequestParams ($blAddPageNr=true)
 _getSeoRequestParams ()
 _addPageNrParam ($sUrl, $iPage, $iLang=null)
 _canRedirect ()
- Protected Member Functions inherited from oxView
 _executeNewAction ($sNewAction)

Protected Attributes

 $_blFbWidgetsOn = null
 $_sRemoveMetaChars = '.\+*?[^]$(){}=!<>|:&'
 $_oaComponents = array()
 $_blIsOrderStep = false
 $_sListType = null
 $_aListDisplayTypes = array('grid', 'line', 'infogrid')
 $_sListDisplayType = null
 $_sCustomListDisplayType = null
 $_oActCategory = null
 $_oActManufacturer = null
 $_oActVendor = null
 $_oActiveRecommList = null
 $_oActSearch = null
 $_blShowSorting = false
 $_blLoadCurrency = null
 $_blLoadManufacturerTree = null
 $_blDontShowEmptyCats = null
 $_blLoadLanguage = null
 $_iTopCatNavItmCnt = null
 $_aRssLinks = null
 $_sListOrderBy = null
 $_sListOrderDir = null
 $_sMetaDescription = null
 $_sMetaKeywords = null
 $_sMetaDescriptionIdent = null
 $_sMetaKeywordsIdent = null
 $_sAdditionalParams = null
 $_oActCurrency = null
 $_blEnabledPrivateSales = null
 $_blCommonAdded = false
 $_iViewIndexState = VIEW_INDEXSTATE_INDEX
 $_blForceNoIndex = false
 $_iCompItemsCnt = null
 $_sContentId = null
 $_oContent = null
 $_sViewResetID = null
 $_aMenueList = null
 $_aComponentNames
 $_aUserComponentNames = array()
 $_oProduct = null
 $_iActPage = null
 $_aArticleList = null
 $_oManufacturerTree = null
 $_oCategoryTree = null
 $_aTop5ArticleList = null
 $_aBargainArticleList = null
 $_blLowOrderPrice = null
 $_sMinOrderPrice = null
 $_iNewsRealStatus = null
 $_aBlockRedirectParams = array('fnc', 'stoken', 'force_sid', 'force_admin_sid')
 $_oRootVendor = null
 $_sVendorId = null
 $_aManufacturerlist = null
 $_oRootManufacturer = null
 $_sManufacturerId = null
 $_blNewsSubscribed = null
 $_oDelAddress = null
 $_sCatTreePath = null
 $_aContents = array()
 $_blTop5Action = false
 $_blBargainAction = false
 $_aMustFillFields = null
 $_blShowTagCloud = true
 $_blRootCatChanged = false
 $_aInvoiceAddress = null
 $_aDeliveryAddress = null
 $_sActiveUsername = null
 $_blLoadComponents = true
 $_aSortColumns = null
- Protected Attributes inherited from oxView
 $_aViewData = array()
 $_sClassLocation = null
 $_sThisAction = null
 $_oParent = null
 $_blIsComponent = false
 $_sThisTemplate = null
 $_sViewId = null
 $_sClass = null
 $_sFnc = null
 $_sTrustedShopId = null
 $_sTSExcellenceId = null
 $_sCharSet = null
 $_sVersion = null
 $_blDemoVersion = null
 $_blDemoShop = null
 $_iNewsStatus = null
 $_sShopLogo = null
 $_sCategoryId = null
 $_oClickCat = null
 $_blIsCallForCache = false
 $_oViewConf = null

Static Protected Attributes

static $_aCollectedComponentNames = null
- Static Protected Attributes inherited from oxView
static $_blExecuted = false
- Static Protected Attributes inherited from oxSuperCfg
static $_oConfig = null
static $_oSession = null
static $_oRights = null
static $_oActUser = null
static $_blIsAdmin = null

Detailed Description

Base view class. Class is responsible for managing of components that must be loaded and executed before any regular operation.

Definition at line 17 of file oxubase.php.

Member Function Documentation

oxUBase::_addPageNrParam (   $sUrl,
  $iPage,
  $iLang = null 
)
protected

Adds page number parameter to url and returns modified url, if page number 0 drops from url

Parameters
string$sUrlurl to add page number
int$iPageactive page number
int$iLanglanguage id
Returns
string

Reimplemented in aList, RecommList, ManufacturerList, Tag, and VendorList.

Definition at line 2076 of file oxubase.php.

oxUBase::_canRedirect ( )
protected

Checks if current request parameters does not block SEO redirection process

Returns
bool

Reimplemented in Search.

Definition at line 2534 of file oxubase.php.

oxUBase::_forceNoIndex ( )
protected

Forces output no index meta data for current view

Definition at line 1210 of file oxubase.php.

oxUBase::_getComponentNames ( )
protected

Returns component names

Returns
array

Definition at line 541 of file oxubase.php.

oxUBase::_getMetaFromContent (   $sMetaIdent)
protected

Fetches meta data (description or keywords) from content table

Parameters
string$sMetaIdentmeta content ident
Returns
string

Definition at line 1114 of file oxubase.php.

oxUBase::_getMetaFromSeo (   $sDataType)
protected

Fetches meta data (description or keywords) from seo table

Parameters
string$sDataTypedata type "oxkeywords" or "oxdescription"
Returns
string

Definition at line 1094 of file oxubase.php.

oxUBase::_getRequestParams (   $blAddPageNr = true)
protected

collects _GET parameters used by eShop and returns uri

Parameters
bool$blAddPageNrif TRUE - page number will be added
Returns
string

Definition at line 1705 of file oxubase.php.

oxUBase::_getSeoObjectId ( )
protected

Override this function to return object it which is used to identify its seo meta info

Reimplemented in Details, aList, Content, ManufacturerList, VendorList, Tag, and Credits.

Definition at line 1313 of file oxubase.php.

oxUBase::_getSeoRequestParams ( )
protected

collects _GET parameters used by eShop SEO and returns uri

Returns
string

Definition at line 1790 of file oxubase.php.

oxUBase::_getSubject (   $iLang)
protected

returns object, associated with current view. (the object that is shown in frontend)

Parameters
int$iLanglanguage id
Returns
object

Reimplemented in Details, oxwArticleDetails, aList, ManufacturerList, VendorList, and Content.

Definition at line 1576 of file oxubase.php.

oxUBase::_prepareMetaDescription (   $sMeta,
  $iLength = 1024,
  $blRemoveDuplicatedWords = false 
)
protected

Returns current view meta description data

Parameters
string$sMetacategory path
int$iLengthmax length of result, -1 for no truncation
bool$blRemoveDuplicatedWordsif true - performs additional duplicate cleaning
Returns
string $sString converted string

Reimplemented in aList, ManufacturerList, VendorList, Details, Tag, Content, and Start.

Definition at line 1326 of file oxubase.php.

oxUBase::_prepareMetaKeyword (   $sKeywords,
  $blRemoveDuplicatedWords = true 
)
protected

Returns current view keywords separated by comma

Parameters
string$sKeywordsdata to use as keywords
bool$blRemoveDuplicatedWordsif true - performs additional duplicate cleaning
Returns
string of keywords separated by comma

Reimplemented in aList, Details, ManufacturerList, VendorList, Tag, Content, and Start.

Definition at line 1373 of file oxubase.php.

oxUBase::_processRequest ( )
protected

In non admin mode checks if request was NOT processed by seo handler. If NOT, then tries to load alternative SEO url and if url is available - redirects to it. If no alternative path was found - 404 header is emitted and page is rendered

Reimplemented in oxWidget.

Definition at line 569 of file oxubase.php.

oxUBase::_removeDuplicatedWords (   $aInput,
  $aSkipTags = array() 
)
protected

Removes duplicated words (not case sensitive)

Parameters
mixed$aInputarray of string or string
array$aSkipTagsin admin defined strings
Returns
string of words separated by comma

Definition at line 1393 of file oxubase.php.

oxUBase::_setNrOfArtPerPage ( )
protected

Sets number of articles per page to config value

Definition at line 1262 of file oxubase.php.

oxUBase::addGlobalParams (   $oShop = null)

Sets and caches default parameters for shop object and returns it.

Parameters
oxShop$oShopcurrent shop object
Returns
object $oShop current shop object

Reimplemented from oxView.

Definition at line 2006 of file oxubase.php.

oxUBase::addRssFeed (   $sTitle,
  $sUrl,
  $key = null 
)

addRssFeed adds link to rss

Parameters
string$sTitlefeed page title
string$sUrlfeed url
int$keyfeed number

Definition at line 918 of file oxubase.php.

oxUBase::canAcceptFormData ( )

Checks if session session form id matches with form id

Returns
bool

Definition at line 2751 of file oxubase.php.

oxUBase::dontShowEmptyCategories ( )

Returns true if empty categories are not loaded

Returns
bool

Definition at line 857 of file oxubase.php.

oxUBase::generatePageNavigation (   $iPositionCount = 0)

Generates variables for page navigation

Parameters
int$iPositionCount- paging positions count ( 0 - unlimited )
Returns
stdClass $pageNavigation Object with page navigation data

Definition at line 2138 of file oxubase.php.

oxUBase::generatePageNavigationUrl ( )

Generates URL for page navigation

Returns
string $sUrl String with working page url.

Reimplemented in aList, RecommList, ManufacturerList, VendorList, and Tag.

Definition at line 2062 of file oxubase.php.

oxUBase::getAccessoires ( )

Template variable getter. Returns accessoires of article

Reimplemented in Details, and oxwArticleDetails.

Definition at line 1924 of file oxubase.php.

oxUBase::getActCurrency ( )

Get active currency

Returns
object

Definition at line 1177 of file oxubase.php.

oxUBase::getActiveCategory ( )

Returns active category

Returns
null

Reimplemented in aList, Search, ManufacturerList, VendorList, and oxwArticleBox.

Definition at line 757 of file oxubase.php.

oxUBase::getActiveLangAbbr ( )

Returns active lang suffix usally it used in html lang attr to allow the browser to interpret the page in the right language e.g. to support hyphons

Returns
string

Definition at line 1976 of file oxubase.php.

oxUBase::getActiveRecommList ( )

Template variable getter. Returns active recommendation lists

Deprecated:
since v5.3 (2016-06-17); Listmania will be moved to an own module.
Returns
oxRecommList

Reimplemented in Review, and Account_Recommlist.

Definition at line 1908 of file oxubase.php.

oxUBase::getActiveUsername ( )

Template variable getter. Returns logged in user name

Returns
string

Definition at line 2955 of file oxubase.php.

oxUBase::getActManufacturer ( )

Returns active Manufacturer set by categories component; if Manufacturer is not set by component - will create Manufacturer object and will try to load by id passed by request

Returns
oxManufacturer

Definition at line 2332 of file oxubase.php.

oxUBase::getActPage ( )

Active page getter

Returns
int

Reimplemented in aList.

Definition at line 2262 of file oxubase.php.

oxUBase::getActSearch ( )

Returns fake object which is used to mount navigation info

Returns
stdClass

Definition at line 2375 of file oxubase.php.

oxUBase::getActTag ( )

Active tag info object getter. Object properties:

  • sTag current tag
  • link link leading to tag article list
Deprecated:
v5.3 (2016-05-04); Tags will be moved to own module.
Returns
stdClass

Definition at line 2281 of file oxubase.php.

oxUBase::getActVendor ( )

Returns active vendor set by categories component; if vendor is not set by component - will create vendor object and will try to load by id passed by request

Returns
oxVendor

Definition at line 2307 of file oxubase.php.

oxUBase::getAdditionalParams ( )

Template variable getter. Returns additional params for url

Returns
string

Reimplemented from oxView.

Reimplemented in RecommList, and Review.

Definition at line 2020 of file oxubase.php.

oxUBase::getAddUrlParams ( )

Returns additional URL parameters which must be added to list products urls

Reimplemented in ManufacturerList, VendorList, aList, Search, RecommList, and Tag.

Definition at line 2429 of file oxubase.php.

oxUBase::getAlsoBoughtTheseProducts ( )

Template variable getter. Returns list of customer also bought thies products

Reimplemented in Details, oxwArticleDetails, and Thankyou.

Definition at line 1945 of file oxubase.php.

oxUBase::getArticleId ( )

Return the active article id

Reimplemented in Account, and oxwReview.

Definition at line 1952 of file oxubase.php.

oxUBase::getBargainArticleList ( )

Template variable getter. Returns bargain article list Parameter oxUBase::$_blBargainAction must be set to true.

Returns
array

Reimplemented in aList.

Definition at line 2467 of file oxubase.php.

oxUBase::getBaseLink (   $iLang = null)

Get base link of current view

Parameters
int$iLangrequested language
Returns
string

Definition at line 1631 of file oxubase.php.

oxUBase::getCanonicalUrl ( )

Returns view object canonical url

Reimplemented in Details, aList, Start, and Tag.

Definition at line 1673 of file oxubase.php.

oxUBase::getCategoryTree ( )

Returns category tree (if it is loaded)

Returns
oxCategoryList

Definition at line 2391 of file oxubase.php.

oxUBase::getCatMoreUrl ( )

Template variable getter. Returns more category

Returns
object

Definition at line 2651 of file oxubase.php.

oxUBase::getCatTreePath ( )

Template variable getter. Returns category path

Returns
string

Reimplemented in aList, ManufacturerList, and VendorList.

Definition at line 2661 of file oxubase.php.

oxUBase::getCompareItemCount ( )

Template variable getter. Returns comparison article list count.

Returns
integer

Definition at line 1197 of file oxubase.php.

oxUBase::getComponent (   $sName)

Get component object

Parameters
string$sNamename of component object
Returns
object

Definition at line 714 of file oxubase.php.

oxUBase::getComponents ( )

Get array of component objects

Returns
array

Definition at line 702 of file oxubase.php.

oxUBase::getContentByIdent (   $sIdent)

Loads and returns oxContent object requested by its ident

Parameters
string$sIdentcontent identifier
Returns
oxContent

Definition at line 2673 of file oxubase.php.

oxUBase::getContentCategory ( )

Default content category getter, returns FALSE by default

Returns
bool

Reimplemented in Content.

Definition at line 2688 of file oxubase.php.

oxUBase::getCrossSelling ( )

Template variable getter. Returns crosssellings

Reimplemented in Details, oxwArticleDetails, and Suggest.

Definition at line 1931 of file oxubase.php.

oxUBase::getCustomListDisplayType ( )

Returns changed default list type

Returns
string

Definition at line 811 of file oxubase.php.

oxUBase::getDefaultSorting ( )

Returns default category sorting for selected category

Returns
null

Reimplemented in Details, oxwArticleDetails, aList, and GuestBook.

Definition at line 969 of file oxubase.php.

oxUBase::getDeliveryAddress ( )

Template variable getter. Returns user delivery address

Returns
array

Definition at line 2917 of file oxubase.php.

oxUBase::getDynUrlParams ( )

returns additional url params for dynamic url building

Returns
string

Reimplemented in Review.

Definition at line 1586 of file oxubase.php.

oxUBase::getEditTags ( )

Returns if tags will be edit

Deprecated:
v5.3 (2016-05-04); Tags will be moved to own module.

Reimplemented in Details.

Definition at line 1881 of file oxubase.php.

oxUBase::getFieldValidationErrors ( )

Returns input field validation error array (if available)

Returns
array

Definition at line 2860 of file oxubase.php.

oxUBase::getFormId ( )

Form id getter. This id used to prevent double guestbook, review entry submit

Returns
string

Definition at line 2736 of file oxubase.php.

oxUBase::getInvoiceAddress ( )

Template variable getter. Returns user address

Returns
array

Definition at line 2900 of file oxubase.php.

oxUBase::getIsOrderStep ( )

Get flag if current view is an order view

Returns
bool

Definition at line 736 of file oxubase.php.

oxUBase::getLastProducts ( )

Template variable getter. Returns last seen products

Definition at line 3004 of file oxubase.php.

oxUBase::getLink (   $iLang = null)

Get link of current view. In url its include also page number if it is list page

Parameters
int$iLangrequested language
Returns
string

Reimplemented in RecommList, Suggest, and oxwArticleBox.

Definition at line 1665 of file oxubase.php.

oxUBase::getListDisplayType ( )

Returns list type

Returns
string

Definition at line 785 of file oxubase.php.

oxUBase::getListOrderBy ( )

Template variable getter. Returns string after the list is ordered by

Returns
array

Definition at line 1041 of file oxubase.php.

oxUBase::getListOrderDirection ( )

Template variable getter. Returns list order direction

Returns
array

Definition at line 1058 of file oxubase.php.

oxUBase::getListType ( )

Get list type

Returns
string list type

Reimplemented in Account.

Definition at line 767 of file oxubase.php.

oxUBase::getManufacturerId ( )

Template variable getter. Returns Manufacturer id

Returns
string

Definition at line 2634 of file oxubase.php.

oxUBase::getManufacturerlist ( )

Template variable getter. Returns Manufacturer list for search

Returns
array

Definition at line 2557 of file oxubase.php.

oxUBase::getManufacturerTree ( )

Returns Manufacturer tree (if it is loaded0

Returns
oxManufacturerList

Definition at line 2411 of file oxubase.php.

oxUBase::getMenueList ( )

Template variable getter. Returns header menu list

Returns
array

Definition at line 1244 of file oxubase.php.

oxUBase::getMetaDescription ( )

Template variable getter. Returns meta description

Returns
string

Reimplemented in Details, and aList.

Definition at line 1154 of file oxubase.php.

oxUBase::getMetaKeywords ( )

Template variable getter. Returns meta keywords

Returns
string

Definition at line 1131 of file oxubase.php.

oxUBase::getMinOrderPrice ( )

Template variable getter. Returns formatted min order price value

Deprecated:
in v4.8/5.1 on 2013-10-14; use oxBasket method
Returns
string

Definition at line 2509 of file oxubase.php.

oxUBase::getMustFillFields ( )

Returns array of fields which must be filled during registration

Returns
array | bool

Definition at line 2698 of file oxubase.php.

oxUBase::getNavigationParams ( )

Returns array of params => values which are used in hidden forms and as additional url params. NOTICE: this method SHOULD return raw (non encoded into entities) parameters, because values are processed by htmlentities() to avoid security and broken templates problems

Returns
array

Reimplemented in RecommList, Details, Account, Account_Recommlist, and Account_Noticelist.

Definition at line 1431 of file oxubase.php.

oxUBase::getNewBasketItemMsgType ( )

Returns added basket item notification message type

Returns
int

Definition at line 3014 of file oxubase.php.

oxUBase::getNewsRealStatus ( )

Template variable getter. Returns if newsletter is really active (for user.tpl)

Returns
integer

Definition at line 2524 of file oxubase.php.

oxUBase::getPageNavigation ( )

Template variable getter. Returns page navigation

Reimplemented in aList, Review, Search, Compare, Account_Recommlist, GuestBook, Account_Order, and News.

Definition at line 2097 of file oxubase.php.

oxUBase::getPageNavigationLimitedBottom (   $iPositionCount = 11)

Template variable getter. Returns page navigation with default 11 positions

Parameters
int$iPositionCount- paging positions count ( 0 - unlimited )
Returns
object

Definition at line 2123 of file oxubase.php.

oxUBase::getPageNavigationLimitedTop (   $iPositionCount = 7)

Template variable getter. Returns page navigation with default 7 positions

Parameters
int$iPositionCount- paging positions count ( 0 - unlimited )
Returns
object

Definition at line 2109 of file oxubase.php.

oxUBase::getPageTitle ( )

Returns full page title

Returns
string

Definition at line 1547 of file oxubase.php.

oxUBase::getPaymentList ( )

Template variable getter. Returns payment id

Reimplemented in Payment.

Definition at line 1897 of file oxubase.php.

oxUBase::getProduct ( )

Empty active product getter

Reimplemented in oxwArticleDetails, Details, Suggest, Pricealarm, MoreDetails, and oxwArticleBox.

Definition at line 2548 of file oxubase.php.

oxUBase::getPromoCurrentList ( )

return current promotion list

Returns
oxActionList

Definition at line 2792 of file oxubase.php.

oxUBase::getPromoFinishedList ( )

return last finished promotion list

Returns
oxActionList

Definition at line 2776 of file oxubase.php.

oxUBase::getPromoFutureList ( )

return future promotion list

Returns
oxActionList

Definition at line 2808 of file oxubase.php.

oxUBase::getRecommSearch ( )

Template variable getter. Returns search string

Deprecated:
since v5.3 (2016-06-17); Listmania will be moved to an own module.

Reimplemented in RecommList.

Definition at line 1890 of file oxubase.php.

oxUBase::getRootManufacturer ( )

Template variable getter. Returns root Manufacturer

Returns
object

Definition at line 2607 of file oxubase.php.

oxUBase::getRootVendor ( )

Template variable getter. Returns root vendor

Returns
object

Definition at line 2587 of file oxubase.php.

oxUBase::getRssLinks ( )

Returns RSS links

Returns
array

Definition at line 1846 of file oxubase.php.

oxUBase::getSavedSorting (   $sSortIdent)

Returns sorting variable from session

Parameters
string$sSortIdentsorting indent
Returns
array

Definition at line 1008 of file oxubase.php.

oxUBase::getSearchCatId ( )

Template variable getter. Returns searched category id

Reimplemented in Search.

Definition at line 2983 of file oxubase.php.

oxUBase::getSearchManufacturer ( )

Template variable getter. Returns searched Manufacturer id

Reimplemented in Search.

Definition at line 2997 of file oxubase.php.

oxUBase::getSearchParamForHtml ( )

Template variable getter. Returns search parameter for Html So far this method is implemented in search (search.php) view.

Reimplemented in Details, Search, and Account.

Definition at line 1694 of file oxubase.php.

oxUBase::getSearchVendor ( )

Template variable getter. Returns searched vendor id

Reimplemented in Search.

Definition at line 2990 of file oxubase.php.

oxUBase::getShowPromotionList ( )

should promotions list be shown?

Returns
bool

Definition at line 2824 of file oxubase.php.

oxUBase::getSimilarProducts ( )

Template variable getter. Returns similar article list

Reimplemented in Details, oxwArticleDetails, Suggest, and Account_Noticelist.

Definition at line 1938 of file oxubase.php.

oxUBase::getSimilarRecommListIds ( )

Return array of id to form recommend list. Should be overridden if need.

Deprecated:
since v5.3 (2016-06-17); Listmania will be moved to an own module.
Returns
array

Reimplemented in Details, aList, oxwArticleDetails, Search, Compare, Account_Wishlist, Basket, and Account_Noticelist.

Definition at line 1685 of file oxubase.php.

oxUBase::getSortColumns ( )

Template variable getter. Returns sorting columns

Returns
array

Reimplemented in GuestBook.

Definition at line 1856 of file oxubase.php.

oxUBase::getSortIdent ( )

Returns page sort ident. It is used as ident in session variable aSorting[ident]

Returns
string

Reimplemented in GuestBook.

Definition at line 959 of file oxubase.php.

oxUBase::getSorting (   $sSortIdent)

Returns sorting config for current item

Parameters
string$sSortIdentsortable item id
Returns
array

Definition at line 1481 of file oxubase.php.

oxUBase::getSortingSql (   $sIdent)

Returns part of SQL query with sorting params

Parameters
string$sIdentsortable item id
Returns
string

Definition at line 1506 of file oxubase.php.

oxUBase::getSortOrderByParameterName ( )

Returns sorted column parameter name

Returns
string

Reimplemented in GuestBook.

Definition at line 938 of file oxubase.php.

oxUBase::getSortOrderParameterName ( )

Returns sorted column direction parameter name

Returns
string

Reimplemented in GuestBook.

Definition at line 948 of file oxubase.php.

oxUBase::getTitle ( )

Returns current view title. Default is search for translation of PAGE_TITLE_{view_class_name}

Returns
string

Reimplemented in Details, aList, RecommList, Search, Content, Account, Newsletter, ManufacturerList, VendorList, Tag, Contact, ForgotPwd, Wishlist, News, and RecommAdd.

Definition at line 1961 of file oxubase.php.

oxUBase::getTitlePageSuffix ( )

Returns title page suffix used in template in lists

Reimplemented in aList, and Tags.

Definition at line 1527 of file oxubase.php.

oxUBase::getTitlePrefix ( )

Returns title prefix used in template

Returns
string

Definition at line 1536 of file oxubase.php.

oxUBase::getTitleSuffix ( )

Returns title suffix used in template

Returns
string

Reimplemented in aList, ManufacturerList, VendorList, Start, and Tags.

Definition at line 1519 of file oxubase.php.

oxUBase::getTop5ArticleList (   $iCount = null)

Template variable getter. Returns Top 5 article list. Parameter oxUBase::$_blTop5Action must be set to true.

Parameters
integer$iCount- product count in list
Returns
array

Definition at line 2441 of file oxubase.php.

oxUBase::getTopNavigationCatCnt ( )

Returns item count in top navigation of categories

Returns
integer

Definition at line 901 of file oxubase.php.

oxUBase::getUserSelectedSorting ( )

Returns default category sorting for selected category

Returns
array

Definition at line 979 of file oxubase.php.

oxUBase::getVendorId ( )

Template variable getter. Returns vendor id

Returns
string

Definition at line 2617 of file oxubase.php.

oxUBase::getViewId ( )

If current view ID is not set - forms and returns view ID according to language and currency.

Returns
string $this->_sViewId

Reimplemented from oxView.

Reimplemented in Details, aList, Review, and Content.

Definition at line 644 of file oxubase.php.

oxUBase::getViewProduct ( )

Returns current view product object (if it is loaded)

Returns
oxArticle

Definition at line 2232 of file oxubase.php.

oxUBase::getViewProductList ( )

Returns view product list

Returns
array

Definition at line 2252 of file oxubase.php.

oxUBase::getWidgetLink ( )

Get widget link for Ajax calls

Returns
string

Definition at line 3141 of file oxubase.php.

oxUBase::getWishlistName ( )

Template variable getter. Returns user name of searched wishlist

Returns
string

Definition at line 3120 of file oxubase.php.

oxUBase::getWishlistUserId ( )

Template variable getter. Returns user id from wish list

Returns
string

Definition at line 2975 of file oxubase.php.

oxUBase::init ( )

Calls self::_processRequest(), initializes components which needs to be loaded, sets current list type, calls parent::init()

Reimplemented from oxView.

Reimplemented in Search, Review, order, Payment, Thankyou, oxWidget, and Download.

Definition at line 603 of file oxubase.php.

oxUBase::isActive (   $sName)

Checks if feature is enabled

Parameters
string$sNamefeature name
Returns
bool

Definition at line 3026 of file oxubase.php.

oxUBase::isEnabledDownloadableFiles ( )

Checks if downloadable files are turned on

Returns
bool

Definition at line 3055 of file oxubase.php.

oxUBase::isEnabledPrivateSales ( )

Checks if private sales is on

Returns
bool

Definition at line 2843 of file oxubase.php.

oxUBase::isFbWidgetVisible ( )

Returns TRUE if facebook widgets are on

Deprecated:
since v5.3 (2016-05-20); Facebook will be extracted into module.
Returns
boolean

Definition at line 3038 of file oxubase.php.

oxUBase::isFieldRequired (   $sField)

Returns if field is required.

Parameters
string$sFieldrequired field to check
Returns
array | bool

Reimplemented in Register.

Definition at line 2720 of file oxubase.php.

oxUBase::isLanguageLoaded ( )

Returns if language should be loaded

Returns
bool

Definition at line 884 of file oxubase.php.

oxUBase::isLowOrderPrice ( )

Template variable getter. Returns if order price is lower than minimum order price setup (config param "iMinOrderPrice")

Deprecated:
in v4.8/5.1 on 2013-10-14; use oxBasket method
Returns
bool

Definition at line 2493 of file oxubase.php.

oxUBase::isPriceCalculated ( )

Returns true if price calculation is activated

Returns
boolean

Definition at line 3098 of file oxubase.php.

oxUBase::isRootCatChanged ( )

Template variable getter. Returns true if active root category was changed

Returns
bool

Definition at line 2890 of file oxubase.php.

oxUBase::isVatIncluded ( )

Returns true if articles shown in shop with VAT. Checks users VAT and options.

Returns
boolean

Reimplemented in oxwArticleBox.

Definition at line 3076 of file oxubase.php.

oxUBase::loadCurrency ( )

Returns currency switching option

Returns
bool

Definition at line 840 of file oxubase.php.

oxUBase::noIndex ( )

Marks that current view is marked as no index, no follow and article details links must contain no follow tags

Returns
int

Reimplemented in Details.

Definition at line 1221 of file oxubase.php.

oxUBase::render ( )

While ordering disables navigation controls if oxConfig::blDisableNavBars is on and executes parent::render()

Returns
null

Reimplemented from oxView.

Reimplemented in oxwArticleDetails, Details, Search, aList, Review, order, Payment, Content, Account, Start, Thankyou, Account_Wishlist, GuestBook, RecommList, Basket, ManufacturerList, VendorList, Invite, User, Account_Recommlist, Account_Noticelist, Tag, Rss, Account_Order, oxwArticleBox, Register, oxwRating, Account_Newsletter, Account_Password, oxwReview, RecommAdd, oxwCategoryTree, Account_User, Download, Tags, ClearCookies, oxwCookieNote, and Tpl.

Definition at line 2207 of file oxubase.php.

oxUBase::setActCurrency (   $oCur)

Active currency setter

Parameters
object$oCurcorrency object

Definition at line 1187 of file oxubase.php.

oxUBase::setActiveCategory (   $oCategory)

Active category setter

Parameters
oxCategory$oCategoryactive category

Definition at line 747 of file oxubase.php.

oxUBase::setActManufacturer (   $oManufacturer)

Active Manufacturer setter

Parameters
oxManufacturer$oManufactureractive Manufacturer

Definition at line 2365 of file oxubase.php.

oxUBase::setActVendor (   $oVendor)

Active vendor setter

Parameters
oxVendor$oVendoractive vendor

Definition at line 2355 of file oxubase.php.

oxUBase::setCategoryTree (   $oCatTree)

Category list setter

Parameters
oxCategoryList$oCatTreecategory tree

Definition at line 2401 of file oxubase.php.

oxUBase::setComponents (   $aComponents = null)

Set array of component objects

Parameters
array$aComponentsarray of components objects

Definition at line 692 of file oxubase.php.

oxUBase::setDeliveryAddress (   $aDeliveryAddress)

Template variable setter. Sets user delivery address

Parameters
array$aDeliveryAddressdelivery address

Definition at line 2935 of file oxubase.php.

oxUBase::setInvoiceAddress (   $aAddress)

Template variable setter. Sets user address

Parameters
array$aAddressuser address

Definition at line 2945 of file oxubase.php.

oxUBase::setIsOrderStep (   $blIsOrderStep = null)

Set flag if current view is an order view

Parameters
bool$blIsOrderStepflag if current view is an order view

Definition at line 726 of file oxubase.php.

oxUBase::setItemSorting (   $sSortIdent,
  $sSortBy,
  $sSortDir = null 
)

Sets sorting item config

Parameters
string$sSortIdentsortable item id
string$sSortBysort field
string$sSortDirsort direction (optional)

Definition at line 1465 of file oxubase.php.

oxUBase::setListOrderBy (   $sColumn)

Set sorting column name

Parameters
string$sColumn- column name

Definition at line 1021 of file oxubase.php.

oxUBase::setListOrderDirection (   $sDirection)

Set sorting directions

Parameters
string$sDirection- direction desc / asc

Definition at line 1031 of file oxubase.php.

oxUBase::setListType (   $sType)

List type setter

Parameters
string$sTypetype of list

Definition at line 829 of file oxubase.php.

oxUBase::setManufacturerlist (   $aList)

Sets Manufacturer list for search

Parameters
array$aListmanufacturer list

Definition at line 2567 of file oxubase.php.

oxUBase::setManufacturerTree (   $oManufacturerTree)

Manufacturer tree setter

Parameters
oxManufacturerList$oManufacturerTreeManufacturer tree

Definition at line 2421 of file oxubase.php.

oxUBase::setMenueList (   $aMenu)

Header menu list setter

Parameters
array$aMenumenu list

Definition at line 1254 of file oxubase.php.

oxUBase::setMetaDescription (   $sDescription)

Sets the view parameter "meta_description"

Parameters
string$sDescriptionprepared string for description
Returns
null

Definition at line 1070 of file oxubase.php.

oxUBase::setMetaKeywords (   $sKeywords)

Sets the view parameter 'meta_keywords'

Parameters
string$sKeywordsprepared string for meta keywords
Returns
null

Definition at line 1082 of file oxubase.php.

oxUBase::setRootCatChanged (   $blRootCatChanged)

Sets if active root category was changed

Parameters
bool$blRootCatChangedroot category changed

Definition at line 2880 of file oxubase.php.

oxUBase::setRootManufacturer (   $oManufacturer)

Sets root Manufacturer

Parameters
object$oManufacturermanufacturer object

Definition at line 2597 of file oxubase.php.

oxUBase::setRootVendor (   $oVendor)

Sets root vendor

Parameters
object$oVendorvendor object

Definition at line 2577 of file oxubase.php.

oxUBase::setSortColumns (   $aSortColumns)

Set sorting columns

Parameters
array$aSortColumnsarray of column names array('name1', 'name2',...)

Definition at line 1871 of file oxubase.php.

oxUBase::setViewProduct (   $oProduct)

Sets view product

Parameters
oxArticle$oProductview product object

Definition at line 2242 of file oxubase.php.

oxUBase::showCategoryArticlesCount ( )

Returns true if empty categories are not loaded

Returns
bool

Definition at line 874 of file oxubase.php.

oxUBase::showRememberMe ( )

Returns true if "Remember me" are ON

Returns
boolean

Definition at line 3065 of file oxubase.php.

oxUBase::showSearch ( )

Returns show category search

Returns
bool

Definition at line 1831 of file oxubase.php.

oxUBase::showSorting ( )

Template variable getter. Returns true if sorting is on

Returns
bool

Definition at line 682 of file oxubase.php.

oxUBase::showTags ( )

Returns true if tags are ON

Deprecated:
v5.3 (2016-05-04); Tags will be moved to own module.
Returns
boolean

Definition at line 3110 of file oxubase.php.

Member Data Documentation

oxUBase::$_aArticleList = null
protected

Definition at line 333 of file oxubase.php.

oxUBase::$_aBargainArticleList = null
protected

Definition at line 361 of file oxubase.php.

oxUBase::$_aBlockRedirectParams = array('fnc', 'stoken', 'force_sid', 'force_admin_sid')
protected

Url parameters which block redirection

Returns
null

Definition at line 389 of file oxubase.php.

oxUBase::$_aCollectedComponentNames = null
staticprotected

Definition at line 518 of file oxubase.php.

oxUBase::$_aComponentNames
protected
Initial value:
array(
'oxcmp_user' => 1,
'oxcmp_lang' => 0,
'oxcmp_cur' => 1,
'oxcmp_shop' => 1,
'oxcmp_categories' => 0,
'oxcmp_utils' => 1,
'oxcmp_news' => 0,
'oxcmp_basket' => 1
)

Definition at line 293 of file oxubase.php.

oxUBase::$_aContents = array()
protected

Definition at line 452 of file oxubase.php.

oxUBase::$_aDeliveryAddress = null
protected

Definition at line 503 of file oxubase.php.

oxUBase::$_aInvoiceAddress = null
protected

Definition at line 496 of file oxubase.php.

oxUBase::$_aListDisplayTypes = array('grid', 'line', 'infogrid')
protected

Definition at line 62 of file oxubase.php.

oxUBase::$_aManufacturerlist = null
protected

Definition at line 410 of file oxubase.php.

oxUBase::$_aMenueList = null
protected

Definition at line 285 of file oxubase.php.

oxUBase::$_aMustFillFields = null
protected

Definition at line 473 of file oxubase.php.

oxUBase::$_aRssLinks = null
protected

Definition at line 162 of file oxubase.php.

oxUBase::$_aSortColumns = null
protected

Definition at line 534 of file oxubase.php.

oxUBase::$_aTop5ArticleList = null
protected

Definition at line 354 of file oxubase.php.

oxUBase::$_aUserComponentNames = array()
protected

Definition at line 312 of file oxubase.php.

oxUBase::$_blBargainAction = false
protected

Definition at line 466 of file oxubase.php.

oxUBase::$_blCommonAdded = false
protected

Definition at line 234 of file oxubase.php.

oxUBase::$_blDontShowEmptyCats = null
protected

Definition at line 141 of file oxubase.php.

oxUBase::$_blEnabledPrivateSales = null
protected

Definition at line 225 of file oxubase.php.

oxUBase::$_blFbWidgetsOn = null
protected

Definition at line 27 of file oxubase.php.

oxUBase::$_blForceNoIndex = false
protected

Definition at line 250 of file oxubase.php.

oxUBase::$_blIsOrderStep = false
protected

Definition at line 48 of file oxubase.php.

oxUBase::$_blLoadComponents = true
protected

Definition at line 526 of file oxubase.php.

oxUBase::$_blLoadCurrency = null
protected

Definition at line 127 of file oxubase.php.

oxUBase::$_blLoadLanguage = null
protected

Definition at line 148 of file oxubase.php.

oxUBase::$_blLoadManufacturerTree = null
protected

Definition at line 134 of file oxubase.php.

oxUBase::$_blLowOrderPrice = null
protected

Definition at line 368 of file oxubase.php.

oxUBase::$_blNewsSubscribed = null
protected

Definition at line 431 of file oxubase.php.

oxUBase::$_blRootCatChanged = false
protected

Definition at line 489 of file oxubase.php.

oxUBase::$_blShowSorting = false
protected

Definition at line 120 of file oxubase.php.

oxUBase::$_blShowTagCloud = true
protected

Definition at line 482 of file oxubase.php.

oxUBase::$_blTop5Action = false
protected

Definition at line 459 of file oxubase.php.

oxUBase::$_iActPage = null
protected

Definition at line 326 of file oxubase.php.

oxUBase::$_iCompItemsCnt = null
protected

Definition at line 257 of file oxubase.php.

oxUBase::$_iNewsRealStatus = null
protected

Definition at line 382 of file oxubase.php.

oxUBase::$_iTopCatNavItmCnt = null
protected

Definition at line 155 of file oxubase.php.

oxUBase::$_iViewIndexState = VIEW_INDEXSTATE_INDEX
protected

Current view search engine indexing state: VIEW_INDEXSTATE_INDEX - index without limitations VIEW_INDEXSTATE_NOINDEXNOFOLLOW - no index / no follow VIEW_INDEXSTATE_NOINDEXFOLLOW - no index / follow

Definition at line 242 of file oxubase.php.

oxUBase::$_oaComponents = array()
protected

Definition at line 41 of file oxubase.php.

oxUBase::$_oActCategory = null
protected

Definition at line 83 of file oxubase.php.

oxUBase::$_oActCurrency = null
protected

Definition at line 218 of file oxubase.php.

oxUBase::$_oActiveRecommList = null
protected

Definition at line 106 of file oxubase.php.

oxUBase::$_oActManufacturer = null
protected

Definition at line 90 of file oxubase.php.

oxUBase::$_oActSearch = null
protected

Definition at line 113 of file oxubase.php.

oxUBase::$_oActVendor = null
protected

Definition at line 97 of file oxubase.php.

oxUBase::$_oCategoryTree = null
protected

Definition at line 347 of file oxubase.php.

oxUBase::$_oContent = null
protected

Default content

Returns
oxContent

Definition at line 271 of file oxubase.php.

oxUBase::$_oDelAddress = null
protected

Definition at line 438 of file oxubase.php.

oxUBase::$_oManufacturerTree = null
protected

Definition at line 340 of file oxubase.php.

oxUBase::$_oProduct = null
protected

Definition at line 319 of file oxubase.php.

oxUBase::$_oRootManufacturer = null
protected

Definition at line 417 of file oxubase.php.

oxUBase::$_oRootVendor = null
protected

Definition at line 396 of file oxubase.php.

oxUBase::$_sActiveUsername = null
protected

Definition at line 510 of file oxubase.php.

oxUBase::$_sAdditionalParams = null
protected

Definition at line 211 of file oxubase.php.

oxUBase::$_sCatTreePath = null
protected

Definition at line 445 of file oxubase.php.

oxUBase::$_sContentId = null
protected

Default content id

Returns
string

Definition at line 264 of file oxubase.php.

oxUBase::$_sCustomListDisplayType = null
protected

Definition at line 76 of file oxubase.php.

oxUBase::$_sListDisplayType = null
protected

Definition at line 69 of file oxubase.php.

oxUBase::$_sListOrderBy = null
protected

Definition at line 169 of file oxubase.php.

oxUBase::$_sListOrderDir = null
protected

Definition at line 176 of file oxubase.php.

oxUBase::$_sListType = null
protected

Definition at line 55 of file oxubase.php.

oxUBase::$_sManufacturerId = null
protected

Definition at line 424 of file oxubase.php.

oxUBase::$_sMetaDescription = null
protected

Definition at line 183 of file oxubase.php.

oxUBase::$_sMetaDescriptionIdent = null
protected

Definition at line 197 of file oxubase.php.

oxUBase::$_sMetaKeywords = null
protected

Definition at line 190 of file oxubase.php.

oxUBase::$_sMetaKeywordsIdent = null
protected

Definition at line 204 of file oxubase.php.

oxUBase::$_sMinOrderPrice = null
protected

Definition at line 375 of file oxubase.php.

oxUBase::$_sRemoveMetaChars = '.\+*?[^]$(){}=!<>|:&'
protected

Definition at line 34 of file oxubase.php.

oxUBase::$_sVendorId = null
protected

Definition at line 403 of file oxubase.php.

oxUBase::$_sViewResetID = null
protected

Definition at line 278 of file oxubase.php.


The documentation for this class was generated from the following file: