aboutsummaryrefslogtreecommitdiffstats
path: root/htdocs/application/controllers/Iphone.php
blob: 52d02279db31b7f0989a6bbc03efbbb4f0c80695 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
/**
 * Class and Function List:
 * Function list:
 * - __construct()
 * - index()
 * - view()
 * Classes list:
 * - Iphone extends CI_Controller
 */

class Iphone extends CI_Controller
{
	
	function __construct() 
	{
		parent::__construct();
		$this->load->model('languages');
	}
	
	function index() 
	{
		$this->load->model('pastes');
		$data = $this->pastes->getLists('iphone/');
		$this->load->view('iphone/recent', $data);
	}
	
	function view() 
	{
		$this->load->model('pastes');
		$data = $this->pastes->getPaste(3);
		$this->load->view('iphone/view', $data);
	}
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy