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

Class: Services_OpenStreetMap_OpeningHours

Source Location: /Services_OpenStreetMap-1.0.0RC2/Services/OpenStreetMap/OpeningHours.php

Class Overview


Services_OpenStreetMap_OpeningHours


Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 25]
Services_OpenStreetMap_OpeningHours


[ Top ]


Class Variables

$value =

[line 32]

The value set against the OpeningHours tag
  • Access: protected

Type:   string


[ Top ]



Method Detail

__construct (Constructor)   [line 39]

Services_OpenStreetMap_OpeningHours __construct( [string $value = null])

Constructor
  • Access: public

Parameters:

string   $value   —  An opening_hours value

[ Top ]

isOpen   [line 67]

null|boolean isOpen( [int $time = null])

Return true, false or null depending on whether the [opening hours] value explicitly indicates an open, closed or undecided result.

Parameters:

int   $time   —  A numeric value representing a time. If null, the current time is used.

[ Top ]

setValue   [line 51]

Services_OpenStreetMap_OpeningHours setValue( string $value)

Set opening_hours value.
  • Access: public

Parameters:

string   $value   —  An opening_hours value

[ Top ]


Documentation generated on Tue, 28 May 2019 19:19:08 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.