PHP Classes

File: template/View/render-tool-content.phtml

Recommend this page to a friend!
  Classes of Fabrice Fesch   Melis Tool Creator   template/View/render-tool-content.phtml   Download  
File: template/View/render-tool-content.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: Melis Tool Creator
Module for the Melis CMS to create tools
Author: By
Last change:
Date: 1 year ago
Size: 976 bytes
 

Contents

Class file image Download
<?php
    $id
= $this->zoneconfig['conf']['id'];
   
$melisKey = $this->zoneconfig['conf']['melisKey'];
?>
<div id="<?php echo $id ?>" data-melisKey="<?php echo $melisKey; ?>">
    <div class="innerAll spacing-x2">
        <?php
            $this
->melisGenericTable()->setTable(array(
               
'id' => 'moduleTplTableContent',
               
'class' => 'table table-striped table-primary dt-responsive nowrap',
               
'cellspacing' => '0',
               
'width' => '100%'
           
));

           
$columns = array();
           
$columnStyle = array();

            foreach(
$this->tableColumns as $columnText)
            {
               
$columns[] = $columnText['text'];
            }

           
// set table columns
           
$this->MelisGenericTable()->setColumns($columns);

            echo
$this->melisGenericTable()->renderTable();
       
?>

        <script>
            <?php echo $this->toolTable; ?>
</script>
    </div>
</div>