Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Added docu
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcel Colomb committed Jul 9, 2013
1 parent ac15f48 commit e4fe53d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/CM/FormField/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ public function validate($userInput, CM_Response_Abstract $response) {
return new CM_Model_Location($level, $id);
}

/**
* @param CM_Request_Abstract $request
*/
public function setValueByRequest(CM_Request_Abstract $request) {
$ip = $request->getIp();
$requestLocation = CM_Model_Location::findByIp($ip);
Expand Down

0 comments on commit e4fe53d

Please sign in to comment.