PHP Classes
Icontem

File: examples/exampleTables.html


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lennart Groetzbach  >  debugHelper  >  examples/exampleTables.html  
File: examples/exampleTables.html
Role: Sample output
Content type: text/plain
Description: output
Class: debugHelper
Displays var info, takes time, dumps source
 

Contents

Class file image Download
<html>
<head>
</head>

<body>
<table border=1>
<tr>
<th>horizontal</th><td>1</td><td>2</td><td>3</td><td>4</td><td>5</td>
</tr>
</table>
<br><table border=1>
<tr>
<th>vertical</th>
</tr>
<tr>
<td>6</td>
</tr>
<tr>
<td>7</td>
</tr>
<tr>
<td>8</td>
</tr>
<tr>
<td>9</td>
</tr>
<tr>
<td>10</td>
</tr>
</table>
<br><table border=1>
<th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><tr>
<td>1</td><td>2</td><td>3</td><td>4</td><td>5</td></tr>
<tr>
<td>6</td><td>7</td><td>8</td><td>9</td><td>10</td></tr>
</table>
<br><table border=1>
<tr>
<th>A</th><td>1</td><td>6</td></tr>
<tr>
<th>B</th><td>2</td><td>7</td></tr>
<tr>
<th>C</th><td>3</td><td>8</td></tr>
<tr>
<th>D</th><td>4</td><td>9</td></tr>
<tr>
<th>E</th><td>5</td><td>10</td></tr>
</table>
<hr><div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">1</code><span style="position:absolute; left:45; white-space: nowrap;"><code><font color="#000000">
&lt;html&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">2</code><span style="position:absolute; left:45; white-space: nowrap;">&lt;head&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">3</code><span style="position:absolute; left:45; white-space: nowrap;">&lt;/head&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">4</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">5</code><span style="position:absolute; left:45; white-space: nowrap;">&lt;body&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">6</code><span style="position:absolute; left:45; white-space: nowrap;"><font color="#0000CC">&lt;?php
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">7</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#FF9900">////////////////////////////////////////////////////////////////////////
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">8</code><span style="position:absolute; left:45; white-space: nowrap;">/**
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">9</code><span style="position:absolute; left:45; white-space: nowrap;">*
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">10</code><span style="position:absolute; left:45; white-space: nowrap;">* example for debugHelper.php
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">11</code><span style="position:absolute; left:45; white-space: nowrap;">* shows the different view for tables
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">12</code><span style="position:absolute; left:45; white-space: nowrap;">*
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">13</code><span style="position:absolute; left:45; white-space: nowrap;">* For the lastest version go to:
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">14</code><span style="position:absolute; left:45; white-space: nowrap;">* http://www.phpclasses.org/browse.html/package/879.html
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">15</code><span style="position:absolute; left:45; white-space: nowrap;">*
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">16</code><span style="position:absolute; left:45; white-space: nowrap;">* @author&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lennart Groetzbach &lt;lennartg@web.de&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">17</code><span style="position:absolute; left:45; white-space: nowrap;">* @copyright&nbsp;&nbsp;&nbsp;&nbsp;Lennart Groetzbach &lt;lennartg@web.de&gt; - distributed under the LGPL
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">18</code><span style="position:absolute; left:45; white-space: nowrap;">* @package&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;debughelper
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">19</code><span style="position:absolute; left:45; white-space: nowrap;">*/
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">20</code><span style="position:absolute; left:45; white-space: nowrap;">////////////////////////////////////////////////////////////////
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">21</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">22</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#0000CC">$dir&nbsp;</font><font color="#006600">=&nbsp;</font><font color="#0000CC">dirname</font><font color="#006600">(</font><font color="#0000CC">__FILE__</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">23</code><span style="position:absolute; left:45; white-space: nowrap;">require_once&nbsp;</font><font color="#0000CC">$dir&nbsp;</font><font color="#006600">.&nbsp;</font><font color="#CC0000">"/../debugHelper.php"</font><font color="#006600">;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">24</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">25</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#FF9900">///////////////////////////////////////////////////////////////////////
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">26</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">27</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#0000CC">$oneToFive&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#0000CC">1</font><font color="#006600">,</font><font color="#0000CC">2</font><font color="#006600">,</font><font color="#0000CC">3</font><font color="#006600">,</font><font color="#0000CC">4</font><font color="#006600">,</font><font color="#0000CC">5</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">28</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#0000CC">$fiveToTen&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#0000CC">6</font><font color="#006600">,</font><font color="#0000CC">7</font><font color="#006600">,</font><font color="#0000CC">8</font><font color="#006600">,</font><font color="#0000CC">9</font><font color="#006600">,</font><font color="#0000CC">10</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">29</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#0000CC">$aToE&nbsp;</font><font color="#006600">=&nbsp;array(</font><font color="#CC0000">'A'</font><font color="#006600">,&nbsp;</font><font color="#CC0000">'B'</font><font color="#006600">,&nbsp;</font><font color="#CC0000">'C'</font><font color="#006600">,&nbsp;</font><font color="#CC0000">'D'</font><font color="#006600">,&nbsp;</font><font color="#CC0000">'E'</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">30</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">31</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#0000CC">$debug</font><font color="#006600">-&gt;</font><font color="#0000CC">toTable</font><font color="#006600">(</font><font color="#0000CC">$oneToFive</font><font color="#006600">,&nbsp;</font><font color="#CC0000">'horizontal'</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">32</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#CC0000">"&lt;br&gt;"</font><font color="#006600">;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">33</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#0000CC">$debug</font><font color="#006600">-&gt;</font><font color="#0000CC">toTable</font><font color="#006600">(</font><font color="#0000CC">$fiveToTen</font><font color="#006600">,&nbsp;</font><font color="#CC0000">'vertical'</font><font color="#006600">,&nbsp;</font><font color="#0000CC">false</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">34</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#CC0000">"&lt;br&gt;"</font><font color="#006600">;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">35</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#0000CC">$debug</font><font color="#006600">-&gt;</font><font color="#0000CC">toTable</font><font color="#006600">(array(</font><font color="#0000CC">$oneToFive</font><font color="#006600">,</font><font color="#0000CC">$fiveToTen</font><font color="#006600">),&nbsp;</font><font color="#0000CC">$aToE</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">36</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#CC0000">"&lt;br&gt;"</font><font color="#006600">;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">37</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#0000CC">$debug</font><font color="#006600">-&gt;</font><font color="#0000CC">toTable</font><font color="#006600">(array(</font><font color="#0000CC">$oneToFive</font><font color="#006600">,</font><font color="#0000CC">$fiveToTen</font><font color="#006600">),&nbsp;</font><font color="#0000CC">$aToE</font><font color="#006600">,&nbsp;</font><font color="#0000CC">false</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">38</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">39</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#FF9900">///////////////////////////////////////////////////////////////////////
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">40</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">41</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#006600">echo&nbsp;</font><font color="#CC0000">"&lt;hr&gt;"</font><font color="#006600">;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">42</code><span style="position:absolute; left:45; white-space: nowrap;">echo&nbsp;</font><font color="#0000CC">$debug</font><font color="#006600">-&gt;</font><font color="#0000CC">highlightFile</font><font color="#006600">(</font><font color="#0000CC">__FILE__</font><font color="#006600">);
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">43</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">44</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#FF9900">///////////////////////////////////////////////////////////////////////
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">45</code><span style="position:absolute; left:45; white-space: nowrap;">
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">46</code><span style="position:absolute; left:45; white-space: nowrap;"></font><font color="#0000CC">?&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">47</code><span style="position:absolute; left:45; white-space: nowrap;"></font>&lt;/body&gt;
</span></div>
<div style="white-space: nowrap;"><code style="color: rgb(0,0,255)">48</code><span style="position:absolute; left:45; white-space: nowrap;">&lt;/html&gt;</font>
</code></span></div>
</body>
</html>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products