[TYPO3-mvc] Check the request

Dawid Pacholczyk dpacholczyk at gmail.com
Tue Oct 26 10:34:33 CEST 2010


I want to get an argument for my uri so I use
$this->request->getArgument('argument_name');

But when it isn`t set I receive error. Cool. Nothing wrong with that. But is
there some method tha I can use to check first if the argument exists ?
Cause I have same view with 2 states on one page and they depend on the
argument value so I need to check it on start but I can`t cause when it`s
not set I receive an error :(

Best regards,
Dawid Pacholczyk

-- 
Dawid Pacholczyk
tel: 502-054-334
gg: 5564051
skype: dpacholczyk
http://typo3blog.pl (only polish version at the moment)


More information about the TYPO3-project-typo3v4mvc mailing list