PHP Класс Swiftriver\PreProcessingSteps\GoogleEnterpriseLanguageServicePreProcessingStep

Наследование: implements Swiftriver\Core\PreProcessing\IPreProcessingStep
Показать файл Открыть проект

Открытые методы

Метод Описание
Description ( )
Name ( )
Process ( Content[] $contentItems, CoreConfigurationHandler $configuration, Log $logger ) : Content[] Given a collection of content items, this method will use the Enterprise version of the Google Translation Services to both assertain the language the content was writen in and where possible and nessasary, translate that content to the base language.
ReturnRequiredParameters ( )

Описание методов

Description() публичный Метод

public Description ( )

Name() публичный Метод

public Name ( )

Process() публичный Метод

Each piece of content that comes into this method, can expect to be returned with this pattern - ie: the $content->text[0] LanguageSpecificText class being in the base language and (if applicable) the original LanguageSpecificText class begin at $content->text[1]
public Process ( Content[] $contentItems, CoreConfigurationHandler $configuration, Log $logger ) : Content[]
$contentItems Swiftriver\Core\ObjectModel\Content[]
$configuration Swiftriver\Core\Configuration\ConfigurationHandlers\CoreConfigurationHandler
$logger Log
Результат Swiftriver\Core\ObjectModel\Content[]

ReturnRequiredParameters() публичный Метод