/** * Constructor * * @param string $title * @param string $column * @param string $template * @param string $alt * @param bool $isHidden * @param int $width * @param int $height */ public function __construct($title, $column = null, $template = null, $alt = null, $isHidden = false, $width = 85, $height = null) { parent::__construct($title, $column, false, $isHidden, $width, false, null); $this->_template = $template; $this->_alt = $alt; $this->width = $width; $this->height = $height; }
/** * Constructor * * @param string $title * @param string $name * @param bool $isSortable * @param string $format * @param bool $isHidden * @param int $width */ public function __construct($title, $name = null, $isSortable = true, $format = 'Y-m-d H:i:s', $isHidden = false, $width = 160, $isEditable = true, $fieldKey = null) { parent::__construct($title, $name, $isSortable, $isHidden, $width, $isEditable, $fieldKey); $this->_format = $format; }