| 1 | <?php |
||
| 7 | class CategoryPresenter extends Presenter |
||
| 8 | { |
||
| 9 | use HasImagesPresentable; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Render tax. |
||
| 13 | * |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | public function getTax() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Render name. |
||
| 27 | * |
||
| 28 | * @param bool $upper |
||
| 29 | * @return mixed|string |
||
| 30 | */ |
||
| 31 | public function renderName($upper = false) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Render name with tax. |
||
| 43 | * |
||
| 44 | * @return string |
||
| 45 | */ |
||
| 46 | public function renderNameWithTax() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Render tax of category. |
||
| 53 | * |
||
| 54 | * @return int |
||
| 55 | */ |
||
| 56 | public function renderTax() |
||
| 63 | } |