Login   Register  
PHP Classes
elePHPant
Icontem

File: Template/Default.phtml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Tom Schaefer  >  QGoogleVisualizationAPI 2009  >  Template/Default.phtml  >  Download  
File: Template/Default.phtml
Role: Auxiliary script
Content type: text/plain
Description: Default Template
Class: QGoogleVisualizationAPI 2009
Generate charts with Google Visualization API
Author: By
Last change: make it better working with missing data table objects
Date: 2009-09-12 03:35
Size: 397 bytes
 

Contents

Class file image Download
<script src="<?php echo Google_Visualization::APISCRIPT?>"></script>
<script type="text/javascript">
  <?php echo $packageObject;?>
</script>
<script>
<?php if(isset($dataTableObject)):?>
<?php 
echo $dataTableObject;?>
<?php 
endif;?>
<?php 
if(is_array($functionObject)):
    foreach(
$functionObject as $f):
        echo 
$f;
    endforeach;
else:
    echo 
$functionObject;
endif;
?>    
</script>