[Solar-talk] Method-Based Actions

Paul M Jones pmjones at solarphp.com
Fri Jun 23 11:11:21 PDT 2006


On Jun 23, 2006, at 12:56 PM, Mike Naberezny wrote:

> Paul M Jones wrote:
>
>> I'm tending in this direction as well.  I like the alphabetic
>> collection point, but some level of recognition of previous standards
>> is good.
>
> Assuming you don't add public methods that aren't actions to a
> controller, you will have this grouping in either case according to  
> your
> coding standards.  Any method in a controller that's not an action  
> will
> have at least one underscore prefixing it.

The display() and fetch() methods are public, as are __construct()  
etc.  But I think those are not so big a deal; all others are more  
likely to be protected, and thus underscore-prefixed.


--

Paul M. Jones  <http://paul-m-jones.com>

Solar: Simple Object Library and Application Repository
for PHP5.   <http://solarphp.com>

Savant: The simple, elegant, and powerful solution for
templates in PHP.   <http://phpsavant.com>




More information about the solar-talk mailing list