1
xoopdio
updating handler var ?
  • 2012/4/1 13:15

  • xoopdio

  • Just popping in

  • Posts: 29

  • Since: 2011/9/27


Hi

I got the following object :

(Object) XoopsModelWrite     
 handler 
(Object) XoopsUserHandler         
handler 
(NULL)         
handlers (Array, 5 elements)            
 
read (NULL)            
 
stats (NULL)            
 
joint (NULL)             
write (NULL)            
 
sync (NULL)         
table (String10 characters xada_users         
keyName 
(String3 characters uid        
 className 
(String9 characters XoopsUser        
 identifierName 
(String5 characters uname        
 db 
(Object) XoopsMySQLDatabaseProxy


Id like to know if its possible to change the table name as entry, and if yes with which method ?
I already tried the setVar method from the class XoopsObject but I must do it wrong or it is not the way to proceed : I couldn't find the proper way to do this.

Thank you
"A tree is made of non-tree elements" Thich Nhat Hanh

2
xoopdio
Re: updating handler var ?
  • 2012/4/30 7:50

  • xoopdio

  • Just popping in

  • Posts: 29

  • Since: 2011/9/27


Its because you use the wrong handler son, you need to use the xoops_getmodulehandler function instead. ;)
"A tree is made of non-tree elements" Thich Nhat Hanh

Login

Who's Online

309 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 309


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits