/** * Get an accounting reference item * * Method will return an accounting reference record * * @access public * @param mixed $nodeid The ID of the referenced item (customer id, order id, etc) OR the search criteria array for the reference data * @param string $type The node type (customer, product or order) * @param bool $valueOnly TRUE to only return the unserialised accountingrefvalue, FALSE for the whole record. Default is TRUE * @return array The accountingref record if one was found, FALSE otherwise */ public function getAccountingReference($nodeid, $type, $valueOnly = true) { return parent::getAccountingReference($this->getid(), $nodeid, $type, $valueOnly); }