Third progress with the dashboards (first version)

This commit is contained in:
Julio Cesar Laura
2011-10-31 14:39:52 -04:00
parent aecbcd8d64
commit 1b3e769841
6 changed files with 463 additions and 266 deletions

View File

@@ -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;
}
}
}