calling helper class in my view

anyone knows how to call helper class in my view page??

i already imported in main.php by adding this ‘application.extensions.*’,

but still got this error: failed to open stream: No such file or directory

code in my view: Class::function();

help plz… anyone???

Yii::import("application.components.*");

or

Yii::import("application.extensions.*");

Does it help?

Which helper class are you trying to use and where is it located?

i create my own helper class and its located at " application.helpers. "

Yii::import("application.components.*");

or

Yii::import("application.extensions.*");

still got error No such file or directory i try to put this in my controller and my view page…

If it’s located at application.helpers. you should use

Yii::import("application.helpers.*");

still got error by adding this code in view and controller Yii::import("application.helpers.*");… anyone?? help me on this… plzzz

I once forgot the "<?php" in my php file. IIRC the error message was similar.

/Tommy