Set Translation TableGateway

@param AbstractTableGateway $tableGateway TableGateway Instance

@return $this
499462
public function setTranslationTable(AbstractTableGateway $tableGateway)
	{
		// If Translation table dont have adapter yet
		if (! $tableGateway->getAdapter()
            && $tableGateway instanceof \Zend\Db\Adapter\AdapterAwareInterface
        ) {
			$tableGateway->setAdapter($this->tableGateway->adapter); 
		}
		
		$this->i18nTable = $tableGateway;

		return $this;
	}
14957
public function setOrigin($originIso, $originPath, $originLanguagePath)
	{
		$this->originIso = $originIso;
		$this->originPath = $originPath;
		$this->originLanguagePath = $originLanguagePath;
		$this->langkeyValidator->setOrigin($originIso, $originPath, $originLanguagePath);
		return $this;
	}
741558
public function updateMigration($tableName, MigrationCapsule $migrationCapsule)
    {
        $capsules = $this->all();

        foreach ($capsules as $capsule) {
            if ($capsule->tableName == $tableName) {
                $capsule->updateMigration($migrationCapsule);
            }
        }

        $this->write($capsules);

        return $this;
    }
584259
public function setSource($sourceIso, $sourcePath, $sourceLanguagePath)
	{
		$this->sourceIso = $sourceIso;
		$this->sourcePath = $sourcePath;
		$this->sourceLanguagePath = $sourceLanguagePath;
		$this->langkeyValidator->setSource($sourceIso, $sourcePath, $sourceLanguagePath);
		return $this;
	}
476649
public function set_translation(\Skeleton\I18n\Translation $translation) {
		if ($this->i18n_available === true) {
			$this->translation = $translation;
		} else {
			throw new \Exception('Translation is not available, class not found');
		}
	}
735469
public function setDefaultTranslateLanguage($languageSlug = '')
    {
        if(!$languageSlug) {
            $languageSlug = App::getLocale();
        }
        $this->_defaultTranslateLanguage = $languageSlug;
        return $this;
    }
1354338
public function setJoinData(Table $table, EntityInterface $entity) : self
    {
        $entityClass = $table->getEntityClass();
        if (! $entity instanceof $entityClass) {
            throw new InvalidArgumentException(sprintf(
                'Entity must be an instance of "%s". Instead, instance of "%s" was provided.',
                $table->getEntityClass(),
                get_class($entity)
            ));
        }

        $this->joinTable = $table;
        $this->entity = $entity;

        return $this;
    }
150391
public function setTranslatableLang($lang)
    {
        if (is_string($lang)) {
            $lang = new Lang($lang);
        }

        $this->translatableLang = $lang;

        return $this;
    }
650331
public function setTableAlias($tableAlias)
    {
        if (trim($tableAlias) == '') {
            $tableAlias = null;
        }
        $this->tableAlias = $tableAlias;

        return $this;
    }
1039271
public function setTable(Zend_Db_Table_Abstract $table)
    {
        $this->_adapter = $table->getAdapter();
        $this->_info    = $table->info();
        $this->_table   = $table;

        return $this;
    }
225724
public function addTranslation(TranslationInterface $translation)
    {
        if (!$this->translations->contains($translation)) {
            $this->translations[$translation->getLocale()] = $translation;
            $translation->setTranslatable($this);
        }
    
        return $this;
    }
285930
public function setLang(Lang $language = null)
    {
        $this->language = $language;

        if ($this->originalOrderAndAliases === null) {
            $this->originalOrderAndAliases = $this->orderAndAliases;
        }

        if ($this->language !== null && $this->orderAndAliases !== null) {
            $previousLocale = Translator::getInstance()->getLocale();

            Translator::getInstance()->setLocale($this->language->getLocale());
            foreach ($this->orderAndAliases as &$alias) {
                $alias = Translator::getInstance()->trans($alias);
            }

            Translator::getInstance()->setLocale($previousLocale);
        }

        return $this;
    }
918467
public function setTranslatable(TranslatableInterface $translatable = null)
    {
        if ($this->translatable == $translatable) {
            return $this;
        }
    
        $old = $this->translatable;
        $this->translatable = $translatable;
    
        if ($old !== null) {
            $old->removeTranslation($this);
        }
    
        if ($translatable !== null) {
            $translatable->addTranslation($this);
        }
    
        return $this;
    }
1029458
public function setTranslator(\Symfony\Component\Translation\Translator $translator)
    {
        $this->translator = $translator;
        return $this->translator;
    }
597073
function setProtocol($protocol)
    {
        $protocol = (string) $protocol;
        $protocol = strtolower($protocol);
        
        if ($protocol !== 'http' && $protocol !== 'https')
            throw new \InvalidArgumentException(sprintf(
                'Protocol (%s) not supported; using "http" or "https".'
                , $protocol
            ));
        
        $this->protocol = $protocol;
        return $this;
    }
104927
public function setTranslatable(TranslatableInterface $translatable = null)
    {
        if ($translatable === $this->translatable) {
            return $this;
        }

        $previousTranslatable = $this->translatable;
        $this->translatable = $translatable;

        /** @var TranslationInterface $this */
        if (null !== $previousTranslatable) {
            $previousTranslatable->removeTranslation($this);
        }

        if (null !== $translatable) {
            $translatable->addTranslation($this);
        }

        return $this;
    }
842611
protected function setTableAlias(QueryBuilder $qb, $tableName)
    {
        $this->_tableAlias = $qb->makeAliasKey($tableName);

        return $this;
    }