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

[eluser]Yorick Peterse[/eluser]
You forgot the () after $this->restTrans;

It should be :


Code:
<?php
class ClientModel extends Model {
    
    function ClientModel()
    {
        parent::Model();
    }

function newTrasac()
    {
    $this->restTrans();
        }

function restTrans (){
        echo "anything...";
        }

?>


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