lib/components/web/widgets/Module.php
public function getShortName()
    {
        preg_match('/Widget([A-Za-z]+)\\\Module/', get_class($this), $matches);
        if (!isset($matches[1])) {
            throw new Exception(get_class($this) . " is not set up correctly!");
        }

        return $matches[1];
    }
public function getShortName()
    {
        preg_match('/Widget([A-Za-z]+)\\\Module/', get_class($this), $matches);
        if (!isset($matches[1])) {
            throw new Exception(get_class($this) . " is not set up correctly!");
        }

        return $matches[1];
    }
Get short name.

@throws Exception [[@doctodo exception_description:Exception]]
@return [[@doctodo return_type:getShortName]] [[@doctodo return_description:getShortName]]