_default_template() protected méthode

Default Template
protected _default_template ( ) : array
Résultat array
Exemple #1
0
 function _default_template()
 {
     $default_template = parent::_default_template();
     $default_template['table_open'] = '<table';
     foreach ($this->attributes as $attr => $value) {
         $default_template['table_open'] .= " {$attr}=\"{$value}\"";
     }
     $default_template['table_open'] .= '>';
     $default_template['row_alt_start'] = '<tr class="oddLine">';
     return $default_template;
 }