private function generateContentAlias($name)
    {
        $alias = $name;
        while ($this->hasContent($alias)) {
            $alias = uniqid($name . '_');
        }

        return $alias;
    }
private function generateContentAlias($name)
    {
        $alias = $name;
        while ($this->hasContent($alias)) {
            $alias = uniqid($name . '_');
        }

        return $alias;
    }
private function generateContentAlias ( $ name ) { $ alias = $ name ; while ( $ this -> hasContent ( $ alias ) ) { $ alias = uniqid ( $ name . '_' ) ; } return $ alias ; }
Generates unique alias for the content
@param $name string
@return string
Generates unique alias for the content