LocalizationExtractTask

Extends \ExtractTask

LocalizationExtractTask

package

Localization

subpackage

Console.Command.Task

Methods

{@inheritdoc}

_extract() 

Extract tokens out of all files to be processed

_extractTokens() : void

Parse file for tokens

_getTokens(string $file) : array

Arguments

$file

string

Response

array

hhvm fix for bug https://github.com/facebook/hhvm/issues/4007

_hhvmFix() 

{@inheritdoc}

_isPathUsable(string $path) : boolean

Arguments

$path

string

Path to folder

Response

boolean

true if it exists and is writable, false otherwise

{@inheritdoc}

_searchFiles() 

Save messages into DB

_writeDb() 

Save one record

_writeOneDb(string $msgid, array $details) 

Arguments

$msgid

string

$details

array

{@inheritdoc}

execute() 

{@inheritdoc}

getOptionParser() : \ConsoleOptionParser

Response

\ConsoleOptionParser

Properties

{@inheritdoc}

name : string
var

Type(s)

string

{@inheritdoc}

uses : array
var

Type(s)

array

Allowed file types

fileTypes : 

Type(s)

Message

Message : \Message

Localization Message model

Type(s)

\Message