88
99if ( ! class_exists ( '\VSP\Framework ' ) ) {
1010 /**
11- * Class VSP_Framework
11+ * Class VSP\Framework
1212 * This class should be extened and used in a plugins class
1313 *
1414 * @package VSP
@@ -22,29 +22,16 @@ abstract class Framework extends Framework_Modules {
2222 * @var array
2323 */
2424 protected $ default_options = array (
25- /**
26- * @see https://docs.wponion.com/modules/settings
27- */
25+ /* @see https://docs.wponion.com/modules/settings */
2826 'settings_page ' => false ,
29- /**
30- * @see http://github.com/varunsridharan/php-autoloader
31- */
27+ /* @see http://github.com/varunsridharan/php-autoloader */
3228 'autoloader ' => false ,
33- /**
34- * True / False
35- */
3629 'logging ' => false ,
37- /**
38- * @see https://github.com/varunsridharan/vsp-framework/blob/master/includes/modules/class-addons.php#L43-L51
39- */
30+ /* @see https://github.com/varunsridharan/vsp-framework/blob/master/includes/modules/class-addons.php#L43-L51 */
4031 'addons ' => false ,
41- /**
42- * @see https://github.com/varunsridharan/vsp-framework/blob/master/includes/modules/class-system-tools.php#L38-L41
43- */
32+ /* @see https://github.com/varunsridharan/vsp-framework/blob/master/includes/modules/class-system-tools.php#L38-L41 */
4433 'system_tools ' => false ,
45- /**
46- * @see https://github.com/varunsridharan/wp-localizer
47- */
34+ /* @see https://github.com/varunsridharan/wp-localizer */
4835 'localizer ' => false ,
4936 'plugin_file ' => __FILE__ ,
5037 );
@@ -67,9 +54,8 @@ public function __construct( $options = array() ) {
6754 * Function Called When vsp_framework_init hook is fired
6855 *
6956 * @hook vsp_framework_init
70- * @uses \VSP_Framework::_admin_init()
71- * @uses VSP_Framework::plugin_init_before
72- * @uses VSP_Framework::plugin_init
57+ * @uses \VSP\Framework::plugin_init_before
58+ * @uses \VSP\Framework::plugin_init
7359 */
7460 public function _init_plugin () {
7561 $ this ->plugin_init_before ();
@@ -101,8 +87,8 @@ private function _init_class() {
10187 /**
10288 * Function used to register common plugin hooks
10389 *
104- * @uses \VSP_Framework_Admin ::_register_admin_hooks()
105- * @uses \VSP_Framework ::register_hooks()
90+ * @uses \VSP\Framework_Admin ::_register_admin_hooks()
91+ * @uses \VSP\Framework ::register_hooks()
10692 */
10793 private function _register_hooks () {
10894 add_action ( 'init ' , array ( $ this , '_wp_init ' ), 20 );
@@ -118,7 +104,7 @@ private function _register_hooks() {
118104 /**
119105 * Function used to load all framework required files
120106 *
121- * @uses \VSP_Framework ::load_files
107+ * @uses \VSP\Framework ::load_files
122108 * @hook loaded
123109 */
124110 private function _load_required_files () {
@@ -129,20 +115,20 @@ private function _load_required_files() {
129115 /**
130116 * Function Calls When wp_inited
131117 *
132- * @uses \VSP_Framework ::wp_init
118+ * @uses \VSP\Framework ::wp_init
133119 */
134120 public function _wp_init () {
135121 $ this ->wp_init ();
136122 }
137123
138124 /**
139- * @see VSP_Framework:: __register_hooks
125+ * @see \VSP\Framework-> __register_hooks
140126 */
141127 protected function register_hooks () {
142128 }
143129
144130 /**
145- * @see \VSP_Framework ::__load_required_files
131+ * @see \VSP\Framework ::__load_required_files
146132 */
147133 protected function load_files () {
148134 }
0 commit comments