public function createContent(core_kernel_classes_Resource $delivery, core_kernel_classes_Class $contentClass)
    {
        $impl = $this->getImplementationByContentClass($contentClass);
        $content = $impl->createContent($delivery);
        return $delivery->editPropertyValues(new core_kernel_classes_Property(DeliveryTemplate::PROPERTY_CONTENT), $content);
    }
public function createContent(core_kernel_classes_Resource $delivery, core_kernel_classes_Class $contentClass)
    {
        $impl = $this->getImplementationByContentClass($contentClass);
        $content = $impl->createContent($delivery);
        return $delivery->editPropertyValues(new core_kernel_classes_Property(DeliveryTemplate::PROPERTY_CONTENT), $content);
    }
public function createContent ( core_kernel_classes_Resource $ delivery , core_kernel_classes_Class $ contentClass ) { $ impl = $ this -> getImplementationByContentClass ( $ contentClass ) ; $ content = $ impl -> createContent ( $ delivery ) ; return $ delivery -> editPropertyValues ( new core_kernel_classes_Property ( DeliveryTemplate :: PROPERTY_CONTENT ) , $ content ) ; }
Spawns new Content for a delivery

@param core_kernel_classes_Resource $delivery
@param core_kernel_classes_Class $contentClass
@return boolean
Spawns new Content for a delivery