xPDOQuery.from
Последнее обновление not available | История страницы | Улучшить эту страницу | Сообщить о проблеме
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.
Backers
Budget
$194 per month—let's make that $500!
Learn morexPDOQuery::from¶
Задаёт класс (и, соответственно, таблицу), из которой запрос выбирает данные, при необходимости с псевдонимом. Это переопределяет класс, переданный в newQuery().
Синтаксис¶
xPDOQuery from (string $class, [string $alias = ''])
Пример¶
$query = $xpdo->newQuery('Box');
$query->from('Box', 'B');
Смотрите также¶
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.
Backers
Budget
$194 per month—let's make that $500!
Learn more










