3 final class PhabricatorQueryCursor
9 public function setObject($object) {
10 $this->object = $object;
14 public function getObject() {
18 public function setRawRow(array $raw_row) {
19 $this->rawRow
= $raw_row;
23 public function getRawRow() {
27 public function getRawRowProperty($key) {
28 if (!is_array($this->rawRow
)) {
31 'Caller is trying to "getRawRowProperty()" with key "%s", but this '.
32 'cursor has no raw row.',
36 if (!array_key_exists($key, $this->rawRow
)) {
39 'Caller is trying to access raw row property "%s", but the row '.
40 'does not have this property.',
44 return $this->rawRow
[$key];