PHP 클래스 Swiftriver\PreProcessingSteps\GoogleEnterpriseLanguageServicePreProcessingStep

상속: implements Swiftriver\Core\PreProcessing\IPreProcessingStep
파일 보기 프로젝트 열기: ushahidi/Swiftriver-2011

공개 메소드들

메소드 설명
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() 공개 메소드