\Pluf_Translation_Generator

Extract all the strings from the template folders and create 'template'.php files with the strings to be translated.

Summary

Methods
Properties
Constants
list_dir()
rmkdir()
is_pathrelative()
unifypath()
real_path()
generate()
$outputdir
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$outputdir

$outputdir : 

Type

Methods

list_dir()

list_dir(  $path,   $maxdepth = -1,   $mode = 'FULL',   $exclude = '',   $d) : array

Recursive listing of the content of a folder.

Parameters

$path
$maxdepth
$mode
$exclude
$d

Returns

array —

List of files

rmkdir()

rmkdir(  $dir,   $mode = 511) : boolean

Recursive make of a directory.

Parameters

$dir
$mode

Returns

boolean —

Success

is_pathrelative()

is_pathrelative(  $dir) 

Parameters

$dir

unifypath()

unifypath(  $path) 

Parameters

$path

real_path()

real_path(  $path) 

Parameters

$path

generate()

generate(  $outputdir) 

Generate the files.

Parameters

$outputdir