GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
priprava na templaty
[mirrors/SokoMan.git]
/
index.php
diff --git
a/index.php
b/index.php
index 96bfce3262814958fda3d3c96158ea14826f6c76..d1d0942acba4f35bd998eb41a6884336ac481fc4 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-1,7
+1,7
@@
<?php
/*
* SkladovySystem - Storage management system compatible with LMS
<?php
/*
* SkladovySystem - Storage management system compatible with LMS
- * Copyright (C) 2011 T
h
omas Mudrunka
+ * Copyright (C) 2011 Tomas Mudrunka
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@
-21,6
+21,12
@@
require_once('sklad.conf.php');
require_once('Sklad_LMS-fake.class.php');
require_once('HTTP_Auth.class.php');
require_once('Sklad_LMS-fake.class.php');
require_once('HTTP_Auth.class.php');
+/**
+* Trida poskytuje podpurne funkce pro generovani HTML kodu specificke pro sklad
+*
+* @package Sklad_HTML
+* @author Tomas Mudrunka
+*/
class Sklad_HTML {
function header_print($title='') {
$home = URL_HOME;
class Sklad_HTML {
function header_print($title='') {
$home = URL_HOME;
@@
-212,6
+218,12
@@
EOF;
}
}
}
}
+/**
+* Trida poskytuje rozhrani k databazi skladu
+*
+* @package Sklad_DB
+* @author Tomas Mudrunka
+*/
class Sklad_DB extends PDO {
function __construct() {
$this->lms = new Sklad_LMS();
class Sklad_DB extends PDO {
function __construct() {
$this->lms = new Sklad_LMS();
@@
-329,6
+341,16
@@
class Sklad_DB extends PDO {
}
}
}
}
+/**
+* Trida implementuje uzivatelske rozhrani skladu
+*
+* Example usage:
+* $sklad = new Sklad_UI();
+* $sklad->process_http_request();
+*
+* @package Sklad_UI
+* @author Tomas Mudrunka
+*/
class Sklad_UI {
function __construct() {
$this->db = new Sklad_DB();
class Sklad_UI {
function __construct() {
$this->db = new Sklad_DB();
This page took
0.119614 seconds
and
4
git commands to generate.