protected function useAutoName($prefix="widget")
    {
        if ($this->name==null) {
            $this->name = $prefix.Utility::getUniqueId();
        }
    }
protected function useAutoName($prefix="widget")
    {
        if ($this->name==null) {
            $this->name = $prefix.Utility::getUniqueId();
        }
    }
protected function useAutoName ( $ prefix = "widget" ) { if ( $ this -> name == null ) { $ this -> name = $ prefix . Utility :: getUniqueId ( ) ; } }
Use by descendant widget class to take name settings

If the name is set by user, the method will not change name
If the name is not set then method will set an unique name for it.

@param string $prefix The prefix to the widget name if
the name is generated automatically.

@return null
Use by descendant widget class to take name settings