protected function _initOpenRosa()
    {
        $this->bootstrap(array('loader', 'translate'));

        if ($this->getOption('useOpenRosa')) {
            // First handle dependencies
            $this->bootstrap(array('db', 'loader', 'util'));

            $this->getLoader()->addPrefixPath('OpenRosa', GEMS_LIBRARY_DIR . '/classes/OpenRosa', true);

            /**
             * Add Source for OpenRosa
             */
            $tracker = $this->loader->getTracker();
            $tracker->addSourceClasses(array('OpenRosa'=>'OpenRosa form'));
        }
    }
protected function _initOpenRosa()
    {
        $this->bootstrap(array('loader', 'translate'));

        if ($this->getOption('useOpenRosa')) {
            // First handle dependencies
            $this->bootstrap(array('db', 'loader', 'util'));

            $this->getLoader()->addPrefixPath('OpenRosa', GEMS_LIBRARY_DIR . '/classes/OpenRosa', true);

            /**
             * Add Source for OpenRosa
             */
            $tracker = $this->loader->getTracker();
            $tracker->addSourceClasses(array('OpenRosa'=>'OpenRosa form'));
        }
    }
protected function _initOpenRosa ( ) { $ this -> bootstrap ( array ( 'loader' , 'translate' ) ) ; if ( $ this -> getOption ( 'useOpenRosa' ) ) { // First handle dependencies $ this -> bootstrap ( array ( 'db' , 'loader' , 'util' ) ) ; $ this -> getLoader ( ) -> addPrefixPath ( 'OpenRosa' , GEMS_LIBRARY_DIR . '/classes/OpenRosa' , true ) ; /**
             * Add Source for OpenRosa
             */ $ tracker = $ this -> loader -> getTracker ( ) ; $ tracker -> addSourceClasses ( array ( 'OpenRosa' => 'OpenRosa form' ) ) ; } }
Initialize the OpenRosa survey source
Initialize the OpenRosa survey source