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

Class: GEOlongitude

Source Location: /GEOlongitude.php

Class Overview

Strings
   |
   --STRnumbers
      |
      --GEOlongitude

This class manages GEOcity objects.


Author(s):

Version:

  • 1.0

Methods


Inherited Variables

Inherited Methods

Class: STRnumbers

STRnumbers::Format()
Format function
STRnumbers::is_percent()
Percentage detection function

Class: Strings

Strings::__construct()
Construction function
Strings::console()
Console function
Strings::IsUTF8()
UTF8 detection function
Strings::QuoteStrip()
Quotes stripping function
Strings::RemoveAccent()
Accents removal function
Strings::RemoveSpaces()
Spaces removal function
Strings::stringHasNumbers()
Numbers detection function
Strings::ToUTF8()
UTF8 conversion function
Strings::ucwordsw()
Special uppercase function

Class Details

[line 30]
This class manages GEOcity objects.

Created on 24 aug 09

CHANGES: 1.0 -> 1.0: 24 aug 09 updated: xxx




Tags:

author:  Pierre-Dominique Vienne <pvienne@me.com>
version:  1.0
license:  GNU Public License


[ Top ]


Class Methods


method isValidGEOlongitude [line 58]

bool isValidGEOlongitude( float $this->value)

GEOlongitude validation function

This function is used to validate a GEOlongitude Result is returned

  1.  <?php
  2.  $olongitude           =   new GEOlongitude;
  3.  $olongitude->value    =   12.4;
  4.  echo $olongitude->isValidGEOlongitude("\n";
  5.  $olongitude->value    =   -84.2;
  6.  echo $olongitude->isValidGEOlongitude("\n";
  7.  $olongitude->value    =   122;
  8.  echo $olongitude->isValidGEOlongitude("\n";
  9.  // 1
  10.  // 0
  11.  // 1
  12.  ?>




Tags:

return:  true or false wheither the longitude is valid or not
since:  version 1.0


Parameters:

float   $this->value   longitude to be validated (required)

[ Top ]


Documentation generated on Wed, 26 Aug 2009 12:30:16 +0200 by phpDocumentor 1.4.1