OXID eShop CE
6.1.5
|
Public Member Functions | |
render () | |
save () | |
deletePicture () | |
Protected Member Functions | |
_resetMasterPicture ($oArticle, $iIndex, $blDeleteMaster=false) | |
_deleteMainIcon ($oArticle) | |
_deleteThumbnail ($oArticle) | |
_cleanupCustomFields ($oArticle) | |
updateArticle ($oArticle) | |
canResetMasterPicture ($oArticle, $masterPictureIndex) | |
canDeleteMainIcon ($oArticle) | |
canDeleteThumbnail ($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.
|
protected |
Cleans up article custom fields oxicon and oxthumb. If there is custom icon or thumb picture, leaves records untouched.
\OxidEsales\Eshop\Application\Model\Article | $oArticle | article object |
|
protected |
Deletes main icon file
\OxidEsales\Eshop\Application\Model\Article | $oArticle | article object |
|
protected |
Deletes thumbnail file
\OxidEsales\Eshop\Application\Model\Article | $oArticle | article object |
|
protected |
Deletes selected master picture and all pictures generated from master picture
\OxidEsales\Eshop\Application\Model\Article | $oArticle | article object |
int | $iIndex | master picture index |
bool | $blDeleteMaster | if TRUE - deletes and unsets master image file |
|
protected |
Checks if possible to delete main icon of article.
\OxidEsales\Eshop\Application\Model\Article | $oArticle |
|
protected |
Checks if possible to delete thumbnail of article.
\OxidEsales\Eshop\Application\Model\Article | $oArticle |
|
protected |
Checks if possible to reset master picture.
\OxidEsales\Eshop\Application\Model\Article | $oArticle | |
int | $masterPictureIndex |
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticlePictures::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.
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticlePictures::render | ( | ) |
Loads article information - pictures, passes data to Smarty engine, returns name of template file "article_pictures.tpl".
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticlePictures::save | ( | ) |
Saves (uploads) pictures to server.
|
protected |
Method is used for overloading to update article object.
\OxidEsales\Eshop\Application\Model\Article | $oArticle |