Web_Event_Simple that expect captured value to be integer otherwise throws exception
Useful when integer id is expected and we want to prevent the application from sql injection for example
Located in /web_site/web_event_simple_int.class.php [line 30]
Tangra_Class | --Event | --Web_Event | --Web_Event_Simple | --Web_Event_Simple_Int
Methods
Inherited From Web_Event_Simple
Web_Event_Simple::$capture Web_Event_Simple::$type
Inherited From Event
Event::$name
Web_Event_Simple::__construct() Constructor Web_Event_Simple::get_capture() Returns capture label Web_Event_Simple::get_type() Returns type of the event Web_Event_Simple::is_it_me() Checks if event condition is met Web_Event_Simple::set_capture() Sets capture label Web_Event_Simple::set_type() Sets event type
Inherited From Web_Event
Web_Event::get_capture() Returns label of the capture Web_Event::is_it_me() Checks if event condition is met
Event::__construct() Event::get_name() Gets the event name Event::set_name() Sets the event name
Inherited From Tangra_Class
Tangra_Class::get_class_name() Alias of get_class(). Exist because of historical reasons. Tangra_Class::__set() Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.
string is_it_me( Web_Context $context )
Checks if event condition is met