blob: d7ef6d27ebe0712ec141d0e6300203e549e37639 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
class Ticket191 extends TPage
{
public function buttonClicked($sender,$param)
{
if($this->IsValid)
$this->Application->clearGlobalState('ticket190');
}
public function customValidation($sender,$param)
{
$param->IsValid=$this->Application->getGlobalState('ticket190')===$this->TextBox->Text;
}
public function updateGlobal($sender,$param)
{
$this->Application->setGlobalState('ticket190',$this->TextBox2->Text);
}
}
|