Re: [SMW-devel] [PATCH] Accessing the name of a property from a Query Printer

2008-06-27 Thread Asheesh Laroia
On Mon, 23 Jun 2008, Asheesh Laroia wrote: > I'm attaching a very short patch that creates getPropertyName() in the > SMW_DataValue.php file. Please still commit this - it turns out to be useful for another extension of mine. > This is useful for custom query printers that need to know the nam

[SMW-devel] [PATCH] Accessing the name of a property from a Query Printer

2008-06-23 Thread Asheesh Laroia
I'm attaching a very short patch that creates getPropertyName() in the SMW_DataValue.php file. This is useful for custom query printers that need to know the name of the property they are reading (to, for example, detect properties with more than one value, as the CSV query printer needs). P