src/CI_Base_Model.php
public function with($relationship)
    {
        $this->_with[] = $relationship;

        if (!$this->is_subscribed('after_get', 'relate'))
        {
            $this->subscribe('after_get', 'relate');
        }

        return $this;
    }
public function with($relationship)
    {
        $this->_with[] = $relationship;

        if (!$this->is_subscribed('after_get', 'relate'))
        {
            $this->subscribe('after_get', 'relate');
        }

        return $this;
    }
public function with ( $ relationship ) { $ this -> _with [ ] = $ relationship ; if ( ! $ this -> is_subscribed ( 'after_get' , 'relate' ) ) { $ this -> subscribe ( 'after_get' , 'relate' ) ; } return $ this ; }
/* --------------------------------------------------------------
RELATIONSHIPS
------------------------------------------------------------
/ * -------------------------------------------------------------- RELATIONSHIPS ------------------------------------------------------------