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

Public Member Functions

 render ()
 save ()
 deletePicture ()
- Public Member Functions inherited from oxAdminDetails
 resetNrOfCatArticles ()
 resetNrOfVendorArticles ()
 resetNrOfManufacturerArticles ()
 changeFolder ()
- Public Member Functions inherited from oxAdminView
 __construct ()
 init ()
 addGlobalParams ($oShop=null)
 getServiceUrl ($sLangAbbr=null)
 resetContentCache ($blForceReset=null)
 resetCounter ($sCounterType, $sValue=null)
 getNavigation ()
 getViewId ()
 chshp ()
 resetSeoData ($sShopId)
 getPreviewId ()
 getEditObjectId ()
 setEditObjectId ($sId)
- 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)
 getAdditionalParams ()
 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)
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Protected Member Functions

 _resetMasterPicture ($oArticle, $iIndex, $blDeleteMaster=false)
 _deleteMainIcon ($oArticle)
 _deleteThumbnail ($oArticle)
 _cleanupCustomFields ($oArticle)
- Protected Member Functions inherited from oxAdminDetails
 _getTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null)
 _getEditValue ($oObject, $sField)
 _processEditValue ($sValue)
 _getPlainEditor ($iWidth, $iHeight, $oObject, $sField)
 _generateTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null)
 _createCategoryTree ($sTplVarName, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null)
 _getCategoryTree ($sTplVarName, $sSelectedCatId, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null)
 _setupNavigation ($sNode)
 _resetCounts ($aIds)
- Protected Member Functions inherited from oxAdminView
 _getEditShop ($sShopId)
 _getServiceProtocol ()
 _getShopVersionNr ()
 _addNavigationHistory ($sNode)
 _getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false)
 _resetContentCache ()
 _allowAdminEdit ($sUserId)
 _getCountryByCode ($sCountryCode)
 _authorize ()
- Protected Member Functions inherited from oxView
 _executeNewAction ($sNewAction)

Additional Inherited Members

- Protected Attributes inherited from oxAdminDetails
 $_oEditor = null
- Static Protected Attributes inherited from oxAdminView
static $_oNaviTree = null
static $_sAuthUserRights = null

Detailed Description

Admin article picture manager. Collects information about article's used pictures, there is posibility to upload any other picture, etc. Admin Menu: Manage Products -> Articles -> Pictures.

Definition at line 9 of file article_pictures.php.

Member Function Documentation

Article_Pictures::_cleanupCustomFields (   $oArticle)
protected

Cleans up article custom fields oxicon and oxthumb. If there is custom icon or thumb picture, leaves records untouched.

Parameters
oxArticle$oArticlearticle object

Definition at line 206 of file article_pictures.php.

Article_Pictures::_deleteMainIcon (   $oArticle)
protected

Deletes main icon file

Parameters
oxArticle$oArticlearticle object
Returns
null

Definition at line 165 of file article_pictures.php.

Article_Pictures::_deleteThumbnail (   $oArticle)
protected

Deletes thumbnail file

Parameters
oxArticle$oArticlearticle object
Returns
null

Definition at line 186 of file article_pictures.php.

Article_Pictures::_resetMasterPicture (   $oArticle,
  $iIndex,
  $blDeleteMaster = false 
)
protected

Deletes selected master picture and all pictures generated from master picture

Parameters
oxArticle$oArticlearticle object
int$iIndexmaster picture index
bool$blDeleteMasterif TRUE - deletes and unsets master image file
Returns
null

Definition at line 133 of file article_pictures.php.

Article_Pictures::deletePicture ( )

Deletes selected master picture and all other master pictures where master picture index is higher than currently deleted index. Also deletes custom icon and thumbnail.

Returns
null

Definition at line 87 of file article_pictures.php.

Article_Pictures::render ( )

Loads article information - pictures, passes data to Smarty engine, returns name of template file "article_pictures.tpl".

Returns
string

Reimplemented from oxAdminDetails.

Definition at line 18 of file article_pictures.php.

Article_Pictures::save ( )

Saves (uploads) pictures to server.

Returns
mixed

Reimplemented from oxAdminView.

Definition at line 49 of file article_pictures.php.


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