[TYPO3-mvc] Make some Model Properties optional

Kay Strobach typo3 at kay-strobach.de
Mon Mar 18 16:48:28 CET 2013


Hello Stefan,

you may use sth. like:

function name($param1, $param2='default', ...)

Regards
Kay

Am 18.03.13 16:02, schrieb Stefan Kruse:
> Hi,
> 
>  
> 
> its me again. J
> 
> I have an idea. Is it possible to overwrite in a initializeAction the
> Object properties and setRequired(FALSE)? 
> 
> When yes how did I come on the properties from my argument and how to set
> them? Has somebody a tipp how to do this out of my initialize action?
> 
>  
> 
> Regards and thanks for every tipp.
> 
>  
> 
> Stefan
> 


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach



More information about the TYPO3-project-typo3v4mvc mailing list