Pridana kostra phpdocumentor dokumentace
authorThomas Mudrunka <tomas@mudrunka.cz>
Mon, 18 Jul 2011 13:28:16 +0000 (15:28 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Mon, 18 Jul 2011 13:28:16 +0000 (15:28 +0200)
Sklad_LMS-fake.class.php
index.php

index 3814ec221bc266afcc891a3988dacc5ed57e8fb5..cc84e12ec164d8a3869940b7ee04ba64d06bc6df 100755 (executable)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
+/**
+* Trida implementuje podpurne funkce spolecne pro vsechny implementace tridy Sklad_LMS
+*
+* @package  Sklad_LMS_common
+* @author   Tomas Mudrunka
+*/
 class Sklad_LMS_common {
        function get_authorized_user_id($die=true) {
                if(isset($this->authorized_user_id)) return $this->authorized_user_id;
@@ -25,6 +31,12 @@ class Sklad_LMS_common {
        }
 }
 
+/**
+* Trida predstira spojeni s LMS a podvrhuje smysluplna data pro testovaci ucely
+*
+* @package  Sklad_LMS
+* @author   Tomas Mudrunka
+*/
 class Sklad_LMS extends Sklad_LMS_common { //FAKE!
        function check_auth($user, $pass) {
                $users = array( //You can specify multiple users in this array
index 96bfce3262814958fda3d3c96158ea14826f6c76..d1d0942acba4f35bd998eb41a6884336ac481fc4 100755 (executable)
--- a/index.php
+++ b/index.php
@@ -1,7 +1,7 @@
 <?php
 /*
  * SkladovySystem - Storage management system compatible with LMS
- * Copyright (C) 2011  Thomas 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
@@ -21,6 +21,12 @@ require_once('sklad.conf.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;
@@ -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();
@@ -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();
This page took 0.108759 seconds and 4 git commands to generate.