Welcome Guest, Not a member yet? Register   Sign In
Call functions in to model..
#1

[eluser]tnathos[/eluser]
Hi, i have the next problem..

Y have a model whit several functions, i liked use code the one funcion in other function for reuse code in the same model and not rewrite the same code in varios funcionts..but i cant.. any know i can, CI permit load or call functions in the same model? if no how make this?

example.

Code:
<?php
class CommonModel extends Model {
    
    function CommonModel()
    {
        parent::Model();
    }    
    
    function 1(){
        a + b = c}

    function 2(){
        n * d + f = x
                function 1 + x...
        }

    
?>

    
}


Messages In This Thread
Call functions in to model.. - by El Forum - 05-02-2009, 08:09 PM
Call functions in to model.. - by El Forum - 05-03-2009, 01:56 AM
Call functions in to model.. - by El Forum - 05-03-2009, 03:55 AM
Call functions in to model.. - by El Forum - 05-03-2009, 09:13 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:06 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:23 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:25 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:27 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:31 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:48 AM
Call functions in to model.. - by El Forum - 05-03-2009, 11:59 AM
Call functions in to model.. - by El Forum - 05-03-2009, 12:26 PM
Call functions in to model.. - by El Forum - 05-04-2009, 08:05 AM
Call functions in to model.. - by El Forum - 05-04-2009, 08:38 AM
Call functions in to model.. - by El Forum - 05-04-2009, 10:10 AM
Call functions in to model.. - by El Forum - 05-04-2009, 05:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB