2420034bc1131302025d9878d185b8ea1f73c563
[civicrm-core.git] / Civi / Api4 / Generic / DAOGetAction.php
1 <?php
2
3 namespace Civi\Api4\Generic;
4
5 /**
6 * Retrieve items based on criteria specified in the 'where' param.
7 *
8 * Use the 'select' param to determine which fields are returned, defaults to *.
9 *
10 * Perform joins on other related entities using a dot notation.
11 */
12 class DAOGetAction extends AbstractGetAction {
13 use Traits\DAOActionTrait;
14
15 public function _run(Result $result) {
16 $this->setDefaultWhereClause();
17 $result->exchangeArray($this->getObjects());
18 }
19
20 }