function -> action

From: Date: Fri, 03 Aug 2007 06:38:55 +0000
Subject: function -> action
Groups: php.general 
Request: Send a blank email to php-general+get-260109@lists.php.net to get a copy of this message
Hallo! I'm working on a project, where we distinguish between "functions" and "actions" in design, although in PHP both are implemented as functions. Is there a chance that PHP can use the word "action" as "function"? E.g.: public function doSomething() { .... } public action doSomethingElse() { ... } ... is actually the same but would help to see the design also in the code. TIA, Ralph

« previous php.general (#260109) next »