Get the module name.

@return string
338213
public function getModuleName()
    {
        $module = $this->argument('module') ?: $this->laravel['modules']->getUsedNow();

        $module = $this->laravel['modules']->findOrFail($module);

        return $module->getStudlyName();
    }
978683
public function getName(): string {
        $meta = $this->getMetadata();
        return (string) $meta->getLiteral(RC::titleProp());
    }
131817
public function getModuleName()
        {
            if (null === $this->_module) {
                $this->_module = $this->getParam($this->getModuleKey());
            }

            return $this->_module;
        }
446723
public function getName()
    {
        $label = $this->hasOption('title') ? $this->getOption('title') : $this->title;

        return ucwords(str_replace('_', ' ', $label));
    }
642287
public function getName(): string
    {
        if ($this->name === null) {
            $this->name = $this->path;
        }

        return $this->name;
    }
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;
		}
	}
626154
public function getName()
    {
        if (null === $this->name) {
            $this->name = preg_replace('/[^a-zA-Z0-9_]+/', '', basename($this->rootDir));
        }

        return $this->name;
    }
857885
public function getPackageName()
    {
        if (is_null($this->version)) {
            return $this->name . ':dev-master';
        }

        return $this->name . ':' . $this->version;
    }
467788
public function get_plugin_name() {
        if ($this->plugin === 'core') {
            $string = get_string('core', 'tool_monitor');
        } else if (get_string_manager()->string_exists('pluginname', $this->plugin)) {
            $string = get_string('pluginname', $this->plugin);
        } else {
            $string = $this->plugin;
        }
        return $string;
    }
1021355
public function getModulePath(): string
    {
        $reflector = new ReflectionClass(get_class($this));
        $fn = $reflector->getFileName();
        $directory = dirname($fn);
        return $directory;
    }
49968
public function getModule()
    {
        $module = request()->segment(1);

        $defaultModules = config('cms.active-core-modules');
        $extraModules = array_keys(config('cms.modules', []));

        $modules = array_merge($defaultModules, $extraModules);

        if (in_array($module, $modules)) {
            return str_singular($module);
        }

        return 'page';
    }
507737
public static function getModule($module) {
        $info = null;
        if (isset (self::$modules [ $module ])) {
            return self::$modules [ $module ];
        }

        return $info;
    }
547597
public function getName()
    {
        if ($this->_name === null) {
            $this->_name = $this->defaultName();
        }
        return $this->_name;
    }
40897
def main_module_name() -> str:
    """"""
    if not hasattr(main_module, '__file__'):
        # running from interactive shell
        return None

    main_filename = os.path.basename(main_module.__file__)
    module_name, ext = os.path.splitext(main_filename)
    return module_name
299112
private function getModuleProposal()
    {
        $moduleNames = [];
        foreach (Yii::$app->getApplicationModules() as $id => $obj) {
            $moduleNames[$id] = $id;
        }

        return $moduleNames;
    }
1276309
public function get_course_module() {
        if ($this->coursemodule) {
            return $this->coursemodule;
        }
        if (!$this->context) {
            return null;
        }

        if ($this->context->contextlevel == CONTEXT_MODULE) {
            $modinfo = get_fast_modinfo($this->get_course());
            $this->coursemodule = $modinfo->get_cm($this->context->instanceid);
            return $this->coursemodule;
        }
        return null;
    }
890639
public function getName()
    {
        if (null === $this->name)
        {
            $this->name = strtolower(get_class($this));
        }
        return $this->name;
    }