You are here

public function dsDisplay::initialise in Display Suite 6.3

Initialise a display object

File

includes/dsDisplay.php, line 67
Class definition for a Display Suite Display object

Class

dsDisplay
The Display Suite Display object

Code

public function initialise($object) {

  // API info for this module and type.
  $this->api_info = ds_get_display_hander($object->module);

  // Get settings for this display/build mode combination
  $this->settings = ds_get_settings($object->module, $object->type, $object->build_mode);
}