Static functions can directly access the static members using the "this" 
keyword.

e.g.

this.otherStaticMethod();

or

this.staticField;

Hope this helps.

Sebastian


dperez schrieb:
> Hi,
> 
> This syntax this.self(arguments) as documented here:
> http://qooxdoo.org/documentation/0.7/oo_feature_summary#accessing_static_members
> 
> serves for accessing static members from regular members.
> 
> It seems to fail when calling a static member from a static function.
> Is the same syntax valid?
> Thanks for any answer.
> 
> Regards,
> David


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to