Third progress with the dashboards (first version)
This commit is contained in:
@@ -6,10 +6,79 @@ require_once 'model/DashletInstance.php';
|
||||
|
||||
class PMDashlet extends DashletInstance implements DashletInterface {
|
||||
|
||||
public function setup() {
|
||||
// Own properties
|
||||
|
||||
// Interface functions
|
||||
|
||||
public function setup($dasInsUid) {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
//recupera el registro
|
||||
/*$array = loadDB()
|
||||
//merge
|
||||
$c = new $className();
|
||||
$c->setup($array);*/
|
||||
}
|
||||
|
||||
public function render() {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
//$this->c->render();
|
||||
}
|
||||
|
||||
// Own functions
|
||||
|
||||
public function getDashletsInstances() {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
public function getDashletsInstancesQuantity() {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
public function saveDashletInstance($data) {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
public function deleteDashletInstance($dasInsUid) {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
public function getDashletsInstancesForUser($userUid) {
|
||||
try {
|
||||
//
|
||||
}
|
||||
catch (Exception $error) {
|
||||
throw $error;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user