partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit f10e707b6b8781ec2b095eb216975253cb227753
parent 95dc04126cb55a91f26799fbf832312f05f7f5d8
Author: Felicitus <felicitus@felicitus.org>
Date:   Wed,  4 Apr 2012 05:42:54 +0200

Added documentation for getSchemaStatus

Diffstat:
Msrc/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php b/src/backend/de/RaumZeitLabor/PartKeepr/System/SystemService.php @@ -47,7 +47,7 @@ class SystemService extends Service { $aData[] = new SystemInformationRecord($key, $value, "PartKeepr Configuration Information"); } - // TODO: add information about post max, file upload size, timeout, memory limit + return array("data" => $aData); } @@ -75,6 +75,9 @@ class SystemService extends Service { "schemaStatus" => $this->getSchemaStatus())); } + /** + * Checks if the schema is up-to-date. If yes, it returns "complete", if not, it returns "incomplete". + */ protected function getSchemaStatus () { $metadatas = PartKeepr::getEM()->getMetadataFactory()->getAllMetadata();