Pluf_Translation_Generator Class Reference

List of all members.

Public Member Functions

 generate ($outputdir)

Static Public Member Functions

static list_dir ($path, $maxdepth=-1, $mode='FULL', $exclude='', $d=0)
static rmkdir ($dir, $mode=0777)
static is_pathrelative ($dir)
static unifypath ($path)
static real_path ($path)

Public Attributes

 $outputdir = ''


Detailed Description

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

Member Function Documentation

static Pluf_Translation_Generator::list_dir ( path,
maxdepth = -1,
mode = 'FULL',
exclude = '',
d = 0 
) [static]

Recursive listing of the content of a folder.

http://php.net/dir

Parameters:
string Path to browse
int How deep to browse (-1=unlimited)
string Mode "FULL"|"DIRS"|"FILES" ('FULL')
sring Pattern to exclude some files ('')
int Must not be defined (0)
Returns:
array List of files

static Pluf_Translation_Generator::rmkdir ( dir,
mode = 0777 
) [static]

Recursive make of a directory.

http://php.net/mkdir

Parameters:
string Directory to make
octal Chmod of the directory (0777)
Returns:
bool Success

static Pluf_Translation_Generator::is_pathrelative ( dir  )  [static]

static Pluf_Translation_Generator::unifypath ( path  )  [static]

static Pluf_Translation_Generator::real_path ( path  )  [static]

Pluf_Translation_Generator::generate ( outputdir  ) 

Generate the files.


Member Data Documentation

Pluf_Translation_Generator::$outputdir = ''


The documentation for this class was generated from the following file:

Generated on Wed Feb 3 15:44:52 2010 for Pluf by  doxygen