for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace eXpansion\Framework\Core\Model\Gui\Grid\Column;
/**
* Class TextColumn
*
* @package eXpansion\Framework\Core\Model\Gui\Grid;
* @author oliver de Cramer <[email protected]>
*/
class TextColumn extends AbstractColumn
{
/** @var bool */
protected $sortable;
protected $translatable;
* TextColumn constructor.
* @param string $key
* @param string $name
* @param float $widthCoeficiency
* @param boolean $sortable
* @param boolean $translatable
public function __construct($key, $name, $widthCoeficiency, $sortable, $translatable)
parent::__construct($key, $name, $widthCoeficiency);
$this->sortable = $sortable;
$this->translatable = $translatable;
}
* @return bool
public function getSortable()
return $this->sortable;
* @param bool $sortable
public function setSortable($sortable)
public function getTranslatable()
return $this->translatable;
* @param bool $translatable
public function setTranslatable($translatable)