[dev] Get creation date of wicked page?

Michael J Rubinsky mrubinsk at horde.org
Mon Jul 20 13:35:41 UTC 2015


Quoting Sebastian Birnbach <birnbacs at gmail.com>:

> 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 <mrubinsk at horde.org>:
>
>>
>> Quoting Sebastian Birnbach <birnbacs at gmail.com>:
>>
>>  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: dev-unsubscribe at lists.horde.org
>>
> --
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/dev/attachments/20150720/6d25696f/attachment.bin>


More information about the dev mailing list