\midcom\datamanager\storageblobs

Experimental storage class

Summary

Methods
Properties
Constants
set_value()
get_value()
load()
__construct()
save()
No public properties found
No constants found
cast()
generate_unique_name()
save_attachment_list()
load_attachment_list()
prepare_attachment()
$value
$initialized
$object
$config
$map
N/A
No private methods found
No private properties found
N/A

Properties

$value

$value : 

Type

$initialized

$initialized : 

Type

$config

$config : array

Type

array

Methods

set_value()

set_value(  $value) 

Parameters

$value

get_value()

get_value() 

__construct()

__construct(\midcom_core_dbaobject  $object, array  $config) 

Parameters

\midcom_core_dbaobject $object
array $config

save()

save() 

{@inheritdoc}

cast()

cast(  $value) 

Parameters

$value

generate_unique_name()

generate_unique_name(  $filename) 

Make sure we have unique filename

Parameters

$filename

save_attachment_list()

save_attachment_list() : boolean

Returns

boolean

load_attachment_list()

load_attachment_list() : array

Returns

array

prepare_attachment()

prepare_attachment(\midcom_db_attachment  $attachment, string  $filename, string  $title, string  $mimetype) 

Parameters

\midcom_db_attachment $attachment
string $filename
string $title
string $mimetype

Throws

\midcom_error