Update class for step 3004.
More...
Update class for step 3004.
Definition at line 8 of file class.ilDBUpdate3004.php.
◆ createPathFromId()
static ilDBUpdate3004::createPathFromId |
( |
|
$a_container_id, |
|
|
|
$a_name |
|
) |
| |
|
static |
Definition at line 10 of file class.ilDBUpdate3004.php.
References $i, $path, and array.
17 $num = $a_container_id;
18 for (
$i = $max_exponent;
$i > 0;
$i--) {
19 $factor = pow($st_factor,
$i);
20 if (($tmp = (
int) ($num / $factor)) or $found) {
22 $num = $num % $factor;
28 $path_string = (implode(
'/',
$path) .
'/');
30 return $path_string . $a_name .
'_' . $a_container_id;
Create styles array
The data for the language used.
The documentation for this class was generated from the following file: