|Date||Thu, 1 Nov 2007 14:14:29 +0100 (CET)|
|Subject||[greenstone-users] Get my collection name from a class attribute in PHP 5 progamming on greenstone|
|Hello everybody !|
I'm progamming in PHP oriented object. I have the a classe UploadDocument. So an object of that class has several attibute. One of them is the name of the greenstone collection in wich it'll be uploaded. A fuction of that class named getDocCollectionDest() , returns that name. I called my current object up . While importing, building et activating the collection (in CLI using PHP Shell_exec), I wrote this code :
import.pl -removeold $up->getDocCollectionDest()
But it's not working. I think it's failing ta manage $up->getDocCollectionDest() as a collection name. Please Help me as soon as possible.
Many thanks in advance.
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail