mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Fixed 3.2 compat
This commit is contained in:
parent
6b9ac25b6c
commit
bcb0665873
@ -12,17 +12,17 @@
|
|||||||
*/
|
*/
|
||||||
class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
class ReportAdmin extends LeftAndMain implements PermissionProvider {
|
||||||
|
|
||||||
public static $url_segment = 'reports';
|
private static $url_segment = 'reports';
|
||||||
|
|
||||||
public static $url_rule = '/$ReportClass/$Action';
|
private static $url_rule = '/$ReportClass/$Action';
|
||||||
|
|
||||||
public static $menu_title = 'Reports';
|
private static $menu_title = 'Reports';
|
||||||
|
|
||||||
public static $template_path = null; // defaults to (project)/templates/email
|
private static $template_path = null; // defaults to (project)/templates/email
|
||||||
|
|
||||||
public static $tree_class = 'SS_Report';
|
private static $tree_class = 'SS_Report';
|
||||||
|
|
||||||
public static $url_handlers = array(
|
private static $url_handlers = array(
|
||||||
'$ReportClass/$Action' => 'handleAction'
|
'$ReportClass/$Action' => 'handleAction'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -13,6 +13,6 @@
|
|||||||
}],
|
}],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.2",
|
"php": ">=5.3.2",
|
||||||
"silverstripe/framework": ">=3.1.x-dev"
|
"silverstripe/framework": "~3.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user