[Solar-talk] Method-Based Actions
Mike Naberezny
mike at naberezny.com
Fri Jun 23 11:44:05 PDT 2006
Paul M Jones wrote:
>>Personally I wouldn't bother with "action" at all as it's unnecessary.
>>
>>
>
>I think it's necessary, otherwise display(), fetch(), apiVersion(),
>locale(), and other public methods are presented as allowed actions.
>
>
Also, there is a slight PHP limitation here in that you risk clashing
with PHP constructs if there is no prefix or suffix. A method named
"listAction" is acceptable but a method named "list" will result in a
parse error for unexpected T_LIST.
Mike
More information about the solar-talk
mailing list