blob: b70a4911ba59c7c31fe12254af5817e92ff69fad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
Prado::using('Application.pages.MyJavascriptLib');
class TestComp extends TControl
{
private $_class;
public function setClass($value)
{
$this->_class=$value;
}
public function onPreRender($param)
{
parent::onPreRender($param);
MyJavascriptLib::registerPackage($this,$this->_class);
}
}
|