Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 61: if ($this->data === NULL) {
- 62: $this->data = array();
- 63: foreach ($this->selection as $row) {
- 64: if ($this->refTable !== NULL) {
- 65: $row = $this->refColumn !== NULL
- 66: ? $row->ref($this->refTable, $this->refColumn)
- 67: : $row->{$this->refTable};
- 68: }
- 69:
- 70: $class = $this->entity;
- 71: $entity = new $class($row);
- 72: $primary = $row->getPrimary(FALSE);
- 73:
- 74: if ($primary !== NULL && is_scalar($primary)) {
- 75: $this->data[$primary] = $entity;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement