getProductDocuments

Parameters

string product_id (optional)
string language_id (optional)

Sample

without product_id:

$this->load->library('dbimg');
$dbimg = Dbimg::get_instance($this->registry);
$documents = $dbimg->getProductDocuments();

return $documents;

with product_id:

$this->load->library('dbimg');
$dbimg = Dbimg::get_instance($this->registry);

$product_id = $this->request->get['product_id'];
$documents = $dbimg->getProductDocuments($product_id);

return $documents;

Returns

Array $documents

Conditions

Limitations

None

Last update: August 14th at 8:54am