Table of content
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Advanced Use
Rendering Options
...
Code Block |
---|
$opt = array( 'resource' => 'products',
'display' => 'full' );
|
Include only the ID of all carriers "carriers"
...
Code Block |
---|
$opt = array( 'resource' => 'configurations',
'display' => '[name,value]');
|
Rendering Filters
...
Code Block |
---|
$opt = array( 'resource' => 'customers', 'display' => '[firstname,lastname]', 'filter[id]' => '[1|5]' ); |
...
Code Block |
---|
$opt = array( 'resource' =>'customers', 'display' => '[lastname]', 'filter[id]' => '[1,10]'); |
...
Code Block |
---|
$opt = array( 'resource' =>'customers', 'display' => '[birthday]', 'filter[firstname]' => '[John]', 'filter[lastname]' => '[DOE]' ); |
Only include the names of manufacturers "manufacturers" whose name begins with "Appl"
...
Code Block |
---|
$opt = array( 'resource' => 'manufacturers', 'display' => '[name]', 'filter[name]' => '[appl]%'); |
...
Code Block |
---|
$opt = array( 'resource' => 'customers', 'display' => 'full', 'sort' => '[lastname_ASC]' ); |
Filters to limit rendering
...