projects
/
m6w6
/
pq-gateway
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
tests
[m6w6/pq-gateway]
/
lib
/
pq
/
Gateway
/
Row.php
diff --git
a/lib/pq/Gateway/Row.php
b/lib/pq/Gateway/Row.php
index 5c0efa4ac19a30da22c3bb7627d8ffb4bd58ada5..a8b879370f347b4ad494edd78d99a25d7b079328 100644
(file)
--- a/
lib/pq/Gateway/Row.php
+++ b/
lib/pq/Gateway/Row.php
@@
-79,6
+79,12
@@
class Row implements \JsonSerializable
return false;
}
+ function refresh() {
+ $this->data = $this->table->find($this->criteria(), null, 1, 0)->current()->data;
+ $this->cell = array();
+ return $this;
+ }
+
/**
* Fill modified cells
* @return \pq\Gateway\Row