Overview

Namespaces

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

Classes

  • AlienArmorController
  • AlienBioController
  • AlienMiscController
  • AOSpeakController
  • AOUController
  • AXPController
  • BankController
  • BosslootController
  • BroadcastController
  • BuffPerksController
  • CacheController
  • ChatAssistController
  • ChatCheckController
  • ChatLeaderController
  • ChatRallyController
  • ChatSayController
  • ChatTopicController
  • CityWaveController
  • CloakController
  • ClusterController
  • CountdownController
  • DevController
  • DingController
  • EventsController
  • FightController
  • FindOrgController
  • FindPlayerController
  • FunController
  • GitController
  • GuideController
  • GuildController
  • HelpbotController
  • HtmlDecodeController
  • ImplantController
  • ImplantDesignerController
  • InactiveMemberController
  • ItemsController
  • KillOnSightController
  • LevelController
  • LinksController
  • LootListsController
  • MdbController
  • MessageInfoCommandReply
  • MockCommandReply
  • NanoController
  • NewsController
  • NotesController
  • OnlineController
  • OrgHistoryController
  • OrglistController
  • OrgMembersController
  • OSController
  • PlayerHistoryController
  • PlayfieldController
  • PocketbossController
  • PremadeImplantController
  • PrivateChannelController
  • QuoteController
  • RaffleController
  • RaidController
  • RandomController
  • RecipeController
  • RelayController
  • ReputationController
  • ResearchController
  • RunAsController
  • SendTellController
  • ShoppingController
  • SilenceController
  • SkillsController
  • SpiritsController
  • StopwatchController
  • Teamspeak3
  • TeamspeakController
  • TestController
  • TimeController
  • TimerController
  • TimezoneController
  • TowerController
  • TrackerController
  • TrickleController
  • UnixtimeController
  • VoteController
  • WeatherController
  • WhatBuffsController
  • WhereisController
  • WhoisController
  • WhoisOrgController
  • WhompahController
  • Overview
  • Namespace
  • Class

Class RecipeController

Authors: - Tyrence

Based on a module written by Captainzero (RK1) of the same name for an earlier version of Budabot

Namespace: Budabot\User\Modules
Definecommand(:

command = 'recipe', accessLevel = 'all', description = 'Search for a recipe', help = 'recipe.txt' )


Instance: Commands this controller contains:
Located at RECIPE_MODULE/RecipeController.class.php
Methods summary
public
# connectEvent( )

Defaultstatus("1")

This is a Event("connect") instead of Setup since it depends on the items db being loaded

Description("initializes

the recipe database")

Event("connect")

public
# recipeShowCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("recipe")

Matches("/^recipe

([0-9]+)$/i")
public
# recipeSearchCommand( $message, $channel, $sender, $sendto, $args )

Handlescommand("recipe")

Matches("/^recipe

(.+)$/i")
public
# formatRecipeText( $input )
public
# createRecipeBlob( $row )
private
# replaceItem( $arr )
Properties summary
public $moduleName

Name of the module. Set automatically by module loader.

Name of the module. Set automatically by module loader.

#
public $db

Inject

#
public $util

Inject

#
public $text

Inject

#
public $itemsController

Inject

#
private $path
#
Budabot 4 Docs API documentation generated by ApiGen