blob: f9d02c7740ea771ad35fdf09859e77d61164ac76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?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);
}
}
?>
|