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 (String, 10 characters ) xada_users         
keyName 
(String, 3 characters ) uid        
 className 
(String, 9 characters ) XoopsUser        
 identifierName 
(String, 5 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