alex Sun Sep 23 17:18:58 2001 EDT
Added files:
/r2/binarycloud/docs/specs/xml EntityDefinition.php
Modified files:
/r2/tasks MultiSiteMake.txt
Log:
Added Entity definition target php
Index: r2/tasks/MultiSiteMake.txt
diff -u r2/tasks/MultiSiteMake.txt:1.1 r2/tasks/MultiSiteMake.txt:1.2
--- r2/tasks/MultiSiteMake.txt:1.1 Sun Sep 9 00:45:39 2001
+++ r2/tasks/MultiSiteMake.txt Sun Sep 23 17:18:57 2001
@@ -1,8 +1,8 @@
-Task Name
+Multi-Site Make
--------------------------------------------------
-Task Summary
-This is a concise summary of the task that should be completed. It should give the reader a sense of the project's scope and goals.
+
-Dependencies
This task may require that other tasks listed in the TODO be completed first. If so, those dependencies should be mentioned here.
Index: r2/binarycloud/docs/specs/xml/EntityDefinition.php
+++ r2/binarycloud/docs/specs/xml/EntityDefinition.php
<?php
$entity => array(
'name' => 'furbees',
'manager' => 'FurbeesManager',
'database' => array(
'name' => 'binarycloud_db',
'create' => '0',
'table' => array(
'name' => 'furbee',
'index' => array(
'name' => 'furbee_id',
'unique' => '1',
'field' => array(
'name' => 'furbee_id',
),
),
),
),
'fields' => array(
array(
'name' => 'furbee_id',
'label' => 'Furbee ID',
'desc' => 'Unique ID for ever Furbee',
'path' => 'furbee_id',
'required' => 'true',
'default' => '0',
'notnull' => '1',
'type' => 'int',
'maxlength' => '20',
'processors' => array(
array(
'name' => 'EncodeEntitiesProcessor',
'params' => array(
'param_name' => 'value',
),
),
),
'validators' => array(
array(
'name' => 'FASTASequenceValidator',
'params' => array(
'param_name' => 'value',
),
),
),
'uicontrol' => array(
array(
'name' => 'TextBoxControl',
'params' => array(
'size' => '20',
),
),
),
),
array(
'name' => 'furbee_type_id',
'label' => 'Furbee type ID',
'desc' => 'The id of the type of furbee',
'path' => 'furbee_type_id',
'required' => 'true',
'type' => 'int',
'maxlength' => '20',
'entity' => 'furbee_type',
),
),
'schema' => array(
array(
'entsource' => 'furbee_type_id',
'dbtarget' => 'furbee.furbeetypeid',
),
);
?>
|