Subversion-Projekte lars-tiefland.ci

Revision

Revision 1839 | Revision 1841 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1839 Revision 1840
Zeile 3... Zeile 3...
3
/**
3
/**
4
 *
4
 *
5
 * @package WebanOS CI
5
 * @package WebanOS CI
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
6
 * @author Lars Tiefland <ltiefland@gmail.com> 
7
 * @copyright 2016
7
 * @copyright 2016
8
 * @version $Rev: 1839 $
8
 * @version $Rev: 1840 $
9
 */
9
 */
Zeile 10... Zeile 10...
10
 
10
 
11
/**
11
/**
12
 * Auspraegung_model
12
 * Auspraegung_model
13
 * 
13
 * 
14
 * @package WebanOS CI
14
 * @package WebanOS CI
15
 * @author Lars Tiefland
15
 * @author Lars Tiefland
16
 * @copyright 2016
16
 * @copyright 2016
17
 * @version $Id: Directory_to_auspraegung_model.php 1839 2016-12-21 22:57:07Z lars $
17
 * @version $Id: Directory_to_auspraegung_model.php 1840 2016-12-22 09:00:11Z lars $
18
 * @access public
18
 * @access public
19
 */
19
 */
20
class Directory_to_auspraegung_model extends CI_Model
20
class Directory_to_auspraegung_model extends CI_Model
21
{
21
{
Zeile 75... Zeile 75...
75
	 * @return
75
	 * @return
76
	 */
76
	 */
77
	public function get_werte($id, $father)
77
	public function get_werte($id, $father)
78
	{
78
	{
79
		$path = array_reverse(getPath($father));
79
		$path = array_reverse(getPath($father));
-
 
80
		var_dump($path);
80
		$werte = array();
81
		$werte = array();
81
		foreach ($path as $dir)
82
		foreach ($path as $dir)
82
		{
83
		{
83
			$directory = $dir["ID"];
84
			$directory = $dir["ID"];
84
			$sql = "SELECT
85
			$sql = "SELECT