Jump to main content Jump to doc navigation


Эта функция отвечает за загрузку коллекции экземпляров объектов из строк в таблице базы данных, представленной определенным классом.


API Docs: http://api.modxcms.com/xpdo/om/xPDOObject.html#loadCollection

static array loadCollection(
    xPDO &$xpdo,
    string $className,
    [mixed $criteria = null],
    [boolean|integer $cacheFlag = true]

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.


  • modmore
  • Jens Wittmann – Gestaltung & Entwicklung
  • Digital Penguin
  • eydolan
  • deJaya
  • Following Sea
  • Sepia River Studios
  • Nick Clark
  • Lefthandmedia
  • YJ
  • Murray Wood
  • Dannevang Digital
  • Richard


$217 per month—let's make that $500!

Learn more