X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/6c963757fb2c5e038b93c67fff64997180c33c09..9bb6a53d794ae8b9ccb2bd09651b96bee97c90c4:/lib/MECON/HTML/ArbolDB.php?ds=sidebyside diff --git a/lib/MECON/HTML/ArbolDB.php b/lib/MECON/HTML/ArbolDB.php index fc0ca68..a931a2c 100644 --- a/lib/MECON/HTML/ArbolDB.php +++ b/lib/MECON/HTML/ArbolDB.php @@ -28,19 +28,104 @@ $Id$ require_once 'MECON/HTML/Arbol.php'; require_once 'DB.php'; +/** + * DESC + * + * @access public + */ class MECON_HTML_ArbolDB extends MECON_HTML_Arbol { + + /** + * DESC + * + * @var string $padre + * @access public + */ var $padre = ''; + + /** + * DESC + * + * @var TIPO $tabla + * @access public + */ var $tabla; + + /** + * DESC + * + * @var string $nombre + * @access public + */ var $nombre; + + /** + * DESC + * + * @var TIPO $id + * @access public + */ var $id; + + /** + * DESC + * + * @var TIPO $id_activo + * @access public + */ var $id_activo; + + /** + * DESC + * + * @var string $link + * @access public + */ var $link = ''; + + /** + * DESC + * + * @var string $link_append + * @access public + */ var $link_append = ''; + + /** + * DESC + * + * @var string $where + * @access public + */ var $where = ''; + + /** + * DESC + * + * @var string $order + * @access public + */ var $order = ''; + + /** + * DESC + * + * @var DB $db + * @access public + */ var $db; + /** + * Constructor + * + * @param TIPO $dbdata DESC + * @param TIPO $titulo DESC + * @param string $link_append DESC + * + * @return void + * @access public + */ function MECON_HTML_ArbolDB($dbdata, $titulo, $link_append = '') { if(isset($dbdata['id_padre'])) @@ -62,7 +147,15 @@ class MECON_HTML_ArbolDB extends MECON_HTML_Arbol parent::MECON_HTML_Arbol(array(), $titulo, $link_append); $this->datos = $this->BuscarHijos(0); } - + + /** + * DESC + * + * @param TIPO $id DESC + * + * @return TIPO + * @access public + */ function BuscarHijos($id) { $sql = "SELECT $this->nombre, $this->id ";