Page 1 of 1
Re: user defined tags and $this->GetModuleInstance('CMSMailer')
Posted: Mon Dec 03, 2007 12:33 pm
by cyberman
Re: user defined tags and $this->GetModuleInstance('CMSMailer')
Posted: Mon Dec 03, 2007 1:34 pm
by Ted
Try $mail &= CmsModule::GetModuleInstance('CMSMailer');
That should work...
Re: user defined tags and $this->GetModuleInstance('CMSMailer')
Posted: Wed Dec 05, 2007 1:48 am
by calguy1000
In a UDT you can also do this:
global $gCms;
$cmsmailer =& $gCms->modules['CMSMailer']['object'];
Re: user defined tags and $this->GetModuleInstance('CMSMailer')
Posted: Wed Dec 05, 2007 2:08 am
by calguy1000
it's called the 'scope resolution operator'..... but that's geek talk
