[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/content/ -> JsonContentHandler.php (source)

   1  <?php
   2  /**
   3   * JSON Schema Content Handler
   4   *
   5   * @file
   6   *
   7   * @author Ori Livneh <[email protected]>
   8   * @author Kunal Mehta <[email protected]>
   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  }


Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1