Merge "Remove unused system messages "loginstart", "loginend" and "loginend-https""
[lhc/web/wiklou.git] / includes / content / JsonContentHandler.php
1 <?php
2 /**
3 * JSON Schema Content Handler
4 *
5 * @file
6 *
7 * @author Ori Livneh <ori@wikimedia.org>
8 * @author Kunal Mehta <legoktm@gmail.com>
9 */
10
11 /**
12 * @since 1.24
13 */
14 class JsonContentHandler extends CodeContentHandler {
15
16 public function __construct( $modelId = CONTENT_MODEL_JSON ) {
17 parent::__construct( $modelId, array( CONTENT_FORMAT_JSON ) );
18 }
19
20 /**
21 * @return string
22 */
23 protected function getContentClass() {
24 return 'JsonContent';
25 }
26 }