A user Model.
- Todo:
- For now a UML model, however it should have subclass for each type of graphical language.
__construct |
( |
|
$name, |
|
|
|
$owner |
|
) |
| |
- Parameters
-
$owner | a User instance. |
$name | a String instance |
static retrieve |
( |
|
$name, |
|
|
|
$owner_name |
|
) |
| |
|
static |
Retrieve from the database the Model given by the name and its owner.
- Parameters
-
$name | a String. |
$owner_name | a String. |
- Returns
- a Model instance or null if it doesn't exists.
Update the json from the DB.
JSON that represent the model for the user interface.
Owner of the model. A User instance.
The documentation for this class was generated from the following file: