소스 검색

Add missing class plugin.

jmontoyaa 7 년 전
부모
커밋
80e81bfb63
1개의 변경된 파일33개의 추가작업 그리고 0개의 파일을 삭제
  1. 33 0
      plugin/nosearchindex/NoSearchIndex.php

+ 33 - 0
plugin/nosearchindex/NoSearchIndex.php

@@ -0,0 +1,33 @@
+<?php
+/* For licensing terms, see /license.txt */
+
+/**
+ * Class NoSearchIndex
+ */
+class NoSearchIndex extends Plugin
+{
+    public $addCourseTool = false;
+
+    /**
+     * @return $this
+     */
+    public static function create()
+    {
+        static $result = null;
+        return $result ? $result : $result = new self();
+    }
+
+    /**
+     * NoSearchIndex constructor.
+     */
+    public function __construct()
+    {
+        parent::__construct(
+            '0.1',
+            'Julio Montoya',
+            array(
+                'tool_enable' => 'boolean'
+            )
+        );
+    }
+}