Client
[ class tree: Client ] [ index: Client ] [ all elements ]

Class: HttpRequestHandler

Source Location: /client/HttpRequestHandler.php

Class Overview


Does common actions on HTTP request


Variables

Methods



Class Details

[line 258]
Does common actions on HTTP request



[ Top ]


Class Variables

$log =

[line 263]



Tags:

access:  private

Type:   Logger


[ Top ]



Class Methods


constructor __construct [line 269]

HttpRequestHandler __construct( Cartoclient $cartoclient)

Constructor



Tags:

access:  public


Parameters:

Cartoclient   $cartoclient  

[ Top ]

method checkClickedButtons [line 355]

void checkClickedButtons( CartoForm $cartoForm)

Checks if one map was clicked



Tags:

access:  private


Parameters:

CartoForm   $cartoForm  

[ Top ]

method checkKeymapButton [line 331]

boolean checkKeymapButton( CartoForm $cartoForm)

Returns true if key map was clicked and stores the point selected on key map into $cartoForm.



Tags:

access:  private


Parameters:

CartoForm   $cartoForm  

[ Top ]

method checkMainmapButton [line 302]

boolean checkMainmapButton( CartoForm $cartoForm)

Returns true if main map was clicked

Stores the shape selected on main map.




Tags:

access:  private


Parameters:

CartoForm   $cartoForm  

[ Top ]

method getButtonPixelPoint [line 288]

Point getButtonPixelPoint( string $buttonName)

Returns point where button was clicked



Tags:

return:  position of click
static:  


Parameters:

string   $buttonName   button name

[ Top ]

method handleHttpRequest [line 437]

CartoForm handleHttpRequest( ClientSession $clientSession, CartoForm $cartoForm)

Handles buttons and tools.



Tags:

return:  modified status
access:  public


Parameters:

ClientSession   $clientSession   session
CartoForm   $cartoForm   current status

[ Top ]

method handleTool [line 372]

mixed handleTool( ClientPlugin $plugin, ToolDescription $tool)

Handles HTTP request for one tool of one plugin



Tags:

return:  request
access:  private


Parameters:

ClientPlugin   $plugin   plugin
ToolDescription   $tool   tool

[ Top ]

method handleTools [line 397]

mixed handleTools( ClientPlugin $plugin)

Handles HTTP request for selected plugin tool

Assumes that $plugin is an instance of ToolProvider.




Tags:

return:  request
access:  public


Parameters:

ClientPlugin   $plugin   plugin

[ Top ]

method isButtonPushed [line 279]

boolean isButtonPushed( string $name)

Returns true if button was clicked



Tags:

static:  


Parameters:

string   $name   button name

[ Top ]


Documentation generated on Mon, 13 Feb 2006 11:43:47 +0100 by phpDocumentor 1.3.0RC3