Hi, I have another question: How can I check if the user is allowed to create a new node in the directory (parent node)? I found a function called hasPermission in the Wiki, but I cannot find this function in my Node.php - file where it should be. (I downloaded the library last week) What can I do?
(The next thing would be that there is also a removeChild-function, but unfortunately, the function is empty)
As you aware there are two implementations of the PHP API, the native PHP one (that you are using) and the Java implemented on embedded in the Alfresco repository.
Both have exactly the same API, but the PHP implementation is slightly behind its Java counterpart. To this end there are a small handfull of functions documented in the API that are not currently implemented in the PHP library.
Unfortunatly this perticular function is an example of one such function. The documentation in the Wiki really needs to indicate where each of the functions has been implemented so it is easier for developers to keep track of what has been done.
In the short term i suggest raising this in jira as a bug http://issues.alfresco.org and we will try to fill this implementation in the 2.1 timeframe.