Get the module name.

@return string
4240
public function getModuleName()
    {
        $module = $this->argument('module') ?: app('modules')->getUsedNow();

        $module = app('modules')->findOrFail($module);

        return $module->getStudlyName();
    }
782858
protected function get_module_name() {
        if (isset(self::$modulename)) {
            return self::$modulename;
        }
        self::$modulename = get_string('modulename', 'assign');
        return self::$modulename;
    }
842956
protected function getNameInput(): string
    {
        $name = trim($this->argument('name'));

        if (mb_strpos($name, '/') === false) {
            throw new \Exception('Module name must consist of two segments: vendor/module');
        }

        return $name;
    }
212799
public function getFriendlyName(): string
    {
        $extra       = $this->getPackage()->getExtra();
        $regularName = str_replace(['component-', 'module-'], '', $this->getPackageName());

        return (string) Arr::get($extra, 'friendly-name', $regularName);
    }
507737
public static function getModule($module) {
        $info = null;
        if (isset (self::$modules [ $module ])) {
            return self::$modules [ $module ];
        }

        return $info;
    }
1299132
public function getPhpName()
    {
        if (null === $this->phpName) {
            $this->phpName = $this->buildPhpName($this->getStdSeparatedName());
        }

        return $this->phpName;
    }
1272382
public function getPackageName(): string
	{
		if( $this->module_id > 0 )
		{
			$module = $this->getModule();
			if( strpos($this->class_name, "\\") === false )
			{
				$this->class_name = $module->getNamespace() . "Plugin\\" . $this->class_name;
			}
			return $module->getName();
		}
		else
		{
			return $this->name;
		}
	}
1272606
public function getCurrentModule()
	{
	    if ($this->currentModule && !($this->currentModule instanceof Module)) {
	       $this->currentModule = $this->getModule($this->currentModule);
	    }
	    
	    return $this->currentModule ? : $this;
	}
961216
private function getFunctionName(): string
    {
        if (!$this->functionName) {
            $this->functionName = $this->loadFunctionName();
        }

        return $this->functionName;
    }
72127
public function getName() : ?string 
    {
        if ( ! $this->hasName()) {
            $this->setName($this->getDefaultName());
        }
        return $this->name;
    }
1442
public function getName()
    {
        if ($this->_name === null) {
            $this->_name = ((new \ReflectionClass($this))->getShortName());
        }
        
        return $this->_name;
    }
446723
public function getName()
    {
        $label = $this->hasOption('title') ? $this->getOption('title') : $this->title;

        return ucwords(str_replace('_', ' ', $label));
    }
1017369
protected function getTypesModule()
    {
        $types = array();

        foreach ($this->module->getList() as $module) {
            $types[$module['type']] = $this->text(ucfirst($module['type']));
        }

        return $types;
    }
978683
public function getName(): string {
        $meta = $this->getMetadata();
        return (string) $meta->getLiteral(RC::titleProp());
    }
470235
final public function getLongName()
    {
        $name = ($this->module ? $this->module->getName() . '/' : '') . $this->getName();
        return $this->action ? $name . '/' . $this->getAction() : $name;
    }
1343990
protected function _getModuleFilter() {
        $args   = $this->getArgs();
        $only   = self::FILTER_MODULE_COMMAND;

        if (!array_key_exists($only, $args)) {
            return;
        }

        $filter = $args[$only];
        return strtolower($filter);
    }
176562
public function _getName()
    {
        $moduleName = '\\' . get_class($this);

        if (strpos($moduleName, ModuleContainer::MODULE_NAMESPACE) === 0) {
            return substr($moduleName, strlen(ModuleContainer::MODULE_NAMESPACE));
        }

        return $moduleName;
    }