Dynamic Method Call In Model

is it possible to do

ex:

if($model->dataGraph)

return $this->call($model->dataGraph);

how can i do this?

call_user_func( ‘ClassName::method’ );

is there another elegant way to do this in Yii

thanks;

ok

$foo = new Foo();

$funcname = "Variable";

$foo->$funcname();