[pmwiki-users] using UpdatePage() from cookbook

Petko Yotov 5ko at 5ko.fr
Fri Jan 8 20:24:58 CST 2010


On Friday 08 January 2010 22:39:54, V.Krishn wrote :
> Will it be ok if I just called the function UpdatePage() with required
> parameters, i.e pagename, $page (original page array) and $new page array,
>  in which only $new['text'] is modified 

Hello. Yes, it should be ok.

>  or I need to also calculate some
>  other values in the $new array, like $new ['ctime'] and $new ['diff']?

No. The functions called by UpdatePage() will calculate them.

Thanks,
Petko



More information about the pmwiki-users mailing list