AbstractColumn.php 411 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace common\libs\dataList\column;
  3. use yii\base\Component;
  4. abstract class AbstractColumn extends Component {
  5. public $value;
  6. public $defaultText = '';
  7. public function __construct($config = []) {
  8. parent::__construct($config);
  9. }
  10. public function setValue($value){
  11. $this->value = $value;
  12. }
  13. public function getValue(){
  14. return $this->value;
  15. }
  16. }