| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Class ilCtrlStructureCidGenerator. More...
 Collaboration diagram for ilCtrlStructureCidGenerator:Public Member Functions | |
| __construct (int $starting_index=0) | |
| ilCtrlStructureCidGenerator Constructor  More... | |
| getIndexByCid (string $cid) | |
| Returns the index of a given cid.  More... | |
| getCidByIndex (int $index) | |
| Returns the cid for a given index.  More... | |
| getCid () | |
| Returns the next available cid.  More... | |
Private Member Functions | |
| invertIndex (int $index) | |
| Helper function that inverts an integer value.  More... | |
Private Attributes | |
| int | $index | 
Class ilCtrlStructureCidGenerator.
Definition at line 12 of file class.ilCtrlStructureCidGenerator.php.
| ilCtrlStructureCidGenerator::__construct | ( | int | $starting_index = 0 | ) | 
ilCtrlStructureCidGenerator Constructor
| int | $starting_index | 
Definition at line 24 of file class.ilCtrlStructureCidGenerator.php.
| ilCtrlStructureCidGenerator::getCid | ( | ) | 
Returns the next available cid.
Definition at line 67 of file class.ilCtrlStructureCidGenerator.php.
References getCidByIndex().
 Here is the call graph for this function:| ilCtrlStructureCidGenerator::getCidByIndex | ( | int | $index | ) | 
Returns the cid for a given index.
| int | $index | 
Definition at line 53 of file class.ilCtrlStructureCidGenerator.php.
References invertIndex().
Referenced by getCid().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCtrlStructureCidGenerator::getIndexByCid | ( | string | $cid | ) | 
Returns the index of a given cid.
| string | $cid | 
Definition at line 35 of file class.ilCtrlStructureCidGenerator.php.
References ILIAS\Repository\int(), and invertIndex().
 Here is the call graph for this function:
      
  | 
  private | 
Helper function that inverts an integer value.
| int | $index | 
Definition at line 78 of file class.ilCtrlStructureCidGenerator.php.
Referenced by getCidByIndex(), and getIndexByCid().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 17 of file class.ilCtrlStructureCidGenerator.php.