© Сделано на MODx
Дизайн - ©2009 MODx RED Group
MySQL: 0.0030 s, запросы - 0 , PHP: 0.0075 s, Всего: 0.0105 s, документ взят из cache.
array getDocument(array $ids[, int $published[, int $deleted[, string $fields[, string $where[, string $sort[, string $dir[, string $limit]]]);
Array
(
[0] => Array
(
[id] => 16
[type] => document
[contentType] => text/html
[pagetitle] => Ajax1
[longtitle] => Ajax and Web 2.0 ready
[description] =>
[alias] =>
[link_attributes] =>
[published] => 1
[pub_date] => 1159264800
[unpub_date] => 0
[parent] => 15
[isfolder] => 1
[introtext] =>
[content] => Содержимое документа
[richtext] => 1
[template] => 4
[menuindex] => 1
[searchable] => 1
[cacheable] => 1
[createdby] => 1
[createdon] => 1144904400
[editedby] => 1
[editedon] => 1219426098
[deleted] => 0
[deletedon] => 0
[deletedby] => 0
[publishedon] => 0
[publishedby] => 0
[menutitle] =>
[donthit] => 0
[haskeywords] => 0
[hasmetatags] => 0
[privateweb] => 0
[privatemgr] => 0
[content_dispo] => 0
[hidemenu] => 0
)
)
Структура документов:
$txt = $modx->getDocuments(array(11,111));
вернет информацию о документах 11 и 111