2012-07-20 20:04:38 +02:00
|
|
|
<?php
|
|
|
|
/**
|
2012-08-07 23:02:13 +02:00
|
|
|
* Base Component for all 'GridFieldBulkEditingTools'
|
|
|
|
* defines the common HTML fragment
|
2012-07-20 20:04:38 +02:00
|
|
|
*
|
|
|
|
* @author colymba
|
2012-07-28 13:16:05 +02:00
|
|
|
* @package GridFieldBulkEditingTools
|
2012-07-20 20:04:38 +02:00
|
|
|
*/
|
2012-08-07 22:51:54 +02:00
|
|
|
class GridFieldBulkEditingTools implements GridField_HTMLProvider
|
|
|
|
{
|
|
|
|
public function getHTMLFragments($gridField)
|
|
|
|
{
|
2012-08-07 22:56:59 +02:00
|
|
|
Requirements::css(BULK_EDIT_TOOLS_PATH . '/css/GridFieldBulkEditingTools.css');
|
2012-08-07 22:51:54 +02:00
|
|
|
|
|
|
|
return array(
|
|
|
|
"after" => "<div id=\"bulkEditTools\">\$DefineFragment(bulk-edit-tools)</div>"
|
|
|
|
);
|
|
|
|
}
|
2012-07-20 20:04:38 +02:00
|
|
|
}
|