Changeset 10962
- Timestamp:
- 06/14/07 16:44:24 (2 years ago)
- Files:
-
- trunk/midcom/midcom.helper.datamanager2/controller/create.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/formmanager.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/storage/midgard.php (modified) (2 diffs)
- trunk/midcom/midcom.helper.datamanager2/storage/tmp.php (modified) (1 diff)
- trunk/midcom/midcom.helper.datamanager2/type/image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/midcom/midcom.helper.datamanager2/controller/create.php
r4864 r10962 153 153 $tmpid = $_REQUEST[$this->_tmpid_fieldname]; 154 154 $object = $_MIDCOM->tmp->request_object($tmpid); 155 if ($object) 155 156 if ( $object 157 && isset($object->guid) 158 && $object->guid) 156 159 { 157 160 $storage = new midcom_helper_datamanager2_storage_tmp($this->schemadb[$this->schemaname], $this->defaults, $object); trunk/midcom/midcom.helper.datamanager2/formmanager.php
r5412 r10962 14 14 * Datamanger 2 Form Manager core class. 15 15 * 16 * This class controls all form rendering and basic form data i/o. It works independ ant16 * This class controls all form rendering and basic form data i/o. It works independent 17 17 * of any data storage, getting its defaults from some external controlling instance in 18 18 * the form of a type array (f.x. a datamanager class can provide this). The list of types trunk/midcom/midcom.helper.datamanager2/storage/midgard.php
r5066 r10962 9 9 10 10 /** 11 * Dataman ger 2 Data storage implementation: Pure Midgard object.11 * Datamanager 2 Data storage implementation: Pure Midgard object. 12 12 * 13 * This class is aimed to enca spulate storage to regular Midgard objects.13 * This class is aimed to encapsulate storage to regular Midgard objects. 14 14 * 15 15 * @package midcom.helper.datamanager2 … … 51 51 function _on_store_data($name, $data) 52 52 { 53 debug_push_class(__CLASS__, __FUNCTION__); 54 debug_print_r("Store to field '{$name}' data", $data); 55 debug_pop(); 56 53 57 switch ($this->_schema->fields[$name]['storage']['location']) 54 58 { trunk/midcom/midcom.helper.datamanager2/storage/tmp.php
r2789 r10962 9 9 10 10 /** 11 * Dataman ger 2 Data storage implementation: Temporary storage object.11 * Datamanager 2 Data storage implementation: Temporary storage object. 12 12 * 13 13 * This class is aimed to provide a dummy storage object, used as intermediate backend between trunk/midcom/midcom.helper.datamanager2/type/image.php
r10960 r10962 592 592 if ($force_pending_attachments === false) 593 593 { 594 // PHP5-TODO: Must be copy-by-value595 594 $this->_pending_attachments = $this->attachments; 596 595 }
