protected function pending()
    {
        $this->setData();
        foreach ($this->pending as $func => $args)
        {
            if (!empty($args))
            {
                call_user_func(array($this, $func . 'Pending'));
            }
        }

        //clear pending values after executed query
        $this->clearQuery();
    }
protected function pending()
    {
        $this->setData();
        foreach ($this->pending as $func => $args)
        {
            if (!empty($args))
            {
                call_user_func(array($this, $func . 'Pending'));
            }
        }

        //clear pending values after executed query
        $this->clearQuery();
    }
protected function pending ( ) { $ this -> setData ( ) ; foreach ( $ this -> pending as $ func => $ args ) { if ( ! empty ( $ args ) ) { call_user_func ( array ( $ this , $ func . 'Pending' ) ) ; } } //clear pending values after executed query $ this -> clearQuery ( ) ; }
Execute pending functions
Execute pending functions