public function generateSearchText($content)
    {
        $userAliases = $content ? User::userAliases() : [];
        $userName = (is_numeric($content) && !empty($userAliases[$content])) ? $userAliases[$content] : $content;
        return parent::generateSearchText($userName);
    }
public function generateSearchText($content)
    {
        $userAliases = $content ? User::userAliases() : [];
        $userName = (is_numeric($content) && !empty($userAliases[$content])) ? $userAliases[$content] : $content;
        return parent::generateSearchText($userName);
    }
public function generateSearchText ( $ content ) { $ userAliases = $ content ? User :: userAliases ( ) : [ ] ; $ userName = ( is_numeric ( $ content ) && ! empty ( $ userAliases [ $ content ] ) ) ? $ userAliases [ $ content ] : $ content ; return parent :: generateSearchText ( $ userName ) ; }
Convert user id to name if not custom
@param null|string $content
@return null|string
Convert user id to name if not custom