mirror of
https://github.com/xfarrow/phpxpress.git
synced 2025-02-16 12:00:38 +01:00
Update table.php
This commit is contained in:
parent
3766a28ae8
commit
f075c81ddd
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PhpXpress v1.0
|
* PhpXpress v1.0.1
|
||||||
*
|
*
|
||||||
* @see https://github.com/xfarrow/phpxpress The PhpXpress GitHub project
|
* @see https://github.com/xfarrow/phpxpress The PhpXpress GitHub project
|
||||||
*
|
*
|
||||||
@ -59,6 +59,7 @@
|
|||||||
* to unexpected results
|
* to unexpected results
|
||||||
*/
|
*/
|
||||||
private $pedantic_type_check = false;
|
private $pedantic_type_check = false;
|
||||||
|
private $id_table = "Pxpress_MyTable";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Draw the Table.
|
* Draw the Table.
|
||||||
@ -79,7 +80,7 @@
|
|||||||
if($this->hoverAnimation) $tableClass.= " table-hover";
|
if($this->hoverAnimation) $tableClass.= " table-hover";
|
||||||
if($this->small) $tableClass.= " table-sm";
|
if($this->small) $tableClass.= " table-sm";
|
||||||
|
|
||||||
echo "<table class = '$tableClass'>";
|
echo "<table id = '$this->id_table' class = '$tableClass'>";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
**
|
**
|
||||||
@ -364,5 +365,9 @@
|
|||||||
}
|
}
|
||||||
$this->pedantic_type_check = $bool;
|
$this->pedantic_type_check = $bool;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function set_table_id($id){
|
||||||
|
$this->id_table = $id;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user