Public Member Functions | |
__construct () | |
init () | |
addGlobalParams ($oShop=null) | |
getServiceUrl ($sLangAbbr=null) | |
render () | |
save () | |
resetContentCache ($blForceReset=null) | |
resetCounter ($sCounterType, $sValue=null) | |
getNavigation () | |
getViewId () | |
chshp () | |
resetSeoData ($sShopId) | |
getPreviewId () | |
getEditObjectId () | |
setEditObjectId ($sId) | |
Protected Member Functions | |
_getEditShop ($sShopId) | |
_getServiceProtocol () | |
_getShopVersionNr () | |
_setupNavigation ($sNode) | |
_addNavigationHistory ($sNode) | |
_getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false) | |
_allowAdminEdit ($sUserId) | |
_getCountryByCode ($sCountryCode) | |
_authorize () | |
Protected Attributes | |
$_aSumType | |
$_sThisTemplate = null | |
$_iDefEdit = 0 | |
$_iEditLang = 0 | |
$_sShopTitle = " - " | |
$_sShopVersion = null | |
$_sServiceUrl = null | |
$_oEditShop = null | |
$_sEditObjectId = null | |
Static Protected Attributes | |
static | $_oNaviTree = null |
static | $_sAuthUserRights = 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, Login, and VoucherSerie_Export.
Definition at line 94 of file oxadminview.php.
oxAdminView._addNavigationHistory | ( | $ | sNode | ) | [protected] |
Store navigation history parameters to cookie
string | $sNode active view id |
Definition at line 298 of file oxadminview.php.
oxAdminView._allowAdminEdit | ( | $ | sUserId | ) | [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 468 of file oxadminview.php.
oxAdminView._authorize | ( | ) | [protected] |
performs authorization of admin user
Reimplemented in Login.
Definition at line 517 of file oxadminview.php.
oxAdminView._getCountryByCode | ( | $ | sCountryCode | ) | [protected] |
Get english country name by country iso alpha 2 code
string | $sCountryCode Country code |
Definition at line 482 of file oxadminview.php.
oxAdminView._getEditShop | ( | $ | sShopId | ) | [protected] |
Returns (cached) shop object
object | $sShopId shop id |
Definition at line 114 of file oxadminview.php.
oxAdminView._getMaxUploadFileInfo | ( | $ | iMaxFileSize, | |
$ | blFormatted = false | |||
) | [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 371 of file oxadminview.php.
oxAdminView._getServiceProtocol | ( | ) | [protected] |
Returns service url protocol: "https" is admin works in ssl mode, "http" if no ssl
Definition at line 203 of file oxadminview.php.
oxAdminView._getShopVersionNr | ( | ) | [protected] |
oxAdminView._setupNavigation | ( | $ | sNode | ) | [protected] |
Sets-up navigation parameters
string | $sNode active view id |
Reimplemented in Dynscreen, Newsletter_Send, oxAdminDetails, oxAdminList, and PriceAlarm_Send.
Definition at line 267 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 164 of file oxadminview.php.
oxAdminView.chshp | ( | ) |
Changing active shop
Reimplemented in Navigation.
Definition at line 555 of file oxadminview.php.
oxAdminView.getEditObjectId | ( | ) |
Returns active/editable object id
Reimplemented in Shop_Config.
Definition at line 597 of file oxadminview.php.
oxAdminView.getNavigation | ( | ) |
oxAdminView.getPreviewId | ( | ) |
Returns id which is used for product preview in shop during administration
Definition at line 587 of file oxadminview.php.
oxAdminView.getServiceUrl | ( | $ | sLangAbbr = null |
) |
Returns service URL
string | $sLangAbbr language abbr. |
Definition at line 215 of file oxadminview.php.
oxAdminView.getViewId | ( | ) |
Current view ID getter helps to identify navigation position
Reimplemented from oxView.
Reimplemented in dyn_affiliwelt, dyn_econda, dyn_interface, dyn_ipayment, dyn_trusted, dyn_trusted_ratings, DynExportBase, Dynscreen, Efire, and Login.
Definition at line 544 of file oxadminview.php.
oxAdminView.init | ( | ) |
oxAdminView.render | ( | ) |
Executes parent method parent.render(), passes configuration data to Smarty engine.
Reimplemented from oxView.
Reimplemented in Actions_List, Actions_Main, AdminGuestbook_List, Adminguestbook_Main, Adminlinks_Main, Article_Attribute, Article_Crossselling, Article_Extend, Article_Files, Article_List, Article_Main, Article_Overview, Article_Pictures, Article_Review, Article_Stock, Article_Userdef, Article_Variant, Attribute_Category, Attribute_Main, Category_List, Category_Main, Category_Order, Category_Pictures, Category_Text, Content_List, Content_Main, Country_List, Country_Main, Delivery_Articles, Delivery_Main, Delivery_Users, DeliverySet_Main, DeliverySet_Payment, DeliverySet_Users, Discount_Articles, Discount_Main, Discount_Users, dyn_adbutler, dyn_affili24, dyn_affilinet, dyn_affiliwelt, dyn_econda, dyn_ipayment, dyn_superclix, dyn_trusted, dyn_trusted_ratings, DynExportBase, Dynscreen_List, EFire_Downloader, EFire_List, GenExport_Main, GenImport_Main, Language_List, Language_Main, List_Order, List_Review, List_User, Login, Manufacturer_Main, Module, Module_Config, Module_List, Module_Main, Module_Sortlist, Navigation, News_Main, News_Text, Newsletter_Main, Newsletter_Plain, Newsletter_Preview, Newsletter_Selection, Newsletter_Send, Object_Seo, Order_Address, Order_Article, Order_Downloads, Order_List, Order_Main, Order_Overview, Order_Package, Order_Remark, oxAdminDetails, oxAdminList, Payment_Country, Payment_Main, PriceAlarm_Mail, PriceAlarm_Main, PriceAlarm_Send, SelectList_Main, Shop, Shop_Config, Shop_License, Shop_List, Shop_Main, Shop_Seo, Shop_System, Statistic_Main, Statistic_Service, sysreq_main, SystemInfo, Theme, Theme_Config, Theme_List, Theme_Main, Tools, Tools_Main, User_Address, User_Article, User_Extend, User_Main, User_Overview, User_Payment, User_Remark, UserGroup_List, UserGroup_Main, Vendor_Main, VoucherSerie_Groups, VoucherSerie_Main, Wrapping_List, and Wrapping_Main.
Definition at line 321 of file oxadminview.php.
oxAdminView.resetContentCache | ( | $ | blForceReset = null |
) |
Reset output cache
bool | $blForceReset if true, forces reset |
Definition at line 417 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 436 of file oxadminview.php.
oxAdminView.resetSeoData | ( | $ | sShopId | ) |
Marks seo entires as expired, cleans up tag clouds cache
string | $sShopId Shop id |
Definition at line 569 of file oxadminview.php.
oxAdminView.save | ( | ) |
Clears cache
Reimplemented in Actions_Main, Adminguestbook_Main, Adminlinks_Main, Article_Extend, Article_Files, Article_Main, Article_Pictures, Article_Review, Article_Stock, Attribute_Main, Category_Main, Category_Seo, Category_Text, Content_Main, Country_Main, Delivery_Main, DeliverySet_Main, deliveryset_rdfa, Discount_Main, dyn_adbutler, dyn_affili24, dyn_affilinet, dyn_affiliwelt, dyn_superclix, dyn_trusted, dyn_trusted_ratings, Language_Main, Manufacturer_Main, Manufacturer_Seo, Module_Sortlist, News_Main, News_Text, Newsletter_Main, Newsletter_Plain, Newsletter_Selection, Object_Seo, Order_Address, Order_Main, Order_Remark, Payment_Main, payment_rdfa, SelectList_Main, Shop_Config, Shop_Main, Shop_Seo, Statistic_Main, User_Address, User_Extend, User_Main, User_Payment, User_Remark, UserGroup_Main, Vendor_Main, Vendor_Seo, VoucherSerie_Main, and Wrapping_Main.
Definition at line 406 of file oxadminview.php.
oxAdminView.setEditObjectId | ( | $ | sId | ) |
Sets editable object id
string | $sId object id |
Definition at line 614 of file oxadminview.php.
oxAdminView.$_aSumType [protected] |
array( 0 => 'abs', 1 => '%', 2 => 'itm' )
Definition at line 15 of file oxadminview.php.
oxAdminView.$_iDefEdit = 0 [protected] |
Reimplemented in Admin_Pricealarm, and PriceAlarm_Send.
Definition at line 34 of file oxadminview.php.
oxAdminView.$_iEditLang = 0 [protected] |
Definition at line 48 of file oxadminview.php.
oxAdminView.$_oEditShop = null [protected] |
oxAdminView.$_oNaviTree = null [static, protected] |
Definition at line 41 of file oxadminview.php.
oxAdminView.$_sAuthUserRights = null [static, protected] |
Definition at line 76 of file oxadminview.php.
oxAdminView.$_sEditObjectId = null [protected] |
Definition at line 89 of file oxadminview.php.
oxAdminView.$_sServiceUrl = null [protected] |
Definition at line 69 of file oxadminview.php.
oxAdminView.$_sShopTitle = " - " [protected] |
Definition at line 55 of file oxadminview.php.
oxAdminView.$_sShopVersion = null [protected] |
Definition at line 62 of file oxadminview.php.
oxAdminView.$_sThisTemplate = null [protected] |
Reimplemented from oxView.
Reimplemented in Actions, Actions_List, Admin_Content, Admin_Guestbook, Admin_Links, Admin_News, Admin_Newsletter, Admin_Order, Admin_Payment, Admin_Pricealarm, Admin_Start, Admin_User, Admin_Wrapping, AdminGuestbook_List, Adminlinks_List, Article, Article_Files, Attribute, Attribute_List, Category, Category_Update, Country, Delivery, Delivery_List, DeliverySet, DeliverySet_List, deliveryset_rdfa, Discount, Discount_List, DynExportBase, Dynscreen, Dynscreen_Local, Efire, EFire_Downloader, GenExport_Do, GenExport_Main, GenImport, GenImport_Main, Language, Manufacturer, Manufacturer_List, News_List, Newsletter_List, Payment_List, payment_rdfa, PriceAlarm_List, SelectList, SelectList_List, Shop_Config, Shop_License, Shop_Performance, shop_rdfa, Shop_System, Statistic, Statistic_List, sysreq, sysreq_list, Tools_List, User_List, UserGroup, Vendor, Vendor_List, VoucherSerie, VoucherSerie_Export, VoucherSerie_Generate, VoucherSerie_List, and VoucherSerie_Main.
Definition at line 26 of file oxadminview.php.