Completed
Push — develop ( e8a304...1d50b6 )
by Kenji
02:12
created
application/controllers/Bbs.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -311,6 +311,9 @@
 block discarded – undo
311 311
 	}
312 312
 
313 313
 # 携帯端末かどうかを判定し、ビューをロードするプライベートメソッドです。
314
+	/**
315
+	 * @param string $file
316
+	 */
314 317
 	private function _load_view($file, $data = '')
315 318
 	{
316 319
 # 携帯端末の場合は、「_mobile」がファイル名に付くビューファイルをロードします。
Please login to merge, or discard this patch.
application/models/shop/Inventory_model.php 1 patch
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 		return $query->result();
19 19
 	}
20 20
 
21
+	/**
22
+	 * @param string $id
23
+	 */
21 24
 	public function get_category_name($id)
22 25
 	{
23 26
 		$this->db->select('name');
@@ -27,6 +30,10 @@  discard block
 block discarded – undo
27 30
 		return $row->name;
28 31
 	}
29 32
 
33
+	/**
34
+	 * @param string $cat_id
35
+	 * @param string $offset
36
+	 */
30 37
 	public function get_product_list($cat_id, $limit, $offset)
31 38
 	{
32 39
 		$this->db->where('category_id', $cat_id);
@@ -35,6 +42,9 @@  discard block
 block discarded – undo
35 42
 		return $query->result();
36 43
 	}
37 44
 
45
+	/**
46
+	 * @param string $cat_id
47
+	 */
38 48
 	public function get_product_count($cat_id)
39 49
 	{
40 50
 		$this->db->where('category_id', $cat_id);
@@ -49,6 +59,9 @@  discard block
 block discarded – undo
49 59
 		return $query->row();
50 60
 	}
51 61
 
62
+	/**
63
+	 * @param integer $id
64
+	 */
52 65
 	public function is_available_product_item($id)
53 66
 	{
54 67
 		$this->db->where('id', $id);
@@ -63,6 +76,10 @@  discard block
 block discarded – undo
63 76
 		}
64 77
 	}
65 78
 
79
+	/**
80
+	 * @param string $q
81
+	 * @param string $offset
82
+	 */
66 83
 	public function get_product_by_search($q, $limit, $offset)
67 84
 	{
68 85
 # 検索キーワードをスペースで分割し、like()メソッドでLIKE句を指定します。
@@ -78,6 +95,9 @@  discard block
 block discarded – undo
78 95
 		return $query->result();
79 96
 	}
80 97
 
98
+	/**
99
+	 * @param string $q
100
+	 */
81 101
 	public function get_count_by_search($q)
82 102
 	{
83 103
 		$this->db->select('name');
Please login to merge, or discard this patch.