You are here

interface LiveWeatherInterface in Live Weather 8.2

Same name and namespace in other branches
  1. 8 src/LiveWeatherInterface.php \Drupal\live_weather\LiveWeatherInterface

Live WeatherInterface.

Hierarchy

Expanded class hierarchy of LiveWeatherInterface

All classes that implement LiveWeatherInterface

2 files declare their use of LiveWeatherInterface
LiveWeatherBlock.php in src/Plugin/Block/LiveWeatherBlock.php
Contains \Drupal\live_weather\Plugin\Block\LiveWeatherBlock.
LiveWeatherForm.php in src/Form/LiveWeatherForm.php
Contains \Drupal\live_weather\Form\LiveWeatherForm.

File

src/LiveWeatherInterface.php, line 12
Contains \Drupal\live_weather\LiveWeatherInterface.

Namespace

Drupal\live_weather
View source
interface LiveWeatherInterface {

  /**
   * Get location data.
   */
  public function locationCheck($woeid = NULL, $filter = '', $unit = 'f');

  /**
   * Check Day or Night.
   */
  public static function checkDayNight($date, $sunrise, $sunset);

  /**
   * Get Wind Direction.
   */
  public static function windDirection($direction);

  /**
   * buildBaseString.
   */
  public static function buildBaseString($baseURI, $method, $params);

  /**
   * buildAuthorizationHeader.
   */
  public static function buildAuthorizationHeader($oauth);

}

Members

Namesort descending Modifiers Type Description Overrides
LiveWeatherInterface::buildAuthorizationHeader public static function buildAuthorizationHeader. 1
LiveWeatherInterface::buildBaseString public static function buildBaseString. 1
LiveWeatherInterface::checkDayNight public static function Check Day or Night. 1
LiveWeatherInterface::locationCheck public function Get location data. 1
LiveWeatherInterface::windDirection public static function Get Wind Direction. 1