PHP instance method
Tobject->meta
Comments
The returned object has these members:
* %creation_user% a string holding the name of the user that created the topic
* %creation_ts% a string holding the date and time of the creation in MySQL timestamp notation (can be passed to %DateTime% constructor)
* %modification_user% a string holding the name of the user that last modified the topic
* %modification_ts% a string holding the date and time of the last modification in MySQL timestamp notation (can be passed to %DateTime% constructor)
As long as a topic is not modified after its creation, the modification and creation properties have identical values. In other words: the creation is already considered a modification.
Examples
[%$anything = Tobject::_get(1222);
$meta = $anything->meta();
echo $meta->creation_user;
// Kurt
echo $meta->modification_ts;
// 2010-09-30 20:42:22%]
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.