Public Member Functions | Protected Member Functions

Article_Main Class Reference

Inheritance diagram for Article_Main:
Collaboration diagram for Article_Main:

List of all members.

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)
 _copyCategories ($sOldId, $sNewId)
 _copyAttributes ($sOldId, $sNewId)
 _copySelectlists ($sOldId, $sNewId)
 _copyCrossseling ($sOldId, $sNewId)
 _copyAccessoires ($sOldId, $sNewId)
 _copyStaffelpreis ($sOldId, $sNewId)
 _copyArtExtends ($sOldId, $sNewId)
 _formJumpList ($oArticle, $oParentArticle)
 _getTitle ($oObj)

Detailed Description

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.

Definition at line 9 of file article_main.php.


Member Function Documentation

Article_Main._copyAccessoires ( sOldId,
sNewId 
) [protected]

Copying accessoires assignments

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 495 of file article_main.php.

Article_Main._copyArtExtends ( sOldId,
sNewId 
) [protected]

Copying article extends

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 544 of file article_main.php.

Article_Main._copyAttributes ( sOldId,
sNewId 
) [protected]

Copying attributes assignments

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 416 of file article_main.php.

Article_Main._copyCategories ( sOldId,
sNewId 
) [protected]

Copying category assignments

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 382 of file article_main.php.

Article_Main._copyCrossseling ( sOldId,
sNewId 
) [protected]

Copying crossseling assignments

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 470 of file article_main.php.

Article_Main._copySelectlists ( sOldId,
sNewId 
) [protected]

Copying selectlists assignments

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 445 of file article_main.php.

Article_Main._copyStaffelpreis ( sOldId,
sNewId 
) [protected]

Copying staffelpreis assignments

Parameters:
string $sOldId Id from old article
string $sNewId Id from new article
Returns:
null

Definition at line 520 of file article_main.php.

Article_Main._formJumpList ( oArticle,
oParentArticle 
) [protected]

Function forms article variants jump list.

Parameters:
object $oArticle article object
object $oParentArticle article parent object
Returns:
null

Definition at line 585 of file article_main.php.

Article_Main._getEditValue ( oObject,
sField 
) [protected]

Returns string which must be edited by editor

Parameters:
oxbase $oObject object whifh field will be used for editing
string $sField name of editable field
Returns:
string

Reimplemented from oxAdminDetails.

Definition at line 93 of file article_main.php.

Article_Main._getTitle ( oObj  )  [protected]

Returns formed variant title

Parameters:
object $oObj product object
Returns:
string

Definition at line 625 of file article_main.php.

Article_Main._processLongDesc ( sValue  )  [protected]

Fixes html broken by html editor

Parameters:
string $sValue value to fix
Returns:
string

Definition at line 236 of file article_main.php.

Article_Main.addDefaultValues ( aParams  ) 

Sets default values for empty article (currently does nothing), returns array with parameters.

Parameters:
array $aParams Parameters, to set default values
Returns:
array

Definition at line 572 of file article_main.php.

Article_Main.addToCategory ( sCatID,
sOXID 
)

Add article to category.

Parameters:
string $sCatID Category id
string $sOXID Article id
Returns:
null

Definition at line 256 of file article_main.php.

Article_Main.copyArticle ( sOldId = null,
sNewId = null,
sParentId = null 
)

Copies article (with all parameters) to new articles.

Parameters:
string $sOldId old product id (default null)
string $sNewId new product id (default null)
string $sParentId product parent id
Returns:
null

Definition at line 281 of file article_main.php.

Article_Main.getCategoryList (  ) 

Returns shop manufacturers list

Returns:
oxmanufacturerlist

Definition at line 640 of file article_main.php.

Article_Main.getManufacturerList (  ) 

Returns shop manufacturers list

Returns:
oxmanufacturerlist

Definition at line 665 of file article_main.php.

Article_Main.getVendorList (  ) 

Returns shop manufacturers list

Returns:
oxmanufacturerlist

Definition at line 652 of file article_main.php.

Article_Main.render (  ) 

Loads article parameters and passes them to Smarty engine, returns name of template file "article_main.tpl".

Returns:
string

Reimplemented from oxAdminDetails.

Definition at line 17 of file article_main.php.

Article_Main.save (  ) 

Saves changes of article parameters.

Returns:
null

Reimplemented from oxAdminView.

Definition at line 110 of file article_main.php.

Article_Main.saveinnlang (  ) 

Saves article parameters in different language.

Returns:
null

Definition at line 559 of file article_main.php.


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