Constructor & Destructor Documentation
Construct the Module object
- Parameters:
-
array | $config | The multidimentionnal array containing the application's configuration |
array | $translationTable | The translation table |
Reimplemented from baseModule_RELEX_TARIQANG.
Member Function Documentation
Process the request that have the page set to ajax
Reimplemented from mModule.
Gets the default template file public
- Returns:
- string|null
Reimplemented from mModule.
Render the module
- Returns:
- string
Reimplemented from mModule.
static shareItem |
( |
$ |
user, |
|
|
$ |
db, |
|
|
$ |
share_with, |
|
|
$ |
data, |
|
|
$ |
type, |
|
|
$ |
message, |
|
|
$ |
config, |
|
|
$ |
translationTable |
|
) |
| [static] |
Shares a list of articles
- Parameters:
-
tariqaUser | $user | The user trying to share the article |
mMysql | $db | The database connection |
| string[] | $share_with The list of users to share with (the format should be the following: for each id a string in POST format - mail=your-.nosp@m.acco.nosp@m.unt@y.nosp@m.our-.nosp@m.serve.nosp@m.r.co.nosp@m.m&id=your-id) |
array | $data | The data to be shared |
string | $type | The type of the sharing (search or article) |
string | $message | A custom message for the users that you are sharing the material with. |
array | $config | The configuration array |
array | $translationTable | The translation table public |
- Returns:
- string
static uniqueID |
( |
$ |
db | ) |
[static, protected] |
Generates an unique ID
- Parameters:
-
mMysql | $db | The database connection protected |
- Returns:
- int
Field Documentation
The documentation for this class was generated from the following file: