Interface BeanHelper
Bean Helper Interface.
Interface for Bean Helper. A little bolt that glues the whole machinery together.
Direct known implementers
RedBeanPHP\BeanHelper\SimpleFacadeBeanHelperCopyright:
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/IBeanHelper.php
Located at BeanHelper.php
public
|
#
getToolbox( )
Returns a toolbox to empower the bean. This allows beans to perform OODB operations by themselves, as such the bean is a proxy for OODB. This allows beans to implement their magic getters and setters and return lists. |
public
array
|
#
getExtractedToolbox( )
Does approximately the same as getToolbox but also extracts the toolbox for you. This method returns a list with all toolbox items in Toolbox Constructor order: OODB, adapter, writer and finally the toolbox itself!. |
public
|
#
getModelForBean(
Given a certain bean this method will return the corresponding model. If no model is returned (NULL), RedBeanPHP might ask again. |