You are here

public function PurgePurgerBundle::set_types in Purge 7.2

Function to set the type objects.

1 call to PurgePurgerBundle::set_types()
PurgePurgerBundleProcess::__construct in includes/purge.class.inc
Constructor for the Configuration bundle.

File

includes/purge.class.inc, line 813
Contains all class and interface definitions for Purge.

Class

PurgePurgerBundle
Class definition for basic bundles.

Code

public function set_types($data) {

  // Get the datastructure of the types up.
  foreach ($data['type'] as $type_name => $type_data) {

    // And create an object for each type
    $this->type[$type_name] = unserialize($type_data);
  }
}