--- nfo/php/libs/org.netfrag.glib/Data/Lift.php 2003/03/08 18:22:23 1.4 +++ nfo/php/libs/org.netfrag.glib/Data/Lift.php 2003/03/08 20:04:59 1.5 @@ -9,9 +9,12 @@ */ // ------------------------------------------------------------------------- -// $Id: Lift.php,v 1.4 2003/03/08 18:22:23 joko Exp $ +// $Id: Lift.php,v 1.5 2003/03/08 20:04:59 root Exp $ // ------------------------------------------------------------------------- // $Log: Lift.php,v $ +// Revision 1.5 2003/03/08 20:04:59 root +// + optimized comments for Autodia +// // Revision 1.4 2003/03/08 18:22:23 joko // updated comments: now in phpDocumentor style // @@ -69,18 +72,22 @@ * @todo refactor Data::Encode to a plugin module * @todo combine Data::Lift and Data::Container somehow * @todo integrate with Data::Driver somehow -- proposal: - * $lift = new Data::Lift($locator); - * $lift->perform(); // talks to a Data::Driver + * // $lift = ne w Data::Lift($locator); + * // $lift->perform(); // talks to a Data::Driver * - * can do: - * new Data_Lift_object_tree_common_PEAR_HTML_TreeMenu - * new Data_Lift_hash_job_html * */ class Data_Lift { - + + /** + * this is to trick Autodia let understanding "namespaces" in php + * unless the pattern can be tweaked by mode (namespace=0|1) + * // $this = ne w Data::Lift(&$payload, $options = array()); + */ + var $dblocations; var $actor; + var $actor_instance; var $payload; var $vartype; @@ -170,6 +177,13 @@ function &_perform_actor() { //$actor_file = join('/', $this->actor) . '.php'; //include($actor_file); + + /** + * can do: (this is metadata supplied for Autodia, don't delete!) + * $this->_actor_instance = new Data_Lift_object_tree_common_PEAR_HTML_TreeMenu() + * $this->_actor_instance = new Data_Lift_hash_job_html() + */ + $actor_name = 'Data/Lift/' . join('/', $this->actor); $actor_object = mkObject($actor_name); return $actor_object->perform($this->payload); @@ -185,4 +199,4 @@ } -?> \ No newline at end of file +?>