Public Member Functions | |
render () | |
save () | |
deletePicture () | |
Protected Member Functions | |
_resetMasterPicture ($oArticle, $iIndex, $blDeleteMaster=false) | |
_deleteMainIcon ($oArticle) | |
_deleteThumbnail ($oArticle) | |
_cleanupCustomFields ($oArticle) |
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.
Article_Pictures._cleanupCustomFields | ( | $ | oArticle | ) | [protected] |
Cleans up article custom fields oxicon and oxthumb. If there is custom icon or thumb picture, leaves records untouched.
oxArticle | $oArticle article object |
Definition at line 207 of file article_pictures.php.
Article_Pictures._deleteMainIcon | ( | $ | oArticle | ) | [protected] |
Deletes main icon file
oxArticle | $oArticle article object |
Definition at line 164 of file article_pictures.php.
Article_Pictures._deleteThumbnail | ( | $ | oArticle | ) | [protected] |
Deletes thumbnail file
oxArticle | $oArticle article object |
Definition at line 185 of file article_pictures.php.
Article_Pictures._resetMasterPicture | ( | $ | oArticle, | |
$ | iIndex, | |||
$ | blDeleteMaster = false | |||
) | [protected] |
Deletes selected master picture and all pictures generated from master picture
oxArticle | $oArticle article object | |
int | $iIndex master picture index | |
bool | $blDeleteMaster if TRUE - deletes and unsets master image file |
Definition at line 132 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.
Definition at line 86 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".
Reimplemented from oxAdminDetails.
Definition at line 17 of file article_pictures.php.
Article_Pictures.save | ( | ) |
Saves (uploads) pictures to server.
Reimplemented from oxAdminView.
Definition at line 48 of file article_pictures.php.