| @@ 876-884 (lines=9) @@ | ||
| 873 | * |
|
| 874 | * @return Response |
|
| 875 | */ |
|
| 876 | public function includeCSS($sFileName, $sMedia = null) |
|
| 877 | { |
|
| 878 | $command = ['cmd' => 'css']; |
|
| 879 | ||
| 880 | if(($sMedia)) |
|
| 881 | { |
|
| 882 | $command['media'] = trim((string)$sMedia, " \t"); |
|
| 883 | } |
|
| 884 | ||
| 885 | return $this->addCommand($command, trim((string)$sFileName, " \t")); |
|
| 886 | } |
|
| 887 | ||
| @@ 897-905 (lines=9) @@ | ||
| 894 | * |
|
| 895 | * @return Response |
|
| 896 | */ |
|
| 897 | public function removeCSS($sFileName, $sMedia = null) |
|
| 898 | { |
|
| 899 | $command = ['cmd' => 'rcss']; |
|
| 900 | ||
| 901 | if(($sMedia)) |
|
| 902 | { |
|
| 903 | $command['media'] = trim((string)$sMedia, " \t"); |
|
| 904 | } |
|
| 905 | ||
| 906 | return $this->addCommand($command, trim((string)$sFileName, " \t")); |
|
| 907 | } |
|
| 908 | ||