]> git.llucax.com Git - z.facultad/75.43/tp1.git/commitdiff
Esqueleto de clases.
authorLeandro Lucarella <llucax@gmail.com>
Thu, 28 Apr 2005 04:38:00 +0000 (04:38 +0000)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 28 Apr 2005 04:38:00 +0000 (04:38 +0000)
src/lib/Asesor.php [new file with mode: 0644]
src/lib/Comentario.php [new file with mode: 0644]
src/lib/Item.php [new file with mode: 0644]
src/lib/Link.php [new file with mode: 0644]
src/lib/Pregunta.php [new file with mode: 0644]
src/lib/Respuesta.php [new file with mode: 0644]
src/lib/Socio.php [new file with mode: 0644]
src/lib/Usuario.php [new file with mode: 0644]

diff --git a/src/lib/Asesor.php b/src/lib/Asesor.php
new file mode 100644 (file)
index 0000000..26fe515
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+require_once 'Usuario.php';
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ */
+class Asesor extends Usuario
+{
+    // Attributes
+    // Associations
+    // Operations
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Comentario.php b/src/lib/Comentario.php
new file mode 100644 (file)
index 0000000..d0406a9
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+require_once 'Item.php';
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ */
+class Comentario extends Item
+{
+    // Attributes
+    // Associations
+    // Operations
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Item.php b/src/lib/Item.php
new file mode 100644 (file)
index 0000000..d4b59c7
--- /dev/null
@@ -0,0 +1,46 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ * @abstract
+ */
+class Item
+{
+    // Attributes
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $autor;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $fecha;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $texto;
+
+    // Associations
+    // Operations
+   /**
+    *    XXX
+    *    
+    *    @access public 
+    *    @returns string
+    */
+    function toHTML()
+    {
+    }
+
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Link.php b/src/lib/Link.php
new file mode 100644 (file)
index 0000000..0aed72d
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+require_once 'Item.php';
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ */
+class Link extends Item
+{
+    // Attributes
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $url;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $accesos;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $comentarios;
+
+    // Operations
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Pregunta.php b/src/lib/Pregunta.php
new file mode 100644 (file)
index 0000000..35e2c0b
--- /dev/null
@@ -0,0 +1,30 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+require_once 'Item.php';
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ */
+class Pregunta extends Item
+{
+    // Attributes
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $activa;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $respuestas;
+
+    // Operations
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Respuesta.php b/src/lib/Respuesta.php
new file mode 100644 (file)
index 0000000..f7c01f8
--- /dev/null
@@ -0,0 +1,25 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+require_once 'Item.php';
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ */
+class Respuesta extends Item
+{
+    // Attributes
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $ranking;
+
+    // Associations
+    // Operations
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Socio.php b/src/lib/Socio.php
new file mode 100644 (file)
index 0000000..f0b76cc
--- /dev/null
@@ -0,0 +1,31 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+require_once 'Usuario.php';
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ */
+class Socio extends Usuario
+{
+    // Attributes
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $creditos;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $faltanteParaBonus;
+
+    // Associations
+    // Operations
+}
+
+?>
\ No newline at end of file
diff --git a/src/lib/Usuario.php b/src/lib/Usuario.php
new file mode 100644 (file)
index 0000000..1f2b233
--- /dev/null
@@ -0,0 +1,57 @@
+<?php
+# vim: et sw=4 sts=4 binary noeol :
+
+/**
+ * XXX detailed description
+ *
+ * @author    XXX
+ * @copyright XXX
+ * @abstract
+ */
+class Usuario
+{
+    // Attributes
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $id;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $apellido;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $nombre;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $admin;
+
+   /**
+    *    XXX
+    *    @access public
+    */
+    var $ultimoLogin;
+
+    // Operations
+   /**
+    *    XXX
+    *    
+    *    @access public 
+    *    @returns string
+    */
+    function toHTML()
+    {
+    }
+
+}
+
+?>
\ No newline at end of file