added namespace

This commit is contained in:
Roland Gruber 2017-03-06 19:16:02 +01:00
parent cb1ffbef07
commit a3d6ea07b4
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,5 @@
<?php <?php
namespace LAM\HELP;
/* /*
$Id$ $Id$
@ -33,11 +34,11 @@ $Id$
*/ */
// generate help entry for translated list attributes // generate help entry for translated list attributes
$types = LAM\TYPES\getTypes(); $types = \LAM\TYPES\getTypes();
$entry206Example = ""; $entry206Example = "";
for ($i = 0; $i < sizeof($types); $i++) { for ($i = 0; $i < sizeof($types); $i++) {
$entry206Example .= "<b>" . LAM\TYPES\getTypeAlias($types[$i]) . ":</b><br>\n"; $entry206Example .= "<b>" . \LAM\TYPES\getTypeAlias($types[$i]) . ":</b><br>\n";
$descriptions = LAM\TYPES\getListAttributeDescriptions($types[$i]); $descriptions = \LAM\TYPES\getListAttributeDescriptions($types[$i]);
$attributes = array_keys($descriptions); $attributes = array_keys($descriptions);
for ($a = 0; $a < sizeof($attributes); $a++) { for ($a = 0; $a < sizeof($attributes); $a++) {
$entry206Example .= "#" . $attributes[$a] . ": " . $descriptions[$attributes[$a]]; $entry206Example .= "#" . $attributes[$a] . ": " . $descriptions[$attributes[$a]];

View File

@ -1,4 +1,5 @@
<?php <?php
namespace LAM\ACCOUNTLIST;
/* /*
$Id$ $Id$