Class Giscuit_Validate_GeometryType

Description

WKT geometry type validator

  • copyright: Copyright (c) 2012 VEC

Located in /Validate/GeometryType.php (line 28)

Zend_Validate_Abstract
   |
   --Giscuit_Validate_GeometryType
Class Constant Summary
 INVALID_GEOMETRY_TYPE = 'invalidGeometryType'
Variable Summary
 Zend_Validate_Abstract $_type
Method Summary
 __construct ([Zend_Validate_Abstract $type = null]) void
 getType () Zend_Validate_Abstract
 isValid (string $value) boolean
 setType (mixed $type) Zend_Validate_Abstract
Variables
array $_messageTemplates = array(
self::INVALID_GEOMETRY_TYPE => "Invalid geometry type"
)
(line 38)

Validation failure message template definitions

  • access: protected
Zend_Validate_Abstract $_type (line 47)

Type to compare with

  • access: protected
Methods
Constructor __construct (line 55)

Sets validator options

  • access: public
void __construct ([Zend_Validate_Abstract $type = null])
  • Zend_Validate_Abstract $type
getType (line 65)

Get the type

  • access: public
Zend_Validate_Abstract getType ()
isValid (line 90)

Defined by Zend_Validate_Interface

Returns true if and only if geometry matches the specified type

  • access: public
boolean isValid (string $value)
  • string $value
setType (line 76)

Set the type

  • access: public
Zend_Validate_Abstract setType (mixed $type)
  • mixed $type
Class Constants
INVALID_GEOMETRY_TYPE = 'invalidGeometryType' (line 31)

Documentation generated on Wed, 28 May 2014 08:33:15 +0000 by phpDocumentor 1.4.3