OXID eShop CE
6.1.5
|
Public Member Functions | |
render () | |
save () | |
addToCategory ($sCatID, $sOXID) | |
copyArticle ($sOldId=null, $sNewId=null, $sParentId=null) | |
saveinnlang () | |
addDefaultValues ($aParams) | |
getCategoryList () | |
getVendorList () | |
getManufacturerList () | |
Protected Member Functions | |
_getEditValue ($oObject, $sField) | |
_processLongDesc ($sValue) | |
_resetCategoriesCounter ($sArticleId) | |
_copyCategories ($sOldId, $newArticleId) | |
_copyAttributes ($sOldId, $sNewId) | |
_copyFiles ($sOldId, $sNewId) | |
_copySelectlists ($sOldId, $sNewId) | |
_copyCrossseling ($sOldId, $sNewId) | |
_copyAccessoires ($sOldId, $sNewId) | |
_copyStaffelpreis ($sOldId, $sNewId) | |
_copyArtExtends ($sOldId, $sNewId) | |
_formJumpList ($oArticle, $oParentArticle) | |
_getTitle ($oObj) | |
updateArticle ($oArticle, $sOxId) | |
formQueryForCopyingToCategory ($newArticleId, $sUid, $sCatId, $sTime) | |
updateBase ($base) | |
customizeArticleInformation ($article) | |
saveAdditionalArticleData ($article, $parameters) | |
createArticle () | |
Admin article main manager. Collects and updates (on user submit) article base parameters data ( such as title, article No., short Description and etc.). Admin Menu: Manage Products -> Articles -> Main.
|
protected |
Copying accessoires assignments
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Copying article extends
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Copying attributes assignments
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Copying category assignments
string | $sOldId | Id from old article |
string | $newArticleId | Id from new article |
|
protected |
Copying crossseling assignments
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Copying files
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Copying selectlists assignments
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Copying staffelpreis assignments
string | $sOldId | Id from old article |
string | $sNewId | Id from new article |
|
protected |
Function forms article variants jump list.
object | $oArticle | article object |
object | $oParentArticle | article parent object |
|
protected |
Returns string which must be edited by editor
\OxidEsales\Eshop\Core\Model\BaseModel | $oObject | object with field will be used for editing |
string | $sField | name of editable field |
|
protected |
Returns formed variant title
object | $oObj | product object |
|
protected |
Fixes html broken by html editor
string | $sValue | value to fix |
|
protected |
Resets article categories counters
string | $sArticleId | Article id |
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::addDefaultValues | ( | $aParams | ) |
Sets default values for empty article (currently does nothing), returns array with parameters.
array | $aParams | Parameters, to set default values |
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::addToCategory | ( | $sCatID, | |
$sOXID | |||
) |
Add article to category.
string | $sCatID | Category id |
string | $sOXID | Article id |
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::copyArticle | ( | $sOldId = null , |
|
$sNewId = null , |
|||
$sParentId = null |
|||
) |
Copies article (with all parameters) to new articles.
string | $sOldId | old product id (default null) |
string | $sNewId | new product id (default null) |
string | $sParentId | product parent id |
|
protected |
|
protected |
Customize article data for rendering. Intended to be used by modules.
\OxidEsales\Eshop\Application\Model\Article | $article |
|
protected |
Forms query which is used for adding article to category.
string | $newArticleId | |
string | $sUid | |
string | $sCatId | |
string | $sTime |
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::getCategoryList | ( | ) |
Returns shop manufacturers list
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::getManufacturerList | ( | ) |
Returns shop manufacturers list
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::getVendorList | ( | ) |
Returns shop manufacturers list
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::render | ( | ) |
Loads article parameters and passes them to Smarty engine, returns name of template file "article_main.tpl".
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::save | ( | ) |
Saves changes of article parameters.
|
protected |
Save non standard article information if needed. Intended to be used by modules.
\OxidEsales\Eshop\Application\Model\Article | $article | |
array | $parameters |
OxidEsales\EshopCommunity\Application\Controller\Admin\ArticleMain::saveinnlang | ( | ) |
Saves article parameters in different language.
|
protected |
Loads language for article.
\OxidEsales\Eshop\Application\Model\Article | $oArticle | |
string | $sOxId |
|
protected |
\OxidEsales\Eshop\Core\Model\BaseModel | $base |