public function getDocJSON(Parser $parser)
 {
     $doc = parent::getDocJSON($parser);
     $rClass = new \ReflectionClass(get_called_class());
     if (in_array('show-model', ReflectionHelper::getDocDirective($rClass->getDocComment(), 'docs'))) {
         /**
          * @var $model \MABI\Model
          */
         $model = call_user_func($this->modelClass . '::init', $this->getApp());
         if (empty($doc['models'])) {
             $doc['models'] = array();
         }
         array_unshift($doc['models'], $model->getDocOutput($parser));
     }
     return $doc;
 }