/** * @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; } }
/** * @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); }