Article_Main Class Reference

Inheritance diagram for Article_Main:

Inheritance graph
[legend]
Collaboration diagram for Article_Main:

Collaboration graph
[legend]

List of all members.


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.


Public Member Functions

 render ()
 save ()
 copyArticle ($sOldId=null, $sNewId=null, $sParentId=null)
 saveinnlang ()
 addDefaultValues ($aParams)
 getCategoryList ()
 getVendorList ()
 getManufacturerList ()

Protected Member Functions

 _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)

Protected Attributes

 $_sSavedId = null

Member Function Documentation

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 24 of file article_main.php.

Article_Main.save (  ) 

Saves changes of article parameters.

Returns:
null

Reimplemented from oxAdminView.

Definition at line 104 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
bool 
Returns:
null

Definition at line 243 of file article_main.php.

Article_Main._copyCategories ( sOldID,
sNewID 
) [protected]

Copying category assignments

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 334 of file article_main.php.

Article_Main._copyAttributes ( sOldID,
sNewID 
) [protected]

Copying attributes assignments

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 368 of file article_main.php.

Article_Main._copySelectlists ( sOldID,
sNewID 
) [protected]

Copying selectlists assignments

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 395 of file article_main.php.

Article_Main._copyCrossseling ( sOldID,
sNewID 
) [protected]

Copying crossseling assignments

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 421 of file article_main.php.

Article_Main._copyAccessoires ( sOldID,
sNewID 
) [protected]

Copying accessoires assignments

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 446 of file article_main.php.

Article_Main._copyStaffelpreis ( sOldID,
sNewID 
) [protected]

Copying staffelpreis assignments

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 471 of file article_main.php.

Article_Main._copyArtExtends ( sOldID,
sNewID 
) [protected]

Copying article extends

Parameters:
$sOldID string Id from old article
$sNewID string Id from new article
Returns:
null

Definition at line 496 of file article_main.php.

Article_Main.saveinnlang (  ) 

Saves article parameters in different language.

Returns:
null

Definition at line 511 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 610 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 623 of file article_main.php.

Article_Main._getTitle ( oObj  )  [protected]

Returns formed variant title

Parameters:
object &$oObj product object
Returns:
string

Definition at line 663 of file article_main.php.

Article_Main.getCategoryList (  ) 

Returns shop manufacturers list

Returns:
oxmanufacturerlist

Definition at line 678 of file article_main.php.

Article_Main.getVendorList (  ) 

Returns shop manufacturers list

Returns:
oxmanufacturerlist

Definition at line 690 of file article_main.php.

Article_Main.getManufacturerList (  ) 

Returns shop manufacturers list

Returns:
oxmanufacturerlist

Definition at line 703 of file article_main.php.


Member Data Documentation

Article_Main.$_sSavedId = null [protected]

Definition at line 16 of file article_main.php.


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

Generated on Wed Apr 22 12:27:24 2009 for OXID eShop CE by  doxygen 1.5.5