WebService auxiliary class
- Autor
- Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
- Versão
- $id$
Maintainers:
Armando Taffarel Neto [taffa.nosp@m.rel@.nosp@m.solis.nosp@m..coo.nosp@m.p.br] Daniel Hartmann [danie.nosp@m.l@so.nosp@m.lis.c.nosp@m.oop..nosp@m.br]
- Desde
- Creation date 2010/12/09
Organization:
SOLIS - Cooperativa de Soluções Livres
CopyRight:
Copyright (c) 2010 SOLIS - Cooperativa de Soluções Livres
License:
Licensed under GPLv2 (for further details read the COPYING file or http://www.gnu.org/licenses/gpl.html)
History:
See history in CVS repository: http://www.miolo.org.br
◆ accessError()
Throw Soap error with an access denied message
◆ checkPermission()
checkPermission |
( |
| $user, |
|
|
| $password ) |
|
protected |
Athentication method
- Parâmetros
-
string | $user | |
string | $password | |
- Retorna
- bool Return true if can authenticate with the given user and password
◆ error()
error |
( |
| $code, |
|
|
| $message ) |
|
protected |
Throw Soap error with the given message
- Parâmetros
-
◆ requestIsFromSubnet()
Check if the client is on the same subnet of the server WARNING: Linux-only method
- Retorna
- bool Return true whether the request comes from the same subnet
◆ requestIsLocal()
- Retorna
- bool Return true if the connection is local
A documentação para esta classe foi gerada a partir do seguinte ficheiro:
- /var/docker/solisge-devel/www/solisge/miolo25/classes/services/mwebservice.class.php