Re: iphone.php

From Jittery Pintail, 8 Years ago, written in PHP, viewed 1'812 times. This paste is a reply to iphone.php from Claude - view diff
URL https://paste.scratchbook.ch/view/99f4ed5a Embed
Download Paste or View Raw
  1. <?php
  2. /**
  3.  * Class and Function List:
  4.  * Function list:
  5.  * - __construct()
  6.  * - index()
  7.  * - view()
  8.  * Classes list:
  9.  * - Iphone extends CI_Controller
  10.  */
  11.  
  12. class Iphone extends CI_Controller
  13. {
  14.        
  15.         function __construct()
  16.         {
  17.                 parent::__construct();
  18.                 $this->load->model('languages');
  19.         }
  20.        
  21.         function index()
  22.         {
  23.                 $this->load->model('pastes');
  24.                 $data = $this->pastes->getLists('iphone/');
  25.                 $this->load->view('iphone/recent', $data);
  26.         }
  27.        
  28.         function view()
  29.         {
  30.                 $this->load->model('pastes');
  31.                 $data = $this->pastes->getPaste(3);
  32.                 $this->load->view('iphone/view', $data);
  33.         }
  34. }
  35.  

Replies to Re: iphone.php rss

Title Name Language When
Re: Re: iphone.php Red Terrapin php 1 Year ago.
mirc ok x mirc 5 Years ago.

Reply to "Re: iphone.php"

Here you can reply to the paste above