Exemplo n.º 1
0
 /**
  * PHP4 constructor.
  *
  * @access   public
  * @param string $title
  * @param mixed $data
  */
 function DataGrid($title = null, $data = null)
 {
     parent::DataSet($data);
     $this->title($title);
     $this->ci =& get_instance();
     $this->rapyd =& $this->ci->rapyd;
     $this->session =& $this->rapyd->session;
     $this->fields = array();
     $this->columns = array();
     $this->output = "";
 }
Exemplo n.º 2
0
 /**
  * PHP4 constructor.
  *
  * @access   public
  * @param    object  $data   a multidimensional associative array of data
  * @return   void
  */
 function DataTable($title = null, $data = null)
 {
     parent::DataSet($data);
     $this->ci =& get_instance();
     $this->fields = array();
     $this->output = "";
     $this->title($title);
     static $identifier = 0;
     $identifier++;
     $this->cid = $this->cid . (string) $identifier;
 }