Overview

Namespaces

  • Budabot
    • Core
      • Modules
    • User
      • Modules
  • None
  • Tyrence
    • Modules

Classes

  • AccessManager
  • AdminManager
  • AOChat
  • AOChatPacket
  • AOChatQueue
  • AOExtMsg
  • AsyncHttp
  • AutoInject
  • BotRunner
  • Budabot
  • BuddylistManager
  • CacheManager
  • CacheResult
  • ClassLoader
  • ColorSettingHandler
  • CommandAlias
  • CommandManager
  • ConfigFile
  • DB
  • DBRow
  • EventLoop
  • EventManager
  • GuildChannelCommandReply
  • GuildManager
  • HelpManager
  • Http
  • HttpRequest
  • LegacyLogger
  • LimitsController
  • LoggerWrapper
  • MMDBParser
  • NumberSettingHandler
  • OptionsSettingHandler
  • PlayerHistory
  • PlayerHistoryManager
  • PlayerManager
  • Preferences
  • PrivateChannelCommandReply
  • PrivateMessageCommandReply
  • Registry
  • SettingHandler
  • SettingManager
  • SettingObject
  • SocketManager
  • SocketNotifier
  • SubcommandManager
  • Text
  • TextSettingHandler
  • Timer
  • TimerEvent
  • TimeSettingHandler
  • Util
  • xml

Interfaces

  • CommandReply

Exceptions

  • InvalidHttpRequest
  • SQLException
  • StopExecutionException

Functions

  • isWindows
  • Overview
  • Namespace
  • Class

Class Text

Namespace: Budabot\Core
Instance
Located at Text.class.php
Methods summary
public
# makeHeaderLinks( $links )
public
# makeBlob( $name, $content, $header = null )

Description:

creates an info window

Name:

makeBlob
public
# makeLegacyBlob( $name, $content )
public
# paginate( $input, $maxLength, $symbols )
public
# makeChatcmd( $name, $content, $style = null )

Description:

creates a chatcmd link

Name:

makeChatcmd

Param:

$name - the name the link will show
$content - the chatcmd to execute
$style (optional) - any styling you want applied to the link
public
# makeUserlink( $user, $style = null )

Description:

creates a user link which adds support for right clicking usernames in chat, providing you with a menu of options (ignore etc.) (see 18.1 AO patchnotes)

Name:

makeUserlink

Param:

$name - the name the user to create a link for
$style (optional) - any styling you want applied to the link
public
# makeItem( $lowId, $highId, $ql, $name )

Description:

creates an item link

Name:

makeItem
public
# makeImage( $imageId, $db = "rdb" )

Parameters

$imageId
of the image
$db
image database to use, by default uses rdb

Description:

creates an image.

Name:

makeImage
public
# formatMessage( $message )

Description:

formats a message with colors, bot name, symbol, etc

Name:

formatMessage
Properties summary
public $chatBot

Inject

#
public $settingManager

Inject

#
public $logger

Logger

#
Budabot 4 Docs API documentation generated by ApiGen