Public Member Functions | |
render () | |
save () | |
deletePicture () | |
Protected Member Functions | |
_resetMasterPicture ($oArticle, $iIndex, $blDeleteMaster=false) | |
_deleteMainIcon ($oArticle) | |
_deleteThumbnail ($oArticle) | |
_getUploadedMasterPicIndexes () | |
_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 225 of file article_pictures.php.
Article_Pictures._deleteMainIcon | ( | $ | oArticle | ) | [protected] |
Deletes main icon file
oxArticle | $oArticle article object |
Definition at line 156 of file article_pictures.php.
Article_Pictures._deleteThumbnail | ( | $ | oArticle | ) | [protected] |
Deletes thumbnail file
oxArticle | $oArticle article object |
Definition at line 177 of file article_pictures.php.
Article_Pictures._getUploadedMasterPicIndexes | ( | ) | [protected] |
Returns uploaded master image indexes
Definition at line 198 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 124 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 77 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.