Skip to content

Instantly share code, notes, and snippets.

@yuya-matsushima
Created April 21, 2011 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuya-matsushima/935574 to your computer and use it in GitHub Desktop.
Save yuya-matsushima/935574 to your computer and use it in GitHub Desktop.
ModelからModel呼び出し検証用
<?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