Functions | |
changeUserPW () | |
resetDB () | |
changeUserInfo () | |
setEnvVar () | |
resetAllDB () | |
echoUserTable ($sUserID, $sLastName, $sFirstName, $sFieldOfStudy, $sEmail, $sLastLogin) | |
writeConfig ($sDBSystem, $sDBHost, $sDBPort, $sDBInstance, $sDBAdminUser, $sDBAdminPw, $sLanguage, $sDataDir, $sRegPassword, $sMaxNumResults, $bEmailSupport, $sTitle, $sEmail, $bNewFile) |
changeUserInfo | ( | ) |
Changes the user information of the logged in user.
changeUserPW | ( | ) |
Changes the user password of the logged in user.
echoUserTable | ( | $ | sUserID, | |
$ | sLastName, | |||
$ | sFirstName, | |||
$ | sFieldOfStudy, | |||
$ | sEmail, | |||
$ | sLastLogin | |||
) |
Returns the HTML code for the user administration table.
$sUserID | User ID. | |
$sLastName | Last name of the user. | |
$sFirstName | First name of the user. | |
$sFieldOfStudy | Field of study of the user. | |
$sEmail | E-mail of the user. | |
$sLastLogin | Date of last login. |
resetAllDB | ( | ) |
Resetting all user databases.
resetDB | ( | ) |
Resets a user database of the logged in user.
setEnvVar | ( | ) |
Setting new environment vairables and writ configuration file.
writeConfig | ( | $ | sDBSystem, | |
$ | sDBHost, | |||
$ | sDBPort, | |||
$ | sDBInstance, | |||
$ | sDBAdminUser, | |||
$ | sDBAdminPw, | |||
$ | sLanguage, | |||
$ | sDataDir, | |||
$ | sRegPassword, | |||
$ | sMaxNumResults, | |||
$ | bEmailSupport, | |||
$ | sTitle, | |||
$ | sEmail, | |||
$ | bNewFile | |||
) |
Writes the configuration file.
$sDBSystem | Database system identifier (e.g. "mysql", "pgsql" a.s.o.). | |
$sDBHost | Database host. | |
$sDBPort | Port on which database is listening. | |
$sDBInstance | Name of the database instance. | |
$sDBAdminUser | Database and elSQL administrator user name. | |
$sDBAdminPw | Database and elSQL administrator password. | |
$sLanguage | Selected frontend language. | |
$sDataDir | Data directory. | |
$sRegPassword | Registration password. | |
$sMaxNumResults | Maximum number of shown rows in result sets. | |
$bEmailSupport | True if server is capable to send e-mails, otherwise false. | |
$sTitle | Title of this application, normally the university name. | |
$sEmail | Administrator e-mail address. | |
$bNewFile | Set true to create a new file, false to edit the existing file. |