summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket585.php
blob: e5b08036762a607f681d8978e446c119103d6d3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
Prado::using('System.Web.UI.ActiveControls.*');
class Ticket585 extends TPage
{

	public function ChkDate ($sender, $param)
	{
		if ($param->Value && date('d-m-Y', $param->Value) == "15-03-2007")
		{
			$param->IsValid=false;
		}
		else
			$param->IsValid=true;
	}

}