OXID eShop CE
4.10.3
|
Protected Member Functions | |
_getEditShop ($sShopId) | |
_getServiceProtocol () | |
_getShopVersionNr () | |
_setupNavigation ($sNode) | |
_addNavigationHistory ($sNode) | |
_getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false) | |
_resetContentCache () | |
_allowAdminEdit ($sUserId) | |
_getCountryByCode ($sCountryCode) | |
_authorize () | |
Protected Member Functions inherited from oxView | |
_executeNewAction ($sNewAction) |
Protected Attributes | |
$_aSumType | |
$_sThisTemplate = null | |
$_iDefEdit = 0 | |
$_iEditLang = 0 | |
$_sShopTitle = " - " | |
$_sShopVersion = null | |
$_sServiceUrl = null | |
$_oEditShop = null | |
$_sEditObjectId = 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 | $_oNaviTree = null |
static | $_sAuthUserRights = 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 |
Main "view" class. Organizes multilanguage, parameters fetching, DB managing, file checking and processing, etc.
Definition at line 8 of file oxadminview.php.
oxAdminView::__construct | ( | ) |
Creates oxshop object and loads shop data, sets title of shop
Reimplemented from oxSuperCfg.
Reimplemented in DynExportBase, Diagnostics_Main, VoucherSerie_Export, Module_Config, and Login.
Definition at line 98 of file oxadminview.php.
|
protected |
Store navigation history parameters to cookie
string | $sNode | active view id |
Definition at line 301 of file oxadminview.php.
|
protected |
Checks if current $sUserId user is not an admin and checks if user is able to be edited by logged in user. This method does not perform full rights check.
string | $sUserId | user id |
Definition at line 477 of file oxadminview.php.
|
protected |
performs authorization of admin user
Reimplemented in Login.
Definition at line 527 of file oxadminview.php.
|
protected |
Get english country name by country iso alpha 2 code
string | $sCountryCode | Country code |
Definition at line 491 of file oxadminview.php.
|
protected |
Returns (cached) shop object
object | $sShopId | shop id |
Definition at line 119 of file oxadminview.php.
|
protected |
Returns maximum allowed size of upload file and formatted size equivalent
int | $iMaxFileSize | recommended maximum size of file (normalu value is taken from php ini, otherwise sets 2MB) |
bool | $blFormatted | Return formated |
Definition at line 374 of file oxadminview.php.
|
protected |
Returns service url protocol: "https" is admin works in ssl mode, "http" if no ssl
Definition at line 207 of file oxadminview.php.
|
protected |
|
protected |
Resets cache.
Definition at line 465 of file oxadminview.php.
|
protected |
Sets-up navigation parameters
string | $sNode | active view id |
Reimplemented in oxAdminList, oxAdminDetails, Newsletter_Send, PriceAlarm_Send, and Dynscreen.
Definition at line 272 of file oxadminview.php.
oxAdminView::addGlobalParams | ( | $oShop = null | ) |
Sets some global parameters to Smarty engine (such as self link, etc.), returns modified shop object.
object | $oShop | Object to modify some parameters |
Reimplemented from oxView.
Definition at line 168 of file oxadminview.php.
oxAdminView::chshp | ( | ) |
oxAdminView::getEditObjectId | ( | ) |
Returns active/editable object id
Reimplemented in Shop_Config.
Definition at line 607 of file oxadminview.php.
oxAdminView::getNavigation | ( | ) |
oxAdminView::getPreviewId | ( | ) |
Returns id which is used for product preview in shop during administration
Definition at line 597 of file oxadminview.php.
oxAdminView::getServiceUrl | ( | $sLangAbbr = null | ) |
Returns service URL
string | $sLangAbbr | language abbr. |
Definition at line 221 of file oxadminview.php.
oxAdminView::getViewId | ( | ) |
Current view ID getter helps to identify navigation position
Reimplemented from oxView.
Reimplemented in DynExportBase, Login, VoucherSerie_Main, dyn_trusted_ratings, dyn_trusted, Dynscreen, dyn_econda, and dyn_interface.
Definition at line 555 of file oxadminview.php.
oxAdminView::init | ( | ) |
Sets some shop configuration parameters (such as language), creates some list object (depends on subclass) and executes parent method parent::Init().
Reimplemented from oxView.
Reimplemented in Shop_List, and List_User.
Definition at line 139 of file oxadminview.php.
oxAdminView::render | ( | ) |
Executes parent method parent::render(), passes configuration data to Smarty engine.
Reimplemented from oxView.
Reimplemented in oxAdminList, DynExportBase, Diagnostics_Main, Language_List, GenImport_Main, User_Payment, Shop_List, Category_List, List_Order, Language_Main, Order_Article, AdminGuestbook_List, Country_List, dyn_trusted, User_List, VoucherSerie_Main, List_Review, Actions_List, Order_List, Shop_License, GenExport_Main, List_User, Article_List, Content_List, Article_Files, UserGroup_List, Wrapping_List, Shop_Config, Module_Config, dyn_trusted_ratings, Order_Main, Article_Extend, oxAdminDetails, SelectList_Main, Shop_Main, Login, Newsletter_Selection, User_Address, Article_Variant, Module_List, Newsletter_Send, Order_Downloads, PriceAlarm_Send, Shop_System, Payment_Main, Shop_Seo, Navigation, News_Main, dyn_econda, Dynscreen_List, Order_Package, Statistic_Main, Theme_Config, User_Main, Adminguestbook_Main, Article_Crossselling, Delivery_Articles, Statistic_Service, 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, Module_Main, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Order_Address, Order_Overview, Order_Remark, Payment_Country, PriceAlarm_Mail, PriceAlarm_Main, Shop, Theme, Theme_Main, User_Remark, UserGroup_Main, Wrapping_Main, Adminlinks_Main, Category_Order, Category_Pictures, Category_Text, Content_Main, Country_Main, Discount_Main, Manufacturer_Main, News_Text, SystemInfo, Theme_List, Tools, Tools_Main, User_Article, User_Extend, Vendor_Main, Module_SortList, Object_Seo, sysreq_main, Article_Userdef, and User_Overview.
Definition at line 324 of file oxadminview.php.
oxAdminView::resetContentCache | ( | $blForceReset = null | ) |
Reset output cache
bool | $blForceReset | if true, forces reset |
Definition at line 419 of file oxadminview.php.
oxAdminView::resetCounter | ( | $sCounterType, | |
$sValue = null |
|||
) |
Resets counters values from cache. Resets price category articles, category articles, vendor articles, manufacturer articles count.
string | $sCounterType | counter type |
string | $sValue | reset value |
Definition at line 438 of file oxadminview.php.
oxAdminView::resetSeoData | ( | $sShopId | ) |
Marks seo entires as expired, cleans up tag clouds cache
string | $sShopId | Shop id |
Definition at line 577 of file oxadminview.php.
oxAdminView::save | ( | ) |
Clears cache
Reimplemented in Shop_Config, Article_Main, Category_Main, Actions_Main, Article_Extend, User_Main, Article_Review, SelectList_Main, Delivery_Main, Newsletter_Selection, Discount_Main, Order_Address, Statistic_Main, Content_Main, Order_Main, Payment_Main, Shop_Seo, User_Payment, Article_Stock, Language_Main, User_Address, Attribute_Main, dyn_trusted, Manufacturer_Main, News_Main, Vendor_Main, DeliverySet_Main, Country_Main, Shop_Main, UserGroup_Main, Adminlinks_Main, VoucherSerie_Main, User_Remark, Order_Remark, News_Text, Wrapping_Main, Category_Text, Article_Files, Article_Pictures, Adminguestbook_Main, Object_Seo, User_Extend, Newsletter_Main, payment_rdfa, dyn_trusted_ratings, Module_SortList, deliveryset_rdfa, Newsletter_Plain, Category_Seo, Manufacturer_Seo, and Vendor_Seo.
Definition at line 409 of file oxadminview.php.
oxAdminView::setEditObjectId | ( | $sId | ) |
Sets editable object id
string | $sId | object id |
Definition at line 623 of file oxadminview.php.
|
protected |
Definition at line 16 of file oxadminview.php.
|
protected |
Definition at line 35 of file oxadminview.php.
|
protected |
Definition at line 49 of file oxadminview.php.
|
protected |
|
staticprotected |
Definition at line 42 of file oxadminview.php.
|
staticprotected |
Definition at line 79 of file oxadminview.php.
|
protected |
Definition at line 93 of file oxadminview.php.
|
protected |
Definition at line 72 of file oxadminview.php.
|
protected |
Definition at line 56 of file oxadminview.php.
|
protected |
Definition at line 63 of file oxadminview.php.
|
protected |
Definition at line 27 of file oxadminview.php.