Update of /cvsroot/owp/owp/inc/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31912/inc/classes
Modified Files:
twebobject.class
Log Message:
Added onshow event.
Added some commentars.
Index: twebobject.class
===================================================================
RCS file: /cvsroot/owp/owp/inc/classes/twebobject.class,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** twebobject.class 20 Apr 2006 00:45:44 -0000 1.2
--- twebobject.class 20 Apr 2006 01:48:36 -0000 1.3
***************
*** 23,29 ****
- /**Name of handler that returns html code*/
- @ define('owp_handlers_get_html','_get_html');
-
/**
* Contains root class for all owp classes
--- 23,26 ----
***************
*** 33,36 ****
--- 30,34 ----
* @copyright (c) 2004-2006 2realities Group (www.2realities.com)
*/
+
class twebobject{
/**owner of this object
***************
*** 80,83 ****
--- 78,85 ----
}//\\oncreate
+ /**called before showing this object*/
+ function onshow(){
+ }//\\onshow
+
/**internal event
* @access private
***************
*** 96,99 ****
--- 98,102 ----
* @param string $access_string complete access string to the this object
* @return string php code for compiler
+ * @access private
*/
function _get_php($open,$access_string){
***************
*** 106,109 ****
--- 109,116 ----
}//\\_get_php
+ /**handler for getting html code
+ * @access private
+ * @return string HTML
+ */
function _get_html(){
}//\\get_html
|