Browse Source

#2462 Macros: docs - exclude some modules

Alex Trofimov 6 years ago
parent
commit
4afaa84479

+ 5 - 0
modules/boonex/accounts/classes/BxAccntModule.php

@@ -21,6 +21,11 @@ class BxAccntModule extends BxBaseModGeneralModule
         $this->_oConfig->init($this->_oDb);
     }
 
+    public function serviceGetSafeServices()
+    {
+        return array ();
+    }
+
     /**
      * @page service Service Calls
      * @section bx_accounts Accounts

+ 5 - 0
modules/boonex/dolphin_migration/classes/BxDolMModule.php

@@ -137,6 +137,11 @@ class BxDolMModule extends BxBaseModGeneralModule
         return $this->_oMDb->connect();
     }
 
+    public function serviceGetSafeServices()
+    {
+        return array ();
+    }
+
     public function serviceGetPrivacyGroups(){
         $aPrivacyList = $this -> _oDb -> getPrivacyList();
         $aValues = array();

+ 8 - 0
modules/boonex/elasticsearch/classes/BxElsModule.php

@@ -130,6 +130,14 @@ class BxElsModule extends BxBaseModGeneralModule
         echo '</pre>';
     }
 
+    public function serviceGetSafeServices()
+    {
+        return array (
+            'SearchSimple' => '',
+            'SearchExtended' => '',
+        );
+    }
+
     /**
      * @page service Service Calls
      * @section bx_elasticsearch ElasticSearch

+ 11 - 7
modules/boonex/massmailer/classes/BxMassMailerModule.php

@@ -222,7 +222,12 @@ class BxMassMailerModule extends BxBaseModGeneralModule
     /**
     * SERVICE METHODS
     */
-          
+
+    public function serviceGetSafeServices()
+    {
+        return array ();
+    }
+
     /**
     * @page service Service Calls
     * @section bx_massmailer Mass mailer
@@ -233,7 +238,7 @@ class BxMassMailerModule extends BxBaseModGeneralModule
     * 
     * Get page block with the campagn's subscribers list
     *
-    * @param $aParams an array with search params.
+    * @param $iContentId content ID.
     * @return HTML string with block content to display on the site. All necessary CSS and JS files are automatically added to the HEAD section of the site HTML.
     * 
     * @see BxMassMailerModule::serviceCampagnSubscribers
@@ -265,7 +270,7 @@ class BxMassMailerModule extends BxBaseModGeneralModule
      * 
      * Get page block with the campagn info
      *
-     * @param $aParams an array with search params.
+     * @param $iContentId content ID.
      * @return HTML string with block content to display on the site. All necessary CSS and JS files are automatically added to the HEAD section of the site HTML.
      * 
      * @see BxMassMailerModule::serviceCampagnInfo
@@ -294,7 +299,7 @@ class BxMassMailerModule extends BxBaseModGeneralModule
      * 
      * Get page block with the campagn links list
      *
-     * @param $aParams an array with search params.
+     * @param $iContentId content ID
      * @return HTML string with block content to display on the site. All necessary CSS and JS files are automatically added to the HEAD section of the site HTML.
      * 
      * @see BxMassMailerModule::serviceCampagnLinks
@@ -349,7 +354,7 @@ class BxMassMailerModule extends BxBaseModGeneralModule
      * 
      * Get page block with page's breadcrumbs
      *
-     * @param $aParams an array with search params.
+     * @param $iContentId content ID
      * @return HTML string with block content to display on the site. All necessary CSS and JS files are automatically added to the HEAD section of the site HTML.
      * 
      * @see BxMassMailerModule::serviceEntityBreadcrumb
@@ -386,7 +391,6 @@ class BxMassMailerModule extends BxBaseModGeneralModule
      * 
      * Get page block with attributes list
      *
-     * @param $aParams an array with search params.
      * @return HTML string with block content to display on the site. All necessary CSS and JS files are automatically added to the HEAD section of the site HTML.
      * 
      * @see BxMassMailerModule::serviceAttributes
@@ -629,4 +633,4 @@ class BxMassMailerModule extends BxBaseModGeneralModule
     }
 }
 
-/** @} */
+/** @} */

+ 9 - 4
modules/boonex/se_migration/classes/BxSEMigModule.php

@@ -123,11 +123,16 @@ class BxSEMigModule extends BxBaseModGeneralModule
 		$this -> _oSEDb = new BxSEDb($aConfig);		
 		return $this -> _oSEDb	-> connect(); 
 	}
-	
+
+    public function serviceGetSafeServices()
+    {
+        return array ();
+    }
+
 	/** 
-	* Returns Password Ecnrypted by Seocial Engine Rules
-	* @param object	
-	*/	
+	 * Returns Password Ecnrypted by Seocial Engine Rules
+	 * @param object	
+	 */	
 	public function serviceSocialEngineResponse($oAlert){
 		// if imported member tries to login set new hash for password
 		if ($oAlert -> sAction == 'encrypt_password_after' && isset($oAlert -> aExtras['info']['se_id']) && (int)$oAlert -> aExtras['info']['se_id']){