Created
April 21, 2011 21:55
-
-
Save yuya-matsushima/935574 to your computer and use it in GitHub Desktop.
ModelからModel呼び出し検証用
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Sub_model extends CI_Model | |
{ | |
function __construct() | |
{ | |
parent::__construct(); | |
} | |
function sub_add($a, $b) | |
{ | |
return $a + $b; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment