Skip to content

Commit 4dac6a4

Browse files
committed
Releasing 1.0.14
2 parents 4324eb0 + 3ab6cfb commit 4dac6a4

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

src/WebApp/Application.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,5 +350,11 @@ public function afterRequest() {
350350
}
351351
}
352352

353+
public function dao($name) {
354+
if ($this->dataModel != NULL) {
355+
return $this->dataModel->get($name);
356+
}
357+
return NULL;
358+
}
353359
}
354360

src/WebApp/Page.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,8 @@ public function getJavascript() {
261261
return array();
262262
}
263263

264+
protected function dao($name) {
265+
return $this->app->dao($name);
266+
}
264267
}
265268

0 commit comments

Comments
 (0)