mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 09:05:57 +00:00
a141aba650
All bulk edit tools will now use "bulk-edit-tools" HTML fragment, defined in base component GridFieldBulkEditingTools. Previous "GridFieldBulkEditingTools" is now GridFieldBulkEditingHelper.
19 lines
505 B
PHP
19 lines
505 B
PHP
<?php
|
|
/**
|
|
*
|
|
*
|
|
* @author colymba
|
|
* @package GridFieldBulkEditingTools
|
|
*/
|
|
class GridFieldBulkEditingTools implements GridField_HTMLProvider
|
|
{
|
|
public function getHTMLFragments($gridField)
|
|
{
|
|
Requirements::css('GridFieldBulkImageUpload/css/GridFieldBulkEditingTools.css');
|
|
|
|
return array(
|
|
//"footer" => '<tr><td colspan="'.$columnsCount.'">\$DefineFragment(bulk-edit-tools)</td></tr>'
|
|
"after" => "<div id=\"bulkEditTools\">\$DefineFragment(bulk-edit-tools)</div>"
|
|
);
|
|
}
|
|
} |