Documentation

CStudent::GenerateTranscipt

int
CStudent::GenerateTranscipt(
 int TranscriptLength = 8
);

The GenerateTranscipt method returns a random numeric identifier.

Parameters

ParameterDescription
TranscriptLength The length of the numeric identifier. The default value is 8.

Return Values

The method returns a random number.

See Also

  • CStudent::Add

    Example

    
    <?
    if (CModule::IncludeModule("learning"))
    {
        echo CStudent::GenerateTranscipt();
    }
    ?>
  • © «Bitrix24», 2001-2024