Esempio n. 1
0
 /**
  * Method to get a list of stores.
  *
  * @return  mixed  An array of data items on success, false on failure.
  *
  * @since   1.6.1
  */
 public function getItems()
 {
     $items = parent::getItems();
     // Get store roles
     $comquick2cartHelper = new comquick2cartHelper();
     foreach ($items as $item) {
         $item->role = $comquick2cartHelper->getRole($item->role);
     }
     return $items;
 }