Ejemplo n.º 1
0
 /**
  * Enter description here...
  *
  * @param string $title
  * @param array  $columns  Column headers
  */
 public function __construct($title, $columns = null)
 {
     $this->title = $title;
     if (isset($columns)) {
         $this->columns = $columns;
     }
     $this->unique_base = 4000 + ++self::$counter;
     if ($this->unique_base >= 5000) {
         throw new Exception("Unable to create another FirePHPTable log: 1000 is really the limit.");
     }
     parent::__construct();
 }