Ejemplo n.º 1
0
 /**
  * @param Grido\Grid $grid
  * @param string $name
  * @param string $label
  * @param string $dateFormat
  */
 public function __construct($grid, $name, $label, $dateFormat = NULL)
 {
     parent::__construct($grid, $name, $label);
     if ($dateFormat !== NULL) {
         $this->dateFormat = $dateFormat;
     }
 }
Ejemplo n.º 2
0
 /**
  * @param \Grido\Grid $grid
  * @param string $name
  * @param string $label
  * @param int $decimals number of decimal points
  * @param string $decPoint separator for the decimal point
  * @param string $thousandsSep thousands separator
  */
 public function __construct($grid, $name, $label, $decimals = NULL, $decPoint = NULL, $thousandsSep = NULL)
 {
     parent::__construct($grid, $name, $label);
     $this->setNumberFormat($decimals, $decPoint, $thousandsSep);
 }