blob: 52d4e411f8ee651bb05147ff72e3f55cd00e0b47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?php
class Ticket922 extends TPage {
public function processString($sender,$param) {
$text = $this->Text->Text;
$url= $this->getService()->constructUrl('Ticket922', array('text'=>$text));
$this->getResponse()->redirect($url);
}
public function onLoad($param) {
if ($this->Request->contains('text'))
$this->Result->setText($this->Request->itemAt('text'));
}
}
|