You are here

public function Notifications_Subscription::set_properties_from_url in Notifications 7

Set instance properties from url parameters

File

./notifications.subscription.inc, line 638
Drupal Notifications Framework - Default class file

Class

Notifications_Subscription
Common base for subscription type and subscription instance

Code

public function set_properties_from_url($query = NULL) {
  $params = isset($query) ? $query : $_GET;
  return $this
    ->set_properties_from_values($params, TRUE)
    ->set_fields_from_values($params);
}