Get the Register helper, if registered.

@return Zend_Controller_Action_Helper_Abstract
762089
protected function _getRegisterHelper() {
        $registerHelper = $this->_helper->getHelper('Register');
        if (!$registerHelper) {
            return null;
        }
        if (!$registerHelper instanceof Garp_Controller_Helper_Register) {
            throw new Garp_Auth_Exception(self::EXCEPTION_INVALID_REGISTER_HELPER);
        }
        return $registerHelper;
    }
1332455
public function getHandler()
    {
        $handlers = $this->handlers;
        if (isset($this->instructions['handler'])
            && isset($handlers[$this->instructions['handler']])) {
            return Yii::createObject([
                'class' => $handlers[$this->instructions['handler']],
                'bundle' => $this,
            ]);
        }

        return false;
    }
612073
protected function registerRegistrationController()
    {
        $this->app->bind(RegistrationController::class, function ($app) {
            $throttler = $app['throttle']->get($app['request'], 5, 30);

            return new RegistrationController($throttler);
        });
    }
395484
public function getPrivacyHelper()
    {
        if ($this->privacyHelper === null) {
            $this->privacyHelper = new PrivacyHelper(
                $this->partFactoryService->getMimePartFactory(),
                $this->partFactoryService->getUUEncodedPartFactory(),
                $this->partBuilderFactory,
                $this->getGenericHelper(),
                $this->getMultipartHelper()
            );
        }
        return $this->privacyHelper;
    }
1285776
protected function getStaticElementHelper()
    {
        if ($this->staticElementHelper) {
            return $this->staticElementHelper;
        }

        $renderer = $this->getView();
        if (method_exists($this->view, 'plugin')) {
            $this->staticElementHelper = $renderer->plugin($this->defaultStaticElementHelper);
        }

        if (!$this->staticElementHelper instanceof FormStatic) {
            $this->staticElementHelper = new FormStatic();
            $this->staticElementHelper->setView($renderer);
        }

        return $this->staticElementHelper;
    }
298970
protected function getFlashMessengerHelper()
    {
        if ($this->flashMessengerHelper) {
            return $this->flashMessengerHelper;
        }

        if (method_exists($this->view, 'plugin')) {
            $this->flashMessengerHelper = $this->view->plugin(FlashMessengerHelper::class);
        }

        if (!$this->flashMessengerHelper instanceof FlashMessengerHelper) {
            $this->flashMessengerHelper = new FlashMessengerHelper();
        }

        return $this->flashMessengerHelper;
    }
518492
private function getTranslatorHelper()
    {
        if (null === $this->translatorHelper) {
           $this->translatorHelper = $this->getServiceLocator()->get('MvcTranslator');
        }
      
        return $this->translatorHelper;
    }
909716
public function getPath()
    {
        return $this->getBasePath() . '/' . parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) . '/' . $this->getControllerName() . 'Controller.php';
    }
524967
protected function getLabelHelper()
    {
        if ($this->labelHelper) {
            return $this->labelHelper;
        }

        if (method_exists($this->view, 'plugin')) {
            $this->labelHelper = $this->view->plugin('form_label');
        }

        if (!$this->labelHelper instanceof FormLabel) {
            $this->labelHelper = new FormLabel();
        }

        if ($this->hasTranslator()) {
            $this->labelHelper->setTranslator(
                $this->getTranslator(),
                $this->getTranslatorTextDomain()
            );
        }

        return $this->labelHelper;
    }
1016028
protected function getConfigHandler()
    {
        if (null !== $typeInfo = ServiceManager::getServiceType($this->type)) {
            // lookup related service type config model
            return $typeInfo->getConfigHandler();
        }

        return null;
    }
668689
public function getValidator()
    {
        if (!($this->validator instanceof ValidatorInterface)) {
            $this->validator = ValidatorHelper::create($this->validator);
        }

        return $this->validator;
    }
634020
public function getVerifyHandler()
    {
        if (is_callable($this->verifyHandler)) {
            return $this->verifyHandler;
        }

        return function ($password, $hash) {
            return password_verify($password, $hash);
        };
    }
1052766
public function getOptionParser()
    {
        $parser = parent::getOptionParser();

        $parser->description(
            'Bake a JS Controller for use in FrontendBridge '
        )->addArgument('controller', [
            'help' => 'Controller Name, e.g. Posts',
            'required' => true
        ])->addArgument('action', [
            'help' => 'Action Name, e.g. addPost',
            'required' => true
        ]);
        return $parser;
    }
14442
public function getElementRegister()
    {
        if ($this->elementRegister === null) {
            $this->elementRegister = new ElementRegister();
            $this->initializeElementRegister($this->elementRegister);
        }
        return $this->elementRegister;
    }
978673
protected function getFlashMessengerHelper()
    {
        if ($this->flashMessengerHelper) {
            return $this->flashMessengerHelper;
        }

        if (method_exists($this->view, 'plugin')) {
            $this->flashMessengerHelper = $this->view->plugin('flashmessenger');
        }

        if (!$this->flashMessengerHelper instanceof FlashMessenger) {
            $this->flashMessengerHelper = new FlashMessenger();
            $this->flashMessengerHelper->setView($this->getView());
        }

        return $this->flashMessengerHelper;
    }
887050
public function getHelper()
	{
		$config = $this->asConfig();
		if (isset($config))
		{
			$config = ConfigHelper::filterConfig($config, 'PHP');
		}
		else
		{
			// Use a dummy config with a regexp that doesn't match anything
			$config = [
				'attrName' => $this->attrName,
				'regexp'   => '/(?!)/',
				'tagName'  => $this->tagName
			];
		}

		return new Helper($config);
	}
838842
public function getCurrentOrganizationId()
    {
        $userLoader = $this->loader->getUserLoader();

        if ($this->getElement($this->organizationFieldName) instanceof \Zend_Form_Element_Hidden) {
            // Url determines organization first when there is only one organization
            // and thus the element is of class hidden
            if ($orgId = $userLoader->getOrganizationIdByUrl()) {
                $this->_organizationFromUrl = true;
                $userLoader->getCurrentUser()->setCurrentOrganization($orgId);
                return $orgId;
            }
        }

        $request = $this->getRequest();
        if ($request->isPost() && ($orgId = $request->getParam($this->organizationFieldName))) {
            return $orgId;
        }

        $curOrg = $userLoader->getCurrentUser()->getCurrentOrganizationId();
        $orgs   = $this->getChildOrganizations($this->getCurrentTopOrganizationId());
        if (isset($orgs[$curOrg])) {
            return $curOrg;
        }

        $orgIds = array_keys($orgs);
        $firstId = reset($orgIds);
        return $firstId;
    }