CORE Revision 1.1.45

The links you see here are partly for instructional examples, but mostly for object debugging.

HOME | Coredoc | accordian | single | tile | form | expandytable | gantt | tickets-xml | nest | chart | tabs | prefs | misc | data | table | bandwidth | css | state | database | csv | free | texttable | tickets | multicell | refresh | gauge | cypher | jquery | tableform
* Multicell replaces the [td] in tabular data with , thereby recreating McCormmic's original (flawed?) requirement of 'never use tables'. The benefit is the ability to do more complex layouts, but you have to CSS every row. Cells are classed according to their column. See this guy's stylesheet.
Click to drag Click to collapse Resize Pop Multicell




Click to drag Click to collapse Resize Source code
/home/bartniedner_com/core.bartniedner.com/htdocs/examples/multicell.php
<?
/**
 * Core Example File
 *
 * @author Mark Young
 * @version $Id: multicell.php 153 2007-04-17 15:03:38Z mark.young $
 * @copyright MarkYoung, 19 February, 2007
 * @package examples
 **/

include("head.php");

?>
<link type="text/css" rel="stylesheet" href="style/multicell.css">


<?
echo "* Multicell replaces the [td] in tabular data with <spans>, thereby recreating McCormmic's original (flawed?) requirement of 'never use tables'.  The benefit is the ability to do more complex layouts, but you have to CSS every row. Cells are classed according to their column.  See this guy's <a href='style/multicell.css'>stylesheet</a>.";
$data['row1']=array('title'=>'THis is the title', 'number1'=>5, 'number2'=>6, 'desc'=>'askjdf lajsf lasjhf lkjahsdf lkjhads flkjh asldkjfh alskjdfh');
$data['row2']=array('title'=>'Another title', 'number1'=>54, 'number2'=>26, 'desc'=>'n,mzxnv,zjxcvli\n asdjfh laksjdfh laksjdf\n zxcoivuh8eudnv,zjxcvli\n asdjfh laksjdfh laksjdf\n zxcoivuh8eudnv,zjxcvli\n asdjfh laksjdfh laksjdf\n zxcoivuh8eudnv,zjxcvli\n asdjfh laksjdfh laksjdf\n zxcoivuh8eudnv,zjxcvli\n asdjfh laksjdfh laksjdf\n zxcoivuh8eud aksjdn iasudg89hqe rubnashdku ayfdasdfasdfasfrs dsf ');
$d = new data($data);

$o = new outputMulticell($d);
 $o->Title="Multicell";
 $o->Class="output"; // it's ID autmatically becomes 'multicell' due to it's title
 $o->Sorting=true;
 $o->Footer="This is the footer";
 $o->Filter=true;
 $o->Display();





include("foot.php");
?>

Debug Log:
Memory Usage: 718.62k, Number of Queries: 0
  1. [0.0000]db.inc.php File included   include_once, line 21 home/bartniedner_com/core.bartniedner.com/htdocs/include/db.inc.php
  2. [0.0642]include End head.php   include, line 52 home/bartniedner_com/core.bartniedner.com/htdocs/examples/head.php
  3. [0.0190]LoadData LoadData() called when data was already loaded! You dummy!!   LoadData, line 302 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/data.php
  4. [0.0001]LoadJavascript Loaded http://core.bartniedner.com/include/javascript/ajax.js   LoadJavascript, line 854 home/bartniedner_com/core.bartniedner.com/htdocs/include/core_functions.php
  5. [0.0000]DrawTopPart outputTable - Multicell
         DrawTopPart, line 205 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php
    1. [0.0000]DrawTopPart AJAX enabled   DrawTopPart, line 206 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php
    2. [0.0001]LoadJavascript Loaded http://core.bartniedner.com/include/javascript/jquery.js   LoadJavascript, line 854 home/bartniedner_com/core.bartniedner.com/htdocs/include/core_functions.php
    3. [0.0000]LoadJavascript Loaded http://core.bartniedner.com/include/javascript/core.js   LoadJavascript, line 854 home/bartniedner_com/core.bartniedner.com/htdocs/include/core_functions.php
    4. [0.0000]LoadJavascript Loaded http://core.bartniedner.com/include/javascript/firebug/firebug.js   LoadJavascript, line 854 home/bartniedner_com/core.bartniedner.com/htdocs/include/core_functions.php
    5. [0.0009]DrawBottomPart cached: /tmp/multicell8jaN1l   DrawBottomPart, line 378 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php
    6. [0.0000]DrawBottomPart End
    outputTable - Multicell   DrawBottomPart, line 381 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php
  6. [0.0002]include Begin foot.php   include, line 10 home/bartniedner_com/core.bartniedner.com/htdocs/examples/foot.php
  7. [0.0006]DrawTopPart outputFreeText - Source code
         DrawTopPart, line 205 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php
    1. [0.0005]DrawBottomPart cached: /tmp/sourcecodeeaqjUc   DrawBottomPart, line 378 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php
    2. [0.0000]DrawBottomPart End
    outputFreeText - Source code   DrawBottomPart, line 381 home/bartniedner_com/core.bartniedner.com/htdocs/include/classes/output.php