PHP Classes

File: zray/Panels/hooks.phtml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/Panels/hooks.phtml   Download  
File: zray/Panels/hooks.phtml
Role: Example script
Content type: text/plain
Description: Example script
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 2 years ago
Size: 601 bytes
 

Contents

Class file image Download
<?php
$tableParams
= array(
   
'tableId' => 'codeigniter-hooks-table',
   
'tableWidth' => '4',
);
echo
$this->zrayTable($tableParams);
?>

<script type="text/javascript">
(function() {
    var storage = zray.getStorage('CodeIgniterHooks');

    // create main table
    var maintable = zray.createTreeTable(storage, jQuery('#<?php echo $tableParams['tableId']; ?>'));
    zray.createSearch(storage, jQuery('#<?php echo $params['searchId']; ?>'), maintable);
    zray.registerDataHandler('CodeIgniter', 'hooks', function(extensionData, requestData) {
        storage.setData(extensionData);
    });
})();
</script>