Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/08/2011, 10:47
Avatar de jamesjara
jamesjara
 
Fecha de Ingreso: mayo-2008
Ubicación: san jose
Mensajes: 449
Antigüedad: 16 años
Puntos: 7
Respuesta: OOP mejores practicas, duda con propiedad o metodo

cierto! , gracias

Y de hecho estabaa haciendo mal al agregar dos modulos obligatorios.. ahora
es mas bien 100% dinamico :

Código:
$Webservice->add_Module		( "login"  		, MOD_LOGIN	 );
$Webservice->add_SubModule	( MOD_LOGIN 	, "GET"		, GET 	, "db_xml" );
$Webservice->add_SubModule	( MOD_LOGIN 	, "LIS" 	, LIS	, "db_json" );
$Webservice->add_SubModule	( MOD_LOGIN 	, "ADD"		, ADD 	, "PLAIN_JSON" );
$Webservice->add_SubModule	( MOD_LOGIN 	, "UPD"		, UPD 	, "PLAIN_XML" );
$Webservice->add_SubModule	( MOD_LOGIN 	, "DEL"		, DEL 	, "plain_function" );
__________________
X7CLOUD El webservice latino!
Compatible
con mysql,sql,sqlitte.
Compatible con extjs , sencha , smargwt, Gwt , Jquery , Charts, Streaming.