/** * Constructor * @param $id string Grid column identifier * @param $title string Locale key for grid column title * @param $titleTranslated string Optional translated grid title * @param $template string Optional template filename for grid column, including path * @param $cellProvider GridCellProvider Optional grid cell provider for this column * @param $flags array Optional set of flags for this grid column */ function __construct($id = '', $title = null, $titleTranslated = null, $template = null, $cellProvider = null, $flags = array()) { // Use default template if none specified if ($template === null) { $template = 'controllers/grid/gridCell.tpl'; } parent::__construct($id, $cellProvider, $flags); $this->_title = $title; $this->_titleTranslated = $titleTranslated; $this->_template = $template; }
/** * Constructor. */ function __construct() { parent::__construct(); $this->_isModified = false; }