data.php

  1. 7.x-3.x example/server_data/Provision/Service/server/data.php
  2. 7.x-3.x example/site_data/Provision/Service/site/data.php

Classes

Namesort descending Description
Provision_Service_site_data The site_data service class.

File

example/site_data/Provision/Service/site/data.php
View source
  1. <?php
  2. /**
  3. * The site_data service class.
  4. */
  5. class Provision_Service_site_data extends Provision_Service {
  6. public $service = 'site_data';
  7. /**
  8. * Add the needed properties to the site context.
  9. */
  10. static function subscribe_site($context) {
  11. $context->setProperty('site_data');
  12. }
  13. }