silverstripe-cms/code/StatisticsAdmin.php
Ingo Schommer 8fe47c6e87 qhoxie: basic setup for statistics viewing and handling in the cms
(merged from branches/gsoc)


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41801 467b73ca-7a2a-4603-9d3b-597d59a354a9
2007-09-14 19:33:51 +00:00

33 lines
705 B
PHP

<?php
class StatisticsAdmin extends LeftAndMain {
/**
* Initialisation method called before accessing any functionality that BulkLoaderAdmin has to offer
*/
public function init() {
//Requirements::javascript('cms/javascript/StatisticsAdmin_left.js');
//Requirements::javascript('cms/javascript/StatisticsAdmin_right.js');
parent::init();
}
public function Link($action=null) {
return "admin/statistics/$action";
}
/**
* Form that will be shown when we open one of the items
*/
public function getEditForm($id = null) {
return new Form($this, "EditForm",
new FieldSet(
new ReadonlyField('id #',$id)
),
new FieldSet(
new FormAction('go')
)
);
}
}
?>