How can i use a static property of my controller in a view??
class ProductShowcaseController extends Controller
{
public $cartCode = "Mkf.Product.Cart";
public static $currencyPrefix;
public function actionIndex()
{
$this->render('index');
}
}
Index view
<h1><?php echo self::$currencyPrefix; ?></h1>
Tanks!