public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     if (isset($this->getProperty()->plugins) && isset($this->getProperty()->plugins->plugin)) {
         $this->processPlugins();
     }
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->ordered_steps = array();
     $this->non_ordered_steps = array();
     $this->ordered_step_map = array();
     $this->non_ordered_step_map = array();
     $this->triggers = array();
     $simple_xml = simplexml_load_string($this->getProperty()->xml);
     $def_attr = $simple_xml->attributes();
     $this->name = $def_attr->name;
     $this->initial_step = $def_attr->{"initial-step"};
     $count = count($simple_xml->triggers->trigger);
     if ($count > 0) {
         foreach ($simple_xml->triggers->trigger as $trigger) {
             $this->triggers[] = new p\TriggerDefinition($trigger);
         }
     }
     if ($simple_xml->steps) {
         foreach ($simple_xml->steps->step as $step) {
             $new_step = new p\StepDefinition($step);
             $this->ordered_steps[] = $new_step;
             $this->ordered_step_map[$new_step->getIdentifier()] = $new_step;
         }
     }
     if ($simple_xml->{"non-ordered-steps"}) {
         foreach ($simple_xml->{"non-ordered-steps"}->step as $step) {
             $new_step = new p\StepDefinition($step);
             $this->non_ordered_steps[] = $new_step;
             $this->non_ordered_step_map[$new_step->getIdentifier()] = $new_step;
         }
     }
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->connector_parameters = array();
     $this->connector_content_type_links = array();
     $this->processParameters();
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     if (isset($this->getProperty()->dynamicMetadataFieldDefinitions) && isset($this->getProperty()->dynamicMetadataFieldDefinitions->dynamicMetadataFieldDefinition)) {
         $this->processDynamicMetadataFieldDefinition();
     }
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     // Skip page for content type to be set
     if ($this->getType() == File::TYPE || $this->getType() == Symlink::TYPE) {
         $this->processMetadata();
     }
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->page_regions = array();
     $this->page_region_map = array();
     self::processPageRegions($this->getProperty()->pageRegions->pageRegion, $this->page_regions, $this->page_region_map, $this->getService());
     $this->xml = $this->getProperty()->xml;
 }
 /**
  * The constructor
  * @param $service the AssetOperationHandlerService object
  * @param $identifier the identifier object
  */
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->xml = $this->getProperty()->xml;
     $this->attributes = array();
     $this->structured_data = new \stdClass();
     // process the xml
     $this->processSimpleXMLElement(new \SimpleXMLElement($this->xml));
     // fully qualified identifiers
     $this->identifiers = array_keys($this->attributes);
     // create the structured data
     $this->createStructuredData(new \SimpleXMLElement($this->xml));
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->processContentTypePageConfigurations($this->getProperty()->contentTypePageConfigurations->contentTypePageConfiguration);
     if (isset($this->getProperty()->inlineEditableFields) && isset($this->getProperty()->inlineEditableFields->inlineEditableField)) {
         $this->processInlineEditableFields($this->getProperty()->inlineEditableFields->inlineEditableField);
     }
     if (isset($this->getProperty()->dataDefinitionId)) {
         $this->data_definition = new DataDefinition($service, $service->createId(DataDefinition::TYPE, $this->getProperty()->dataDefinitionId));
     }
     $this->metadata_set = new MetadataSet($service, $service->createId(MetadataSet::TYPE, $this->getProperty()->metadataSetId));
     $this->configuration_set = new PageConfigurationSet($service, $service->createId(PageConfigurationSet::TYPE, $this->getProperty()->pageConfigurationSetId));
     $this->wired_field_types = array(self::AUTHOR, self::DISPLAY_NAME, self::END_DATE, self::KEYWORDS, self::META_DESCRIPTION, self::REVIEW_DATE, self::START_DATE, self::SUMMARY, self::TEASER, self::TITLE);
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->days_of_week = array(self::SUNDAY, self::MONDAY, self::TUESDAY, self::WEDNESDAY, self::THURSDAY, self::FRIDAY, self::SATURDAY);
 }
 public function __construct(aohs\AssetOperationHandlerService $service, \stdClass $identifier)
 {
     parent::__construct($service, $identifier);
     $this->processMetadata();
 }