Register Lost your password?

public function fAddList(array arrDatsList, array arrParamsList = array())

Parameters

$arrDatsList

  • The array data to introduce in the document



$arrParamsList

  • ‘val’ (list type): 0 (clear), 1 (inordinate), 2 (numerical)
  • ‘font’ (A specific size and style of font type within a type family. Example ‘Times New Roman’, ‘Arial’,…)

Examples

Example 1


require_once('../classes/cCreateDocx.inc');
$objDocx = new cCreateDocx();
$arrDatsList = array(
    'Line 1',
    'Line 2',
    'Line 3',
    'Line 4',
    'Line 5'
  );

  $arrParamsList = array(
    'val' => 1
  );

$objDocx->fAddList($arrDatsList, $arrParamsList);

$objDocx->fCreateDocx('ejemplo_lista');

Your comments