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
oxUBase.init | ( | ) |
oxUBase._setListType | ( | ) | [protected] |
Sets active list type if it was not set by request
oxUBase.generatePageNavigationUrl | ( | ) |
Generates URL for page navigation
string | $sClass class name |
Reimplemented in aList, Tag, and vendorlist.
oxUBase._addPageNrParam | ( | $ | sUrl, | |
$ | iPage, | |||
$ | iLang = null | |||
) | [protected] |
Adds page number parameter to url and returns modified url
string | $sUrl url to add page number | |
string | $iPage active page number | |
int | $iLang language id |
Reimplemented in aList, Tag, and vendorlist.
oxUBase.generatePageNavigation | ( | ) |
Generates variables for page navigation
Reimplemented in Tag.
oxUBase.prepareMinimumOrderPrice4View | ( | ) |
performs setup of aViewData according to iMinOrderPrice admin setting
oxUBase.render | ( | ) |
While ordering disables navigation controls if oxConfig.blDisableNavBars is on and executes parent.render()
Reimplemented from oxView.
Reimplemented in account, account_newsletter, account_noticelist, account_order, account_password, account_recommlist, account_user, account_wishlist, aList, Basket, Compare, Contact, Content, Details, ForgotPwd, GuestBook, Help, Info, Links, moreDetails, News, Newsletter, order, Payment, Pricealarm, RecommAdd, RecommList, Review, search, Start, Suggest, Tag, Tags, Thankyou, Tpl, User, vendorlist, wishlist, and Wrapping.
oxUBase.getViewProduct | ( | ) |
Returns current view product object (if it is loaded)
oxUBase.setViewProduct | ( | $ | oProduct | ) |
Sets view product
oxarticle | $oProduct view product object |
oxUBase.getViewProductList | ( | ) |
Returns view product list
oxUBase.getActPage | ( | ) |
Active page getter
oxUBase.getActCategory | ( | ) |
Returns active category set by categories component; if category is not set by component - will create category object and will try to load by id passed by request
oxUBase.setActCategory | ( | $ | oCategory | ) |
Active category setter
oxcategory | $oCategory active category |
oxUBase.getActTag | ( | ) |
Active tag info object getter. Object properties:
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
oxUBase.setActVendor | ( | $ | oVendor | ) |
Active vendor setter
oxvendor | $oVendor active vendor |
oxUBase.getActSearch | ( | ) |
Returns fake object which is used to mount navigation info
oxUBase.getActRecommList | ( | ) |
Returns active recommlist object which is used to mount navigation info
oxUBase.getCategoryTree | ( | ) |
Returns category tree (if it is loaded)
oxUBase.setCategoryTree | ( | $ | oCatTree | ) |
oxUBase.getVendorTree | ( | ) |
Returns vendor tree (if it is loaded0
oxUBase.setVendorTree | ( | $ | oVendorTree | ) |
oxUBase._loadActions | ( | ) | [protected] |
Loads article actions: top articles, bargain - right side and top 5 articles
Template variables:
articlebargainlist, aTop5Articles
oxUBase.setSessionCategoryId | ( | $ | sCategoryId | ) |
Active category id tracker used when SEO is on to track active category and keep correct navigation
string | $sCategoryId active category Id |
oxUBase.getSessionCategoryId | ( | ) |
Active category id getter
oxUBase._processListArticles | ( | ) | [protected] |
Iterates through list articles and performs list view specific tasks
Reimplemented in RecommList, and vendorlist.
oxUBase.getAddUrlParams | ( | ) |
Returns additional URL paramerets which must be added to list products urls
Reimplemented in RecommList, search, and Tag.
oxUBase.getLink | ( | $ | iLang = null |
) |
get link of current view
int | $iLang requested language |
Reimplemented from oxView.
oxUBase.getTop5ArticleList | ( | ) |
oxUBase.getBargainArticleList | ( | ) |
oxUBase.isLowOrderPrice | ( | ) |
oxUBase.getMinOrderPrice | ( | ) |
oxUBase.getNewsRealStatus | ( | ) |
Template variable getter. Returns if newsletter is realy active (for user.tpl)
oxUBase._canRedirect | ( | ) | [protected] |
Checks if current request parameters does not block SEO redirection process
oxUBase.getProduct | ( | ) |
Empty active product getter
Reimplemented in Details, moreDetails, Pricealarm, Review, and Suggest.
oxUBase.getVendorlist | ( | ) |
oxUBase.setVendorlist | ( | $ | aList | ) |
oxUBase.setRootVendor | ( | $ | oVendor | ) |
Sets root vendor
object | $oVendor |
oxUBase.getRootVendor | ( | ) |
Template variable getter. Returns root vendor
oxUBase.getVendorId | ( | ) |
Template variable getter. Returns vendor id
oxUBase.getSearchCatTree | ( | ) |
oxUBase.setSearchCatTree | ( | $ | aTree | ) |
oxUBase.getCatMore | ( | ) |
Template variable getter. Returns more category
oxUBase.setCatMore | ( | $ | oCat | ) |
Sets more category
object | $oCat |
oxUBase.isNewsSubscribed | ( | ) |
oxUBase.setNewsSubscribed | ( | $ | blNewsSubscribed | ) |
oxUBase.showShipAddress | ( | ) |
oxUBase.setShowShipAddress | ( | $ | blShowShipAddress | ) |
oxUBase.getDelAddress | ( | ) |
oxUBase.setDelAddress | ( | $ | oDelAddress | ) |
Sets shipping address
bool | $oDelAddress |
oxUBase.$_blCommonAdded = false [protected] |
oxUBase.$_aComponentNames [protected] |
Initial value:
array( 'oxcmp_user' => 1, // 0 means dont init if cached 'oxcmp_lang' => 1, 'oxcmp_cur' => 1, 'oxcmp_shop' => 1, 'oxcmp_categories' => 0, 'oxcmp_utils' => 1, 'oxcmp_news' => 0, 'oxcmp_basket' => 1 )
Reimplemented from oxView.
oxUBase.$_aUserComponentNames = array() [protected] |
oxUBase.$_oProduct = null [protected] |
oxUBase.$_iActPage = null [protected] |
oxUBase.$_aArticleList = null [protected] |
oxUBase.$_oVendorTree = null [protected] |
oxUBase.$_oCategoryTree = null [protected] |
oxUBase.$_aTop5ArticleList = null [protected] |
oxUBase.$_aBargainArticleList = null [protected] |
oxUBase.$_iLowOrderPrice = null [protected] |
oxUBase.$_sMinOrderPrice = null [protected] |
oxUBase.$_iNewsRealStatus = null [protected] |
oxUBase.$_aBlockRedirectParams = array( 'fnc' ) [protected] |
Executes parent method parent.init(). If oxUBase._blCommonAdded is true - in array oxUBase._aComponentNames stores newly defined component names and allready registered in oxUBase._aUserComponentNames
oxUBase.$_aVendorlist = null [protected] |
oxUBase.$_oRootVendor = null [protected] |
oxUBase.$_sVendorId = null [protected] |
oxUBase.$_aSearchCatTree = null [protected] |
oxUBase.$_oCatMore = null [protected] |
oxUBase.$_blNewsSubscribed = null [protected] |
oxUBase.$_blShowShipAddress = null [protected] |
oxUBase.$_oDelAddress = null [protected] |
Reimplemented in account_user, and order.