BUG 000 Second progress in the first version of the dashboards
This commit is contained in:
@@ -6,19 +6,56 @@
|
||||
*/
|
||||
|
||||
class Dashboard extends Controller {
|
||||
/**
|
||||
* getting default list
|
||||
* @param object $httpData
|
||||
*/
|
||||
|
||||
// Functions for the dashboards users module - Start
|
||||
|
||||
public function index($httpData) {
|
||||
$this->includeExtJS('dashboard/index');
|
||||
$this->includeExtJSLib('ux/portal');
|
||||
G::RenderPage('publish', 'extJs');
|
||||
}
|
||||
|
||||
public function renderDashletInstance($dasInsUid) {
|
||||
//
|
||||
}
|
||||
|
||||
// Functions for the dashboards users module - End
|
||||
|
||||
// Functions for the dasboards administration module - Start
|
||||
|
||||
public function dashletsList() {
|
||||
echo 'dashletsList';
|
||||
$headPublisher =& headPublisher::getSingleton();
|
||||
$headPublisher->addExtJsScript('dashboard/dashletsList', false);
|
||||
$headPublisher->addContent('dashboard/dashletsList');
|
||||
G::RenderPage('publish', 'extJs');
|
||||
}
|
||||
|
||||
public function getDashletsInstances() {
|
||||
//
|
||||
}
|
||||
|
||||
public function dashletInstanceForm($dasInsUid) {
|
||||
$headPublisher =& headPublisher::getSingleton();
|
||||
$headPublisher->addExtJsScript('dashboard/dashletInstanceForm', false);
|
||||
$headPublisher->addContent('dashboard/dashletInstanceForm');
|
||||
if ($dasInsUid != '') {
|
||||
// load data before render the form
|
||||
}
|
||||
G::RenderPage('publish', 'extJs');
|
||||
}
|
||||
|
||||
public function saveDashletInstance($data) {
|
||||
//
|
||||
}
|
||||
|
||||
public function deleteDashletInstance($dasInsUid) {
|
||||
//
|
||||
}
|
||||
|
||||
public function getOwnersByType($type) {
|
||||
//
|
||||
}
|
||||
|
||||
// Functions for the dasboards administration module - End
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user