Chore: Verschiebe Git-Repository in das Hauptverzeichnis und richte .gitignore ein
This commit is contained in:
commit
96d0545193
502 files changed
+176027
No files matched your search
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace HermannTelser\Gutachten\Downloads;
|
||||
|
||||
use HermannTelser\Gutachten\Utility\Helper;
|
||||
|
||||
class Inhaltsverzeichnis
|
||||
{
|
||||
/**
|
||||
* @param mixed $value
|
||||
* @param mixed $_platzhalter
|
||||
* @param mixed $_gutachter
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public static function create($value, $_platzhalter)
|
||||
{
|
||||
$html .= '<div class="header">INHALTSVERZEICHNIS</div>';
|
||||
|
||||
$tmp = Helper::replacePlatzhalter($_platzhalter, $value['txt']);
|
||||
$_inhalt = explode('<br />', $tmp);
|
||||
|
||||
$table = '<table class="inhalt">';
|
||||
foreach ($_inhalt as $key => $value) {
|
||||
|
||||
$_row = explode('|', $value);
|
||||
$table .= Helper::table_row($_row, 0, 0);
|
||||
}
|
||||
$table .= '</table>';
|
||||
$html .= $table;
|
||||
|
||||
return $html;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user