[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r5417 - phpcompta/trunk/include
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r5417 - phpcompta/trunk/include |
Date: |
Mon, 23 Sep 2013 20:13:28 +0200 (CEST) |
Author: danydb
Date: 2013-09-23 20:13:27 +0200 (Mon, 23 Sep 2013)
New Revision: 5417
Modified:
phpcompta/trunk/include/class_follow_up.php
phpcompta/trunk/include/class_tag.php
Log:
Documentation
Modified: phpcompta/trunk/include/class_follow_up.php
===================================================================
--- phpcompta/trunk/include/class_follow_up.php 2013-09-23 18:09:12 UTC (rev
5416)
+++ phpcompta/trunk/include/class_follow_up.php 2013-09-23 18:13:27 UTC (rev
5417)
@@ -1446,6 +1446,10 @@
$sql=' delete from action_tags where ag_id=$1 and t_id=$2';
$this->db->exec_sql($sql,array($this->ag_id,$p_t_id));
}
+ /**
+ * @brief show the cell content in Display for the tags
+ * called also by ajax
+ */
function tag_cell()
{
$a_tag=$this->tag_get();
Modified: phpcompta/trunk/include/class_tag.php
===================================================================
--- phpcompta/trunk/include/class_tag.php 2013-09-23 18:09:12 UTC (rev
5416)
+++ phpcompta/trunk/include/class_tag.php 2013-09-23 18:13:27 UTC (rev
5417)
@@ -27,22 +27,35 @@
$this->cn=$p_cn;
$this->data=new Tag_SQL($p_cn);
}
+ /**
+ * Show the list of available tag
+ * @return HTML
+ */
function show_list()
{
$ret=$this->data->seek(' order by t_tag');
if ( $this->cn->count($ret) == 0) return "";
require_once 'template/tag_list.php';
}
+ /**
+ * let select a tag to add
+ */
function select()
{
$ret=$this->data->seek(' order by t_tag');
require_once 'template/tag_select.php';
}
+ /**
+ * Display a inner window with the detail of a tag
+ */
function form_add()
{
$data=$this->data;
require_once 'template/tag_detail.php';
}
+ /**
+ * Show the tag you can add to a document
+ */
function show_form_add()
{
echo '<h2>'.' Ajout d\'un dossier (ou tag)'.'</h2>';
---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r5417 - phpcompta/trunk/include,
phpcompta-dev <=