public function relations() { return array('stores' => array(self::MANY_MANY, 'Store', 'manufacturer_to_store(manufacturer_id, store_id)')); }