11
and another question..
i have a class:
le="color: #000000"><?php class MembersType extends XoopsObject { function MembersType() { $this->XoopsObject(); $this->initVar('tid', XOBJ_DTYPE_INT, null, false); $this->initVar('name', XOBJ_DTYPE_TXTBOX, null, true, 100); $this->initVar('climit', XOBJ_DTYPE_INT, null, false); $this->initVar('cname', XOBJ_DTYPE_TXTBOX, null, true, 100); } }
and in classhandler i want to use $this->getVar('name'); but that doesn't work, because $this directs to classhandler not class, so - how can i access needed variables using getVar ?
where's my red bull!