\Ceo\Plugins\Weather\ServicesCurrentWeather

Provides simple interface for reading and generating information on current weather conditions.

Current valid properties are:

  • temp, temperature, temperatureF - int the temerature in Fahrenheit
  • tempC, temperatureC - int the current temperature in Celsius
  • url - string forecast link (back to weather.gov)
  • icon - string simple icon name

Current valid methods are:

  • isRaining() - bool
  • isStorming() - bool
  • isSnowing() - bool
  • isCloudy() - bool

The class also supports 'toString', so you can echo the class to get a text representation of the current conditions:

echo $currentWeather; \ 'Clear'

Summary

Methods
Properties
Constants
__construct()
__isset()
__get()
__call()
icon()
string()
__toString()
__sleep()
$created_at
No constants found
No protected methods found
$properties
$url
N/A
No private methods found
No private properties found
N/A

Properties

$created_at

$created_at : 

Type

$properties

$properties : 

Type

$url

$url : 

Type

Methods

__construct()

__construct(  $p,   $u) 

Parameters

$p
$u

__isset()

__isset(  $k) 

Parameters

$k

__get()

__get(  $k) 

Parameters

$k

__call()

__call(  $f,   $v) 

Parameters

$f
$v

icon()

icon() 

string()

string() 

__toString()

__toString() 

__sleep()

__sleep()