dolibarr  7.0.0-beta
Public Member Functions | List of all members
Dolistore Class Reference

Class Dolistore. More...

Public Member Functions

 __construct ()
 Constructor.
 
 getRemoteData ($options=array('start'=> 0, 'end'=> 10, 'per_page'=> 50, 'categorie'=> 0))
 Load data from remote Dolistore market place. More...
 
 get_categories ($parent=0)
 Return tree of Dolistore categories. More...
 
 get_products ()
 Return list of product formated for output. More...
 

Detailed Description

Class Dolistore.

Definition at line 26 of file dolistore.class.php.

Member Function Documentation

Dolistore::get_categories (   $parent = 0)

Return tree of Dolistore categories.

$this->categories must have been loaded before.

Parameters
int$parentId of parent category
Returns
string

Definition at line 148 of file dolistore.class.php.

References dol_escape_htmltag().

Dolistore::get_products ( )

Return list of product formated for output.

Returns
string HTML output

Definition at line 194 of file dolistore.class.php.

References dol_print_date(), and dol_stringtotime().

Dolistore::getRemoteData (   $options = array('start' => 0, 'end' => 10, 'per_page' => 50, 'categorie' => 0))

Load data from remote Dolistore market place.

This fills ->categories

Parameters
array$optionsOptions
Returns
void

Definition at line 69 of file dolistore.class.php.


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