Re: Get creation date of wicked page?

Michael J Rubinsky <[email protected]>
Newsgroups gmane.comp.horde.devel
Message-ID <20150720093541.Horde.GNw7XmYgiMVOyCSYI-XlAIJ@h4.theupstairsroom.com>
Quoting Sebastian Birnbach <[email protected]>:

> Sorry, should have said: I am talking about the API. I want to access the
> first creation date from my code.

Ah, right. You can use Wicked_Api::getPageHistory($pagename);

This will return an array of hashes describing each page version in  
descending order, so the last entry is the creation of the page.


>   Sebastian
>
> 2015-07-20 0:39 GMT+02:00 Michael J Rubinsky <[email protected]>:
>
>>
>> Quoting Sebastian Birnbach <[email protected]>:
>>
>>  Is there a way to retrieve the creation date of a wicked page? Not the
>>> date
>>> of creation of the current version but the very first creation date.
>>>
>>
>> If you view the History of the page you can find the creation date.
>>
>> --
>> mike
>> The Horde Project
>> http://www.horde.org
>> https://www.facebook.com/hordeproject
>> https://www.twitter.com/hordeproject
>>
>> --
>> dev mailing list
>> Frequently Asked Questions: http://wiki.horde.org/FAQ
>> To unsubscribe, mail: [email protected]
>>
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 5.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.