| 1 | <?php |
||
| 19 | class Request |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * The callable object this factory is attached to |
||
| 23 | * |
||
| 24 | * @var CallableObject |
||
| 25 | */ |
||
| 26 | private $xCallable; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The class constructor |
||
| 30 | * |
||
| 31 | * @param CallableObject $xCallable |
||
| 32 | */ |
||
| 33 | public function __construct(CallableObject $xCallable) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Generate the corresponding javascript code for a call to any method |
||
| 40 | * |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function __call($sMethod, $aArguments) |
||
| 49 | } |
||
| 50 |