int CStudent::GenerateTranscipt( int TranscriptLength = 8 );
The GenerateTranscipt method returns a random numeric identifier.
| Parameter | Description |
|---|---|
| TranscriptLength | The length of the numeric identifier. The default value is 8. |
The method returns a random number.
<?
if (CModule::IncludeModule("learning"))
{
echo CStudent::GenerateTranscipt();
}
?>| © 2001-2007 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |