p_master::is_full_class PHP Method

is_full_class() protected method

Checks whether the given module basename is a correct class name
protected is_full_class ( string $basename ) : boolean
$basename string A module basename
return boolean True if the basename starts with phpbb_ or (x)cp_, false otherwise
    protected function is_full_class($basename)
    {
        return strpos($basename, '\\') !== false || preg_match('/^(ucp|mcp|acp)_/', $basename);
    }