mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT Using actual classname in DataObjectSet->debug()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@65582 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5df97fba10
commit
79a7e6d27a
@ -739,7 +739,7 @@ class DataObjectSet extends ViewableData implements IteratorAggregate {
|
||||
* @return string
|
||||
*/
|
||||
public function debug() {
|
||||
$val = "<h2>dataobject set</h2><ul>";
|
||||
$val = "<h2>" . $this->class . "</h2><ul>";
|
||||
foreach($this as $item) {
|
||||
$val .= "<li style=\"list-style-type: disc; margin-left: 20px\">" . Debug::text($item) . "</li>";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user