JetTableAllClasses | ||||||||||||||||||||
![]() | ||||||||||||||||||||
|
||||||||||||||||||||
![]() |
1 : <?php 2 : require_once "JetDataCell.class.php"; 3 : 4 : /** 5 : * ラベル出力<br> 6 : * データセルにラベル(単純な文字列)を出力するクラス 7 : * 8 : * @package jettable.framework 9 : * @author rds <tk@rasign.jp> 10 : * @license http://www.opensource.org/licenses/mit-license.php The MIT License 11 : * @version $Revision: 1.4 $ $Date: 2006/12/01 13:41:52 $ 12 : * @link http://jettable.rasign.jp/ 13 : */ 14 : class JetLabelDataCell extends JetDataCell{ 15 : public function __construct($value, $attribute = array()){ 16 27 : if(empty($value)){ 17 2 : $value = " "; 18 : } 19 27 : parent::__construct($value, $attribute); 20 27 : } 21 : 22 : public function getHtml(){ 23 27 : return $this->value; 24 : } 25 : } 26 : 27 : ?> |
![]() |
Generated by: PHPUnit 3.0.0 and Xdebug 2.0.0RC1. |