diff --git a/classes/gmap.php b/classes/gmap.php index 6c0d5f0..94f04c8 100644 --- a/classes/gmap.php +++ b/classes/gmap.php @@ -5,6 +5,6 @@ * @package gmap * @author Leonard Fischer * @copyright (c) 2011 Leonard Fischer - * @version 1.1 + * @version 1.3 */ class Gmap extends Gmap_Core {} \ No newline at end of file diff --git a/classes/gmap/core.php b/classes/gmap/core.php index b5a55f7..1bf9d77 100644 --- a/classes/gmap/core.php +++ b/classes/gmap/core.php @@ -5,7 +5,7 @@ * @package gmap * @author Leonard Fischer * @copyright (c) 2011 Leonard Fischer - * @version 1.1 + * @version 1.3 */ class Gmap_Core { @@ -342,7 +342,7 @@ public function render($view = '') /** * Set some controls for your gmap. * You can specify how to display the map-type and navigation control. - * For more information visit https://github.com/solidsnake/Kohana-Google-Maps-Module/wiki + * For more information visit https://github.com/solidsnake/Kohana-Google-Maps-Module/wiki . * * @param array $options Set the options for the gmap-controls here. * @return Gmap @@ -369,7 +369,7 @@ public function set_gmap_controls(array $options) /** * Set the maptype controls for your gmap. - * For more information visit https://github.com/solidsnake/Kohana-Google-Maps-Module/wiki + * For more information visit https://github.com/solidsnake/Kohana-Google-Maps-Module/wiki . * * @param array $options Set the options for the controls here. * @return Gmap @@ -396,7 +396,7 @@ public function set_gmap_controls_maptype(array $options) /** * Set the navigation controls for your gmap. - * For more information visit https://github.com/solidsnake/Kohana-Google-Maps-Module/wiki + * For more information visit https://github.com/solidsnake/Kohana-Google-Maps-Module/wiki . * * @param array $options Set the options for the controls here. * @return Gmap @@ -464,8 +464,8 @@ public function set_gmap_options(array $values) * You may set a CSS attribute like for example "500px", "50%" or "10em". * If you just set an integer, "px" will be used. * - * @param mixed $x May be a CSS attribute ("500px", "50%", "10em") or an int - * @param mixed $y May be a CSS attribute ("500px", "50%", "10em") or an int + * @param mixed $x May be a CSS attribute ("500px", "50%", "10em") or an int. + * @param mixed $y May be a CSS attribute ("500px", "50%", "10em") or an int. * @return Gmap */ public function set_gmap_size($x = NULL, $y = NULL) @@ -596,7 +596,7 @@ protected static function validate_control_maptype($maptype) if (array_key_exists($maptype, Gmap::$control_maptypes)) { return Gmap::$control_maptypes[$maptype]; - } // if + } elseif (in_array($maptype, Gmap::$control_maptypes)) { return $maptype; @@ -622,7 +622,7 @@ protected static function validate_control_navigation($navigation) if (array_key_exists($navigation, Gmap::$control_navigation)) { return Gmap::$control_navigation[$navigation]; - } // if + } elseif (in_array($navigation, Gmap::$control_navigation)) { return $navigation; @@ -653,7 +653,7 @@ protected static function validate_control_position($position = NULL) if (array_key_exists($position, Gmap::$control_positions)) { return Gmap::$control_positions[$position]; - } // if + } elseif (in_array($position, Gmap::$control_positions)) { return $position; @@ -713,7 +713,7 @@ protected static function validate_maptype($maptype) if (array_key_exists($maptype, Gmap::$maptypes)) { return Gmap::$maptypes[$maptype]; - } // if + } elseif (in_array($maptype, Gmap::$maptypes)) { return $maptype;