Public Member Functions | Protected Member Functions | Protected Attributes

Article_List Class Reference

Inheritance diagram for Article_List:
Collaboration diagram for Article_List:

List of all members.

Public Member Functions

 render ()
 getCategoryList ($sType, $sValue)
 getManufacturerList ($sType, $sValue)
 getVendorList ($sType, $sValue)
 buildWhere ()
 deleteEntry ()

Protected Member Functions

 _changeselect ($sSql)
 _prepareWhereQuery ($aWhere, $sQ)

Protected Attributes

 $_sListClass = 'oxarticle'
 $_sListType = 'oxarticlelist'

Detailed Description

Admin article list manager. Collects base article information (according to filtering rules), performs sorting, deletion of articles, etc. Admin Menu: Manage Products -> Articles.

Definition at line 9 of file article_list.php.


Member Function Documentation

Article_List._changeselect ( sSql  )  [protected]

Sets articles sorting by category.

Parameters:
string $sSql sql string
Returns:
string

Reimplemented from oxAdminList.

Definition at line 178 of file article_list.php.

Article_List._prepareWhereQuery ( aWhere,
sQ 
) [protected]

Adding empty parent check

Parameters:
array $aWhere SQL condition array
string $sQ SQL query string
Returns:
$sQ

Reimplemented from oxAdminList.

Reimplemented in List_Review.

Definition at line 234 of file article_list.php.

Article_List.buildWhere (  ) 

Builds and returns array of SQL WHERE conditions.

Returns:
array

Reimplemented from oxAdminList.

Definition at line 211 of file article_list.php.

Article_List.deleteEntry (  ) 

Deletes entry from the database

Returns:
null

Reimplemented from oxAdminList.

Definition at line 246 of file article_list.php.

Article_List.getCategoryList ( sType,
sValue 
)

Load category list, mark active category;

Parameters:
string $sType active list type
string $sValue active list item id
Returns:
oxCategoryList

Definition at line 104 of file article_list.php.

Article_List.getManufacturerList ( sType,
sValue 
)

Load manufacturer list, mark active category;

Parameters:
string $sType active list type
string $sValue active list item id
Returns:
oxManufacturerList

Definition at line 131 of file article_list.php.

Article_List.getVendorList ( sType,
sValue 
)

Load vendor list, mark active category;

Parameters:
string $sType active list type
string $sValue active list item id
Returns:
oxVendorList

Definition at line 155 of file article_list.php.

Article_List.render (  ) 

Collects articles base data and passes them according to filtering rules, returns name of template file "article_list.tpl".

Returns:
string

Reimplemented from oxAdminList.

Reimplemented in List_Review.

Definition at line 31 of file article_list.php.


Member Data Documentation

Article_List.$_sListClass = 'oxarticle' [protected]

Reimplemented from oxAdminList.

Reimplemented in List_Review.

Definition at line 16 of file article_list.php.

Article_List.$_sListType = 'oxarticlelist' [protected]

Reimplemented from oxAdminList.

Reimplemented in List_Review.

Definition at line 23 of file article_list.php.


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