Hello together,

i new to symfony, but hopefully slowly I get the full knowledge ;-)

I extend my Application with a Soap-Server (The Zend-Soap).

I added a module an some routing which works fine....

I have in "apps/frontend/lib" a class for containing the soap-
functions...
##################################################################
class Service{
/**
* Retrieves the Page
*
* @param string $token The generated token of the page
* @return string
*/
        public function getPage($value)
        {
                $this->events = Doctrine_Core::getTable('pages')
                        ->createQuery('l')
                        ->where('l.id = ?', 3)
                        ->execute();

                $this->page = '<html><head></head><body>This is a test: '.$this-
>events->getFirst()->getTitle().'</body></html>';
                return $this->page;
        }
}
####################################################################

How can I use templates for the html-content which would have to
loaded dynamically...

Thanks in adavance

Bernhard

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to