I want to make an edit page for own content and so I need a signifier for the edit form.
How do I get the content id(s) of a query result/ content object?
I don't know, because 'getId()' is for internal use and XN_Content::contentId is too much, I guess.
By the way, are these results real XN_Content objects?
Permalink Reply by Buteo on September 15, 2008 at 12:48am
Hello again,
Is some information missed?
Or did I overlook something in the docs?
At last:
contentId ($name=null, $returnArray=false)
Returns the ids of XN_Content objects referenced under the given name, or the ids of all
referenced XN_Content objects if no name is given.
Does $name represent the string in the xn:type tag or in the title tag?