| 1 | <?php |
||
| 6 | class ContentType extends Base { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @param string $sContentType |
||
| 10 | * @return bool |
||
| 11 | */ |
||
| 12 | 22 | public static function isValidContentType($sContentType) { |
|
| 15 | |||
| 16 | /** |
||
| 17 | * @param $sContentType |
||
| 18 | * @param $aContentTypes |
||
| 19 | * @return bool |
||
| 20 | */ |
||
| 21 | 3 | public static function isAccepted($sContentType, $aContentTypes) { |
|
| 43 | } |
||
| 44 |