Hi,
var $action; //nimmt den wert release an
...
$fcall = "Before".ucfirst( $this->action );
echo ( method_exists( $this, $beforeFunctionCall ) )?'ja':'nein';
Okay - in $fcall sollte dann 'BeforeRelease' drinstehen, wodurch method_exists($this, $fcall) auch true zurückgeben sollte. Du übergibst der Funktion aber $beforeFunctionCall als zweiten Parameter - was steht da drin?
Gruß,
Andreas.