public function getStaffModel($addLogin = true)
    {
        $model = $this->_loadClass('StaffModel', true);

        if ($addLogin) {
            $this->addUserLogin($model, 'gsf_login', 'gsf_id_organization');
        }
        $this->setAsGemsUserId($model, 'gsf_id_user');

        return $model;
    }
public function getStaffModel($addLogin = true)
    {
        $model = $this->_loadClass('StaffModel', true);

        if ($addLogin) {
            $this->addUserLogin($model, 'gsf_login', 'gsf_id_organization');
        }
        $this->setAsGemsUserId($model, 'gsf_id_user');

        return $model;
    }
public function getStaffModel ( $ addLogin = true ) { $ model = $ this -> _loadClass ( 'StaffModel' , true ) ; if ( $ addLogin ) { $ this -> addUserLogin ( $ model , 'gsf_login' , 'gsf_id_organization' ) ; } $ this -> setAsGemsUserId ( $ model , 'gsf_id_user' ) ; return $ model ; }
Load the staffmodel

@param boolean $addLogin Add the login tables to the model
@return \Gems_Model_StaffModel
Load the staffmodel