Esempio n. 1
0
 function prepare()
 {
     $this->addFunction(S_PUBLIC_FUNC('string getPmInboxUrl(int uid)'));
     $this->addFunction(S_PUBLIC_FUNC('string getPmliteUrl(int fromUid, int toUid)'));
     $this->addFunction(S_PUBLIC_FUNC('int getCountUnreadPM(int uid)'));
 }
 function prepare()
 {
     $this->addType('Legacy_SearchModule');
     $this->addType('Legacy_SearchModuleArray');
     $this->addType('Legacy_SearchItem');
     $this->addType('Legacy_SearchItemArray');
     $this->addType('Legacy_SearchModuleResult');
     $this->addType('Legacy_SearchModuleResultArray');
     $this->addType('Legacy_ArrayOfInt');
     $this->addType('Legacy_ArrayOfString');
     $this->addFunction(S_PUBLIC_FUNC('Legacy_SearchItemArray searchItems(int mid, Legacy_ArrayOfString queries, string andor, int maxhit, int start)'));
     $this->addFunction(S_PUBLIC_FUNC('Legacy_SearchItemArray searchItemsOfUser(int mid, int uid, int maxhit, int start)'));
     $this->addFunction(S_PUBLIC_FUNC('Legacy_SearchModuleArray getActiveModules()'));
 }
Esempio n. 3
0
 /**
  * @public
  */
 function prepare()
 {
     $this->addFunction(S_PUBLIC_FUNC('int addMailjob(string title, text body, string from_name, string from_email, bool is_pm, bool is_mail, Mailjob_ArrayOfInt uidArr)'));
     //$this->addFunction(S_PUBLIC_FUNC('int sendMailjob(int mailjob_id, int uid)'));
 }
Esempio n. 4
0
 /**
  * @public
  */
 function prepare()
 {
     $this->addType('Profile_DataObj');
     $this->addType('Profile_DataObjArray');
     $this->addType('Profile_OptionsObj');
     $this->addType('Profile_OptionsObjArray');
     $this->addType('Profile_DefinitionsObj');
     $this->addType('Profile_DefinitionsObjArray');
     $this->addFunction(S_PUBLIC_FUNC('Profile_DefinitionsObjArray getDefinitions(int uid, int groupid, bool show_form)'));
     $this->addFunction(S_PUBLIC_FUNC('Profile_DataObj getProfile(int uid)'));
     $this->addFunction(S_PUBLIC_FUNC('Profile_DataObjArr getProfileArr(string field_name, string value)'));
     $this->addFunction(S_PUBLIC_FUNC('bool setProfile(string field_name, string value, int uid)'));
     $handler =& xoops_getmodulehandler('definitions', 'profile');
     $defArr =& $handler->getObjects();
     $fieldDef = "";
     foreach (array_keys($defArr) as $key) {
         $fieldDef .= $defArr[$key]->getServiceField() . ',';
     }
     $fieldDef = rtrim($fieldDef, ',');
     $this->addFunction(S_PUBLIC_FUNC('bool setProfiles(int uid' . $fieldDef . ')'));
 }
Esempio n. 5
0
 public function prepare()
 {
     $this->addFunction(S_PUBLIC_FUNC('array getSocialLoginLinks()'));
 }
Esempio n. 6
0
	function prepare()
	{
		$this->addFunction(S_PUBLIC_FUNC('int isMyFriend(int uid_to)'));
		$this->addFunction(S_PUBLIC_FUNC('int isFriend(int uid_from, int uid_to)'));
	}