blob: e9c48c438331162784bc04ee207f23445f412ddb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
<?php
/*
* Created on 12/05/2006
*/
class TCallbackOptions extends TControl
{
private $_clientSide;
/**
* Callback client-side options can be set by setting the properties of
* the ClientSide property. E.g. <com:TCallback ClientSide.OnSuccess="..." />
* See {@link TCallbackClientSideOptions} for details on the properties of
* ClientSide.
* @return TCallbackClientSideOptions client-side callback options.
*/
public function getClientSide()
{
if(is_null($this->_clientSide))
$this->_clientSide = $this->createClientSideOptions();
return $this->_clientSide;
}
/**
* @return TCallbackClientSideOptions callback client-side options.
*/
protected function createClientSideOptions()
{
return new TCallbackClientSideOptions;
}
}
?>
|