| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class Text |
||
| 16 | { |
||
| 17 | use DefaultOption, Join; |
||
| 18 | |||
| 19 | public function strLimit($length = 100) { |
||
| 20 | $data = columnSingleton()->getColumn($this->index); |
||
| 21 | /** @var WysiwygModel $data */ |
||
| 22 | $data->setLimit($length); |
||
| 23 | |||
| 24 | columnSingleton()->setColumn($this->index, $data); |
||
| 25 | |||
| 26 | return $this; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function maxLength($length) { |
||
| 36 | } |
||
| 37 | |||
| 38 | public function minLength($length) { |
||
| 45 | } |
||
| 46 | } |