Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
fam2po.php File Reference

Go to the source code of this file.

Functions

for($i=2;$i< count($argv);$i++) debugMessage ($msg)
 
 extractPOFromCSV ($fi, $podir)
 
 getArrayIndexValue (&$array, $index)
 
 ods2csv ($odsfile, $csvfile)
 
 ods2content ($odsfile)
 
 xmlcontent2csv ($xmlcontent)
 
 startElement ($parser, $name, $attrs)
 
 endElement ($parser, $name)
 
 characterData ($parser, $data)
 
 getOfficeTypedValue ($attrs)
 

Variables

const SEPCHAR ';'
 
const ALTSEPCHAR ' --- '
 
 $inrow = false
 
 $incell = false
 
 $nrow = 0
 
 $ncol = 0
 
 $rows = array()
 
 $colrepeat = 0
 
 $celldata = ''
 
 $cellattrs = array()
 
 $dbg = false
 
 $podir = $argv[1]
 

Function Documentation

characterData (   $parser,
  $data 
)
Parameters
$parserPhpUnusedParameterInspection

Definition at line 401 of file fam2po.php.

for ($i=2;$i< count($argv);$i++) debugMessage (   $msg)

Definition at line 65 of file fam2po.php.

endElement (   $parser,
  $name 
)
Parameters
$parserPhpUnusedParameterInspection

Definition at line 362 of file fam2po.php.

+ Here is the call graph for this function:

extractPOFromCSV (   $fi,
  $podir 
)

extractPOFromCSV from a CSV file and print it on standard output

Parameters
string$fifile input path
string$podirPo directory
Returns
void

Definition at line 79 of file fam2po.php.

+ Here is the call graph for this function:

getArrayIndexValue ( $array,
  $index 
)

Definition at line 241 of file fam2po.php.

getOfficeTypedValue (   $attrs)

Definition at line 411 of file fam2po.php.

ods2content (   $odsfile)

Extract content from an ods file

Parameters
string$odsfilefile path
Exceptions
Exception
Returns
string

Definition at line 274 of file fam2po.php.

ods2csv (   $odsfile,
  $csvfile 
)

Utilities function to produce a CSV from an ODS Take an ODS file and produce one CSV

Parameters
string$odsfilepath to ODS file
string$csvfilepath to CSV output file
Exceptions
Exception
Returns
void

Definition at line 254 of file fam2po.php.

+ Here is the call graph for this function:

startElement (   $parser,
  $name,
  $attrs 
)
Parameters
$parserPhpUnusedParameterInspection

Definition at line 322 of file fam2po.php.

xmlcontent2csv (   $xmlcontent)
Parameters
$xmlcontent
Exceptions
Exception
Returns
string

Definition at line 301 of file fam2po.php.

Variable Documentation

$cellattrs = array()

Definition at line 18 of file fam2po.php.

$celldata = ''

Definition at line 17 of file fam2po.php.

$colrepeat = 0

Definition at line 16 of file fam2po.php.

$dbg = false

Definition at line 19 of file fam2po.php.

$incell = false

Definition at line 12 of file fam2po.php.

$inrow = false

Definition at line 11 of file fam2po.php.

$ncol = 0

Definition at line 14 of file fam2po.php.

$nrow = 0

Definition at line 13 of file fam2po.php.

$podir = $argv[1]

Definition at line 20 of file fam2po.php.

$rows = array()

Definition at line 15 of file fam2po.php.

const ALTSEPCHAR ' --- '

Definition at line 9 of file fam2po.php.

const SEPCHAR ';'

Definition at line 8 of file fam2po.php.

← centre documentaire © anakeen