midcom_helper_datamanager_providerThis is a helper class to encapsulate datamanager usage. It should be used instead of
the normal
Located in /midcom.core/midcom/helper/datamanager_provider.php (line 13)
midcom_helper_datamanager_provider
midcom_helper_datamanager_provider
(mixed $schema, [mixed $object = null])
object midcom_helper_datamanager_provider
&factory
(string $schema_path, [mixed $show_js = true], [mixed $object = null])
mixed
$datamanager
= null (line 18)
the dm instance to work on
int
$errcode
(line 56)
error code
string
$errstr
(line 51)
Error string
string
$object_id
= null (line 45)
Object id to use for the article, defaults to guid.
string
$reloaction_url
= "" (line 38)
The reloaction url.
array
$_schema
= null (line 24)
the datamanager schema to use.
factory function
Helper method, returns the reloaction url
extend this if you want another canceld behavior
Stub function to be accessed if you want to do something special in editing
extend this if you want another saved behaviour.
set the id to be used at the end of the relocation url
Prepares the datamanager for creation of a new topic. When returning false, it sets errstr and errcode accordingly.
Prepares the datamanager for the object.
Documentation generated on Tue, 15 Aug 2006 12:26:34 +0300 by phpDocumentor 1.3.0RC3