- Timestamp:
- 01/30/13 17:13:44 (11 years ago)
- Location:
- sandbox/webservice/api/rest/admin
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/rest/admin/CreateUserResource.php
r7810 r7813 25 25 $common = new CommonFunctions(); 26 26 27 $loginUser = trim($this->getParam('account _login'));28 $emailUser = trim($this->getParam('account _email'));29 $nameUser = trim($this->getParam('account _name'));30 $profileUser = trim($this->getParam('account _profile'));31 $passwordUser = trim($this->getParam('account _password'));32 $rePasswordUser = trim($this->getParam('account _re_password'));33 $phoneUser = trim($this->getParam('account _phone'));34 $cpfUser = trim($this->getParam('account _cpf'));35 $rgUser = trim($this->getParam('account _rg'));36 $rgUF = trim($this->getParam('account _rg_uf'));37 $description = trim($this->getParam('account _description'));27 $loginUser = trim($this->getParam('accountLogin')); 28 $emailUser = trim($this->getParam('accountEmail')); 29 $nameUser = trim($this->getParam('accountName')); 30 $profileUser = trim($this->getParam('accountProfile')); 31 $passwordUser = trim($this->getParam('accountPassword')); 32 $rePasswordUser = trim($this->getParam('accountRePassword')); 33 $phoneUser = trim($this->getParam('accountPhone')); 34 $cpfUser = trim($this->getParam('accountCpf')); 35 $rgUser = trim($this->getParam('accountRg')); 36 $rgUF = trim($this->getParam('accountRgUf')); 37 $description = trim($this->getParam('accountDescription')); 38 38 39 39 // Field Validation -
sandbox/webservice/api/rest/admin/DeleteUserResource.php
r7810 r7813 20 20 if( $this->validatePermission($permission) ) 21 21 { 22 $uidUser = $this->getParam('account _uid_del');23 $uidNumberUser = $this->getParam('account _uidnumber_del');22 $uidUser = $this->getParam('accountUidDel'); 23 $uidNumberUser = $this->getParam('accountUidNumberDel'); 24 24 25 25 //Field Validation -
sandbox/webservice/api/rest/admin/EditUserResource.php
r7810 r7813 33 33 // Return fields 34 34 $return = array(); 35 $return['account _uidnumber']= $fields['uidnumber'];36 $return['account _login']= $fields['uid'];37 $return['account _email']= $fields['mail'];38 $return['account _name'] = $fields['givenname']." ".$fields['sn'];39 $return['account _phone']= $fields['telephonenumber'];40 $return['account _cpf'] = $fields['corporative_information_cpf'];41 $return['account _rg'] = $fields['corporative_information_rg'];42 $return['account _rg_uf']= $fields['corporative_information_rguf'];43 $return['account _description'] = $fields['corporative_information_description'];35 $return['accountUidnumber'] = $fields['uidnumber']; 36 $return['accountLogin'] = $fields['uid']; 37 $return['accountEmail'] = $fields['mail']; 38 $return['accountName'] = $fields['givenname']." ".$fields['sn']; 39 $return['accountPhone'] = $fields['telephonenumber']; 40 $return['accountCpf'] = $fields['corporative_information_cpf']; 41 $return['accountRg'] = $fields['corporative_information_rg']; 42 $return['accountRgUf'] = $fields['corporative_information_rguf']; 43 $return['accountDescription'] = $fields['corporative_information_description']; 44 44 45 45 $this->setResult( array( "result" => $return )); -
sandbox/webservice/api/rest/admin/RenameUserResource.php
r7810 r7813 22 22 if( $this->validatePermission($permission) ) 23 23 { 24 $uidUser = $this->getParam('account _uid_rename');25 $uidNewUser = $this->getParam('account _uid_new_rename');24 $uidUser = $this->getParam('accountUidRename'); 25 $uidNewUser = $this->getParam('accountUidNewRename'); 26 26 27 27 // Field Validation -
sandbox/webservice/api/rest/admin/SearchUserResource.php
r7810 r7813 21 21 if( $this->validatePermission($permission) ) 22 22 { 23 $searchUser = $this->getParam('account _search_user');23 $searchUser = $this->getParam('accountSearchUser'); 24 24 25 25 if( trim($searchUser) == "" && isset($searchUser) ) -
sandbox/webservice/api/rest/admin/UpdateUserResource.php
r7810 r7813 25 25 $common = new CommonFunctions(); 26 26 27 $uidNumber = trim($this->getParam('account _uidnumber_up'));28 $loginUser = trim($this->getParam('account _login_up'));29 $emailUser = trim($this->getParam('account _email_up'));30 $nameUser = trim($this->getParam('account _name_up'));31 $passwordUser = trim($this->getParam('account _password_up'));32 $rePasswordUser = trim($this->getParam('account _re_password_up'));33 $phoneUser = trim($this->getParam('account _phone_up'));34 $cpfUser = trim($this->getParam('account _cpf_up'));35 $rgUser = trim($this->getParam('account _rg_up'));36 $rgUF = trim($this->getParam('account _rg_uf_up'));37 $description = trim($this->getParam('account _description_up'));27 $uidNumber = trim($this->getParam('accountUidNumber')); 28 $loginUser = trim($this->getParam('accountLogin')); 29 $emailUser = trim($this->getParam('accountEmail')); 30 $nameUser = trim($this->getParam('accountName')); 31 $passwordUser = trim($this->getParam('accountPassword')); 32 $rePasswordUser = trim($this->getParam('accountRePassword')); 33 $phoneUser = trim($this->getParam('accountPhone')); 34 $cpfUser = trim($this->getParam('accountCpf')); 35 $rgUser = trim($this->getParam('accountRg')); 36 $rgUF = trim($this->getParam('accountRgUf')); 37 $description = trim($this->getParam('accountDescription')); 38 38 39 39 // Field Validation
Note: See TracChangeset
for help on using the changeset viewer.