[TYPO3-ect] lib/div Revision 6356, towards the action pipe
Elmar Hinz
elmar07 at googlemail.com
Tue Aug 28 11:42:31 CEST 2007
Fabien Udriot wrote:
>
> var $status = TX_LIB_APS_OK;
Currently the default is:
var $status = TX_LIB_APS_ERROR;
So it's a question to decide between the easy and the secure way. But it's
not a real question of security here. So it's O.K. to switch the default to
the easy way. If nobody else argues against this suggestion, I will change
it.
> $pipe->checkStatus(); or $pipe->isOK();
We could add some functions for a handful of standard status:
$pipe->isERROR();
$pipe->isOK();
$pipe->isPASSED();
$pipe->isFAILED();
$pipe->isCREATED();
or?
$pipe->ERROR();
$pipe->OK();
$pipe->PASSED();
$pipe->FAILED();
$pipe->CREATED();
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list