src/ORM/ArrayList.php 1 location
|
@@ 119-126 (lines=8) @@
|
| 116 |
|
return $this; |
| 117 |
|
} |
| 118 |
|
|
| 119 |
|
public function debug() |
| 120 |
|
{ |
| 121 |
|
$val = "<h2>" . $this->class . "</h2><ul>"; |
| 122 |
|
foreach ($this->toNestedArray() as $item) { |
| 123 |
|
$val .= "<li style=\"list-style-type: disc; margin-left: 20px\">" . Debug::text($item) . "</li>"; |
| 124 |
|
} |
| 125 |
|
$val .= "</ul>"; |
| 126 |
|
return $val; |
| 127 |
|
} |
| 128 |
|
|
| 129 |
|
/** |
src/ORM/DataList.php 1 location
|
@@ 751-759 (lines=9) @@
|
| 748 |
|
return $this; |
| 749 |
|
} |
| 750 |
|
|
| 751 |
|
public function debug() |
| 752 |
|
{ |
| 753 |
|
$val = "<h2>" . $this->class . "</h2><ul>"; |
| 754 |
|
|
| 755 |
|
foreach ($this->toNestedArray() as $item) { |
| 756 |
|
$val .= "<li style=\"list-style-type: disc; margin-left: 20px\">" . Debug::text($item) . "</li>"; |
| 757 |
|
} |
| 758 |
|
$val .= "</ul>"; |
| 759 |
|
return $val; |
| 760 |
|
} |
| 761 |
|
|
| 762 |
|
/** |