Article_Main Class Reference

Inheritance diagram for Article_Main:
[legend]
Collaboration diagram for Article_Main:
[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 10 of file article_main.php.


Public Member Functions

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

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

Article_Main.save (  ) 

Saves changes of article parameters.

Returns:
null

Reimplemented from oxAdminView.

Definition at line 118 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 253 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 342 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 370 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 396 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 418 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 440 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 462 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 487 of file article_main.php.

Article_Main.saveinnlang (  ) 

Saves article parameters in different language.

Returns:
null

Definition at line 502 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 594 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 607 of file article_main.php.

Article_Main._getTitle ( oObj  )  [protected]

Returns formed variant title

Parameters:
object &$oObj product object
Returns:
string

Definition at line 647 of file article_main.php.


Member Data Documentation

Article_Main.$_sSavedId = null [protected]

Definition at line 17 of file article_main.php.


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

Generated on Thu Dec 4 12:05:05 2008 for OXID eShop CE by  doxygen 1.5.5