function getSuppliers($type) { if (isset($this->suppliers[$type])) { return $this->suppliers[$type]; } return array(); }