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?
ou sorry.. das war ein versehen. $fcall muss in diesem fall
$beforeFunctionCall lauten. konnte allerdings mein problem
bereits lösen:
// Call the Main-Method for the current Action
(( $this->action = release ))
$mainFunctionCall = ucfirst( $this->action );
if( !method_exists( $this, $mainFunctionCall ) )
die( "ErrorMsg: The Function <b>$mainFunctionCall()</b>".
"in <b>default.action.class.php</b> does not exist!" );
eval( $this->$mainFunctionCall() );
aber besten dank für die antwort
thx
::Stella Maris::