OXID eShop CE
4.8.11
|
Protected Member Functions | |
_executeNewAction ($sNewAction) |
Protected Attributes | |
$_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 | $_blExecuted = false |
Static Protected Attributes inherited from oxSuperCfg | |
static | $_oConfig = null |
static | $_oSession = null |
static | $_oRights = null |
static | $_oActUser = null |
static | $_blIsAdmin = null |
Base view class. Collects and passes data to template engine, sets some global configuration parameters.
Definition at line 7 of file oxview.php.
|
protected |
Formats header for new controller action
Input example: "view_name?param1=val1¶m2=val2" => "cl=view_name¶m1=val1¶m2=val2"
string | $sNewAction | new action params |
Definition at line 546 of file oxview.php.
oxView::addGlobalParams | ( | $oShop = null | ) |
Sets and caches default parameters for shop object and returns it.
Template variables: isdemoversion, shop, isdemoversion, version, iShopID_TrustedShops, urlsign
oxShop | $oShop | current shop object |
Reimplemented in oxUBase, and oxAdminView.
Definition at line 251 of file oxview.php.
oxView::addTplParam | ( | $sPara, | |
$sValue | |||
) |
Sets value to parameter used by template engine.
string | $sPara | name of parameter to pass |
string | $sValue | value of parameter |
Definition at line 277 of file oxview.php.
oxView::executeFunction | ( | $sFunction | ) |
Executes method (creates class and then executes). Returns executed function result.
string | $sFunction | name of function to execute |
oxSystemComponentException | system component exception |
Definition at line 512 of file oxview.php.
oxView::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
Reimplemented in Article_Seo.
Definition at line 858 of file oxview.php.
oxView::getActionClassName | ( | ) |
Returns name of a view class, which will be active for an action (given a generic fnc, e.g. logout)
Reimplemented in Thankyou.
Definition at line 930 of file oxview.php.
oxView::getAdditionalParams | ( | ) |
Template variable getter. Returns additional params for url
Reimplemented in oxUBase, RecommList, and Review.
Definition at line 587 of file oxview.php.
oxView::getBelboonParam | ( | ) |
oxView::getCategoryId | ( | ) |
oxView::getCharSet | ( | ) |
oxView::getClassLocation | ( | ) |
oxView::getClassName | ( | ) |
oxView::getErrorDestination | ( | ) |
Returns a name of the view variable containing the error/exception messages
Reimplemented in Basket.
Definition at line 920 of file oxview.php.
oxView::getFbUserId | ( | ) |
oxView::getFncName | ( | ) |
oxView::getIsCallForCache | ( | ) |
Get cache sign to enable/disable use of cache
Definition at line 214 of file oxview.php.
oxView::getIsComponent | ( | ) |
oxView::getPackageInfo | ( | ) |
oxView::getParent | ( | ) |
oxView::getRevision | ( | ) |
oxView::getShopEdition | ( | ) |
oxView::getShopFullEdition | ( | ) |
oxView::getShopLogo | ( | ) |
Template variable getter. Returns shop logo from config option
Definition at line 826 of file oxview.php.
oxView::getShopVersion | ( | ) |
oxView::getSidForWidget | ( | ) |
Returns session ID, but only in case it is needed to be included for widget calls. This basically happens on session change, when session cookie is not equals to the actual session ID.
Definition at line 1012 of file oxview.php.
oxView::getTemplateName | ( | ) |
Returns current view template file name
Reimplemented in aList.
Definition at line 318 of file oxview.php.
oxView::getThisAction | ( | ) |
oxView::getTrustedShopId | ( | ) |
oxView::getTSExcellenceId | ( | ) |
Returns shop id in trusted shops if excellence product is ordered
Definition at line 627 of file oxview.php.
oxView::getViewConfig | ( | ) |
oxView::getViewData | ( | ) |
oxView::getViewDataElement | ( | $sParamId = null | ) |
Get view data single array element
string | $sParamId | view data array key |
Definition at line 408 of file oxview.php.
oxView::getViewId | ( | ) |
Returns view ID (currently it returns NULL)
Reimplemented in DynExportBase, oxUBase, oxAdminView, Details, Login, VoucherSerie_Main, dyn_trusted_ratings, dyn_trusted, aList, Review, Content, Dynscreen, dyn_econda, Efire, and dyn_interface.
Definition at line 224 of file oxview.php.
oxView::getViewParameter | ( | $sKey | ) |
Get parameters to controllers
string | $sKey | parameter key |
Definition at line 190 of file oxview.php.
oxView::init | ( | ) |
Initiates all components stored, executes oxview::addGlobalParams.
Reimplemented in oxUBase, oxAdminView, Search, order, Review, Payment, oxcmp_user, Thankyou, oxcmp_basket, Shop_List, User_List, oxcmp_categories, oxcmp_cur, oxWidget, List_User, and Download.
Definition at line 160 of file oxview.php.
oxView::isBetaVersion | ( | ) |
oxView::isConnectedWithFb | ( | ) |
Checks if user is connected via Facebook connect
Definition at line 940 of file oxview.php.
oxView::isDemoShop | ( | ) |
oxView::isDemoVersion | ( | ) |
oxView::isMall | ( | ) |
oxView::isRCVersion | ( | ) |
Returns if current shop is release candidate version.
Definition at line 754 of file oxview.php.
oxView::render | ( | ) |
Returns name of template to render
Reimplemented in oxUBase, oxwArticleDetails, oxAdminView, Details, oxcmp_utils, oxAdminList, oxcmp_categories, Search, aList, oxcmp_user, order, Review, Payment, DynExportBase, Content, Account_Wishlist, Start, Account, Thankyou, Diagnostics_Main, Basket, GuestBook, oxcmp_cur, RecommList, oxcmp_basket, VendorList, ManufacturerList, Language_List, Invite, User, Account_Recommlist, GenImport_Main, Account_Noticelist, Tag, User_Payment, Shop_List, Rss, Account_Order, Category_List, oxwArticleBox, Register, Language_Main, List_Order, Order_Article, oxwRating, AdminGuestbook_List, dyn_trusted, VoucherSerie_Main, Account_Newsletter, List_Review, Order_List, Actions_List, Country_List, Account_Password, List_User, GenExport_Main, Shop_License, Article_List, Content_List, oxwCategoryTree, Article_Files, UserGroup_List, Wrapping_List, oxwReview, Shop_Config, RecommAdd, Account_User, Download, oxAdminDetails, SelectList_Main, Shop_Main, Article_Extend, Login, Module_List, Order_Downloads, User_Address, Article_Variant, dyn_trusted_ratings, Newsletter_Selection, Newsletter_Send, oxcmp_news, Payment_Main, PriceAlarm_Send, Shop_System, oxcmp_lang, oxcmp_shop, oxwCookieNote, EFire_Downloader, News_Main, Shop_Seo, ClearCookies, Tags, Delivery_Articles, Navigation, dyn_econda, Module_Config, Theme_Config, User_Main, Article_Crossselling, Module_Main, Theme_Main, VoucherSerie_Groups, Actions_Main, Article_Attribute, Article_Main, Article_Overview, Article_Pictures, Article_Review, Article_Stock, Attribute_Category, Attribute_Main, Category_Main, Delivery_Main, Delivery_Users, DeliverySet_Main, DeliverySet_Payment, DeliverySet_Users, Discount_Articles, Discount_Users, Module, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Order_Address, Order_Main, Order_Overview, Order_Package, Order_Remark, Payment_Country, PriceAlarm_Mail, PriceAlarm_Main, Shop, Statistic_Main, Theme, User_Remark, UserGroup_Main, Wrapping_Main, Adminguestbook_Main, Adminlinks_Main, Category_Order, Category_Pictures, Category_Text, Content_Main, Country_Main, Discount_Main, Dynscreen_List, EFire_List, Manufacturer_Main, Module_SortList, Statistic_Service, SystemInfo, Theme_List, Tools, Tools_Main, User_Article, User_Extend, Vendor_Main, Object_Seo, sysreq_main, Tpl, Article_Userdef, News_Text, and User_Overview.
Definition at line 233 of file oxview.php.
oxView::setActCategory | ( | $oCategory | ) |
Active category setter
oxCategory | $oCategory | active category |
Definition at line 884 of file oxview.php.
oxView::setCategoryId | ( | $sCategoryId | ) |
Category ID setter
string | $sCategoryId | Id of category to cache |
Definition at line 910 of file oxview.php.
oxView::setClassLocation | ( | $sClassLocation = null | ) |
Set location of a executed class file
string | $sClassLocation | location of a executed class file |
Definition at line 422 of file oxview.php.
oxView::setClassName | ( | $sClassName | ) |
Current view class name setter.
string | $sClassName | current view class name |
Definition at line 342 of file oxview.php.
oxView::setFncName | ( | $sFncName | ) |
Set current view action function name
string | $sFncName | action function name |
Definition at line 364 of file oxview.php.
oxView::setIsCallForCache | ( | $blIsCallForCache = null | ) |
Set cache sign to enable/disable use of cache
bool | $blIsCallForCache | cache sign to enable/disable use of cache |
Definition at line 204 of file oxview.php.
oxView::setIsComponent | ( | $blIsComponent = null | ) |
Set flag if this object is a component or not
bool | $blIsComponent | flag if this object is a component |
Definition at line 487 of file oxview.php.
oxView::setParent | ( | $oParent = null | ) |
Set parent object. If this is a component we will have our parent view here.
object | $oParent | parent object |
Definition at line 465 of file oxview.php.
oxView::setShopLogo | ( | $sLogo | ) |
Sets shop logo
string | $sLogo | shop logo url |
Definition at line 844 of file oxview.php.
oxView::setShowNewsletter | ( | $blShow | ) |
Sets if to show newsletter
bool | $blShow | if TRUE - newsletter subscription box will be shown |
Definition at line 814 of file oxview.php.
oxView::setTemplateName | ( | $sTemplate | ) |
Sets current view template file name
string | $sTemplate | template name |
Definition at line 330 of file oxview.php.
oxView::setThisAction | ( | $sThisAction = null | ) |
Set name of running class method
string | $sThisAction | name of running class method |
Definition at line 443 of file oxview.php.
oxView::setViewData | ( | $aViewData = null | ) |
Set array of data that is passed to template engine - array( "varName" => "varValue")
array | $aViewData | array of data that is passed to template engine |
Definition at line 386 of file oxview.php.
oxView::setViewParameters | ( | $aParams = null | ) |
Add parameters to controllers
array | $aParams | view parameters array. |
Definition at line 178 of file oxview.php.
oxView::showBetaNote | ( | ) |
Template variable getter. Returns if beta note can be displayed (for header.tpl)
Definition at line 770 of file oxview.php.
oxView::showFbConnectToAccountMsg | ( | ) |
Returns true if popup message about connecting your existing account to Facebook account must be shown
Definition at line 971 of file oxview.php.
oxView::showNewsletter | ( | ) |
Template variable getter. Returns if newsletter can be displayed (for _right.tpl)
Definition at line 799 of file oxview.php.
oxView::showRdfa | ( | ) |
Returns if page has rdfa
Reimplemented in Details, and Content.
Definition at line 999 of file oxview.php.
|
protected |
Definition at line 14 of file oxview.php.
|
protected |
Definition at line 113 of file oxview.php.
|
protected |
Definition at line 107 of file oxview.php.
|
staticprotected |
Definition at line 77 of file oxview.php.
|
protected |
Definition at line 145 of file oxview.php.
|
protected |
Definition at line 42 of file oxview.php.
|
protected |
Definition at line 119 of file oxview.php.
|
protected |
Definition at line 138 of file oxview.php.
|
protected |
Definition at line 35 of file oxview.php.
|
protected |
Definition at line 152 of file oxview.php.
|
protected |
Definition at line 132 of file oxview.php.
|
protected |
Definition at line 95 of file oxview.php.
|
protected |
Definition at line 63 of file oxview.php.
|
protected |
Definition at line 21 of file oxview.php.
|
protected |
Definition at line 70 of file oxview.php.
|
protected |
Definition at line 125 of file oxview.php.
|
protected |
Definition at line 28 of file oxview.php.
|
protected |
Definition at line 49 of file oxview.php.
|
protected |
Definition at line 83 of file oxview.php.
|
protected |
Definition at line 89 of file oxview.php.
|
protected |
Definition at line 101 of file oxview.php.
|
protected |
Definition at line 56 of file oxview.php.