Overview

Namespaces

  • None
  • RedBeanPHP
    • Adapter
    • BeanHelper
    • Cursor
    • Driver
    • Logger
      • RDefault
    • QueryWriter
    • RedException
    • Repository
    • Util

Classes

  • AssociationManager
  • BeanCollection
  • DuplicationManager
  • Facade
  • Finder
  • Jsonable
  • LabelMaker
  • Observable
  • OODB
  • OODBBean
  • R
  • Repository
  • SimpleModel
  • SimpleModelHelper
  • TagManager
  • ToolBox

Interfaces

  • Adapter
  • BeanHelper
  • Cursor
  • Driver
  • Logger
  • Observer
  • Plugin
  • QueryWriter

Exceptions

  • RedException
  • Overview
  • Namespace
  • Class

Class ToolBox

ToolBox.

The toolbox is an integral part of RedBeanPHP providing the basic architectural building blocks to manager objects, helpers and additional tools like plugins. A toolbox contains the three core components of RedBeanPHP: the adapter, the query writer and the core functionality of RedBeanPHP in OODB.

Namespace: RedBeanPHP
Copyright:

copyright (c) G.J.G.T. (Gabor) de Mooij and the RedBeanPHP Community. This source file is subject to the BSD/GPLv2 License that is bundled with this source code in the file license.txt.


License: BSD/GPLv2
Author: Gabor de Mooij and the RedBeanPHP community
File: RedBeanPHP/ToolBox.php
Located at ToolBox.php
Methods summary
public
# __construct( RedBeanPHP\OODB $oodb, RedBeanPHP\Adapter $adapter, RedBeanPHP\QueryWriter $writer )

Constructor. The toolbox is an integral part of RedBeanPHP providing the basic architectural building blocks to manager objects, helpers and additional tools like plugins. A toolbox contains the three core components of RedBeanPHP: the adapter, the query writer and the core functionality of RedBeanPHP in OODB.

Constructor. The toolbox is an integral part of RedBeanPHP providing the basic architectural building blocks to manager objects, helpers and additional tools like plugins. A toolbox contains the three core components of RedBeanPHP: the adapter, the query writer and the core functionality of RedBeanPHP in OODB.

Parameters

$oodb
Object Database, OODB
$adapter
Database Adapter
$writer
Query Writer
public RedBeanPHP\QueryWriter
# getWriter( )

Returns the query writer in this toolbox. The Query Writer is responsible for building the queries for a specific database and executing them through the adapter.

Returns the query writer in this toolbox. The Query Writer is responsible for building the queries for a specific database and executing them through the adapter.

Returns

RedBeanPHP\QueryWriter
public RedBeanPHP\OODB
# getRedBean( )

Returns the OODB instance in this toolbox. OODB is responsible for creating, storing, retrieving and deleting single beans. Other components rely on OODB for their basic functionality.

Returns the OODB instance in this toolbox. OODB is responsible for creating, storing, retrieving and deleting single beans. Other components rely on OODB for their basic functionality.

Returns

RedBeanPHP\OODB
public RedBeanPHP\Adapter\DBAdapter
# getDatabaseAdapter( )

Returns the database adapter in this toolbox. The adapter is responsible for executing the query and binding the values. The adapter also takes care of transaction handling.

Returns the database adapter in this toolbox. The adapter is responsible for executing the query and binding the values. The adapter also takes care of transaction handling.

Returns

RedBeanPHP\Adapter\DBAdapter
Properties summary
protected RedBeanPHP\OODB $oodb
#
protected RedBeanPHP\QueryWriter $writer
#
protected RedBeanPHP\Adapter\DBAdapter $adapter
#
API documentation generated by ApiGen