Title: scbFramework
Author: scribu
Published: <strong>May 31, 2009</strong>
Last modified: April 8, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/scb-framework.svg)

# scbFramework

 By [scribu](https://profiles.wordpress.org/scribu/)

[Download](https://downloads.wordpress.org/plugin/scb-framework.zip)

 * [Details](https://pcd.wordpress.org/plugins/scb-framework/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/scb-framework/#reviews)
 * [Development](https://pcd.wordpress.org/plugins/scb-framework/#developers)

 [Support](https://wordpress.org/support/plugin/scb-framework/)

## Description

This plugin is a a usage example for [scbFramework](https://github.com/scribu/wp-scb-framework).

scbFramework is a toolkit that helps developers write plugins faster. It consists
of several classes which handle common tasks, such as generating settings pages,
creating database tables etc.

See the [documentation](http://github.com/scribu/wp-scb-framework/wiki) for more
details.

To take a quick look at the code, see the github page: https://github.com/scribu/
wp-scb-framework-example

Links: [**Wiki**](http://github.com/scribu/wp-scb-framework/wiki) | [Framework News](http://scribu.net/wordpress/scb-framework)
| [Author’s Site](http://scribu.net)

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“scbFramework” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ scribu ](https://profiles.wordpress.org/scribu/)
 *   [ Andrey “Rarst” Savchenko ](https://profiles.wordpress.org/rarst/)

[Translate “scbFramework” into your language.](https://translate.wordpress.org/projects/wp-plugins/scb-framework)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/scb-framework/), check
out the [SVN repository](https://plugins.svn.wordpress.org/scb-framework/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/scb-framework/) 
by [RSS](https://plugins.trac.wordpress.org/log/scb-framework/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 16 Feb 2013 (r58)

 * improve toplevel admin menu item handling
 * fix notice in `scbForms::update_meta()`. props Josh Ronk
 * reduce usage of `extract()`. props [Rarst](https://profiles.wordpress.org/rarst)

#### 7 Sep 2012 (r57)

 * refactored scbForms: separate class for each input type
 * introduced scb_get_query_flags()
 * load classes immediately if ‘plugins_loaded’ was already called

#### 8 May 2012 (r53)

 * introduced input_from_meta() and input_with_value() methods to scbForms
 * added ‘default’ and ‘wrap_each’ optional parameters to relevant scbForms methods
 * introduced scbAdminPage::page_loaded()
 * added $name parameter to scb_register_table()

#### 23 Jan 2012 (r48)

 * introduced scbForms::validate_POST_data()
 * added ‘wrap’ arg to scbForms::input()
 * introduced scb_register_table(), scb_install_table() and scb_uninstall_table()
 * introduced scb_admin_notice()
 * replaced scbUtil::objects_to_assoc() with scb_list_fold()
 * added ‘screen_icon’ arg to scbAdminPage
 * made scbOptions::update() accept partial updates
 * WP 3.3 compatibility

#### 23 Aug 2011 (r40)

 * introduced scbHooks class
 * introduced scbForm class
 * forms: `'name' => array( 'foo', 'bar', 'baz' )` now means `foo[bar][baz]`
 * added example plugin, using scbTable, scbOptions, scbAdminPage and scbBoxesPage

#### 19 Jun 2011 (r36)

 * revamped radio button handling
 * added support for nested names
 * use html() and esc_textarea() in scbForms
 * extended example plugin
 * deprecated scbQueryManipulation, scbUtil::array_pluck() and scbUtil::array_extract()

#### 05 Apr 2011 (r34)

 * fixed activation hooks when using scb-load.php
 * added ability to define column widths in scbBoxesPages (props pento)
 * introduced scbUtil::get_current_url()
 * made scbTable play nice with switch_to_blog()

#### 02 Feb 2011 (r31)

 * scbQueryManipulation WP 3.1 compatibility
 * scbCron enhancements
 * introduced debug_cron(), debug_ts() and debug_h()
 * html() knows about self-closing tags

#### 09 Sep 2010 (r24)

 * delayed activation (scbLoad4)
 * replaced scbQuery with scbQueryManipulation
 * removed scbRewrite
 * added attributes param to html()
 * [more info](http://scribu.net/wordpress/scb-framework/revision-24.html)

#### 1.6 (r9)

 * load the most recent version available
 * move debugging functions to separate file
 * new methods in scbUtil: array_pluck(), objects_to_assoc(), split_at()
 * auto-uninstall for scbWidget
 * [more info](http://scribu.net/wordpress/scb-framework/sf-1-6.html)

#### 1.5

 * new methods for scbOptions: get_defaults(); cleanup(); __isset();
 * new method for scbAdminPage: page_help();
 * new method for scbUtil: add_uninstall_hook();
 * scbAdminPage::submit_button() accepts an array of arguments
 * scbAdminPage can create top level menus
 * scbBoxesPage can assign the same handler to multiple boxes, with different arguments
 * debug() outputs at the end of the page, only for administrators
 * [more info](http://scribu.net/wordpress/scb-framework/sf-1-5.html)

#### 1.4

 * new classes: scbUtil & scbRewrite
 * faster loading method
 * scbWidget applies ‘widget_title’ filter
 * [more info](http://scribu.net/wordpress/scb-framework/sf-1-4.html)

#### 1.3.1

 * scbTable respects collation & charset

#### 1.3

 * AdminPage: ajax submit
 * Options: added set(); deprecated update_part()
 * Cron: new methods: do_now(), do_once()
 * dropped support for WordPress older than 2.8
 * [more info](http://scribu.net/wordpress/scb-framework/sf-1-3.html)

#### 1.2.1

 * fixed PHP 5.0 compatibility issue

#### 1.2

 * added the scbTable class
 * fixed widget input names
 * use plugin_dir_url()
 * [more info](http://scribu.net/wordpress/scb-framework/sf-1-2.html)

#### 1.1

 * better scbBoxesPage
 * enhancements for scbAdminPage
 * bugfix in scbOptions
 * [more info](http://scribu.net/wordpress/scb-framework/sf-1-1.html)

#### 1.0

 * initial release
 * [more info](http://scribu.net/wordpress/scb-framework/introducing-scbframework.html)

## Meta

 *  Version **r58**
 *  Last updated **13 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.2 or higher **
 *  Tested up to **3.5.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/scb-framework/)
 * Tags
 * [admin](https://pcd.wordpress.org/plugins/tags/admin/)[cron](https://pcd.wordpress.org/plugins/tags/cron/)
   [forms](https://pcd.wordpress.org/plugins/tags/forms/)[framework](https://pcd.wordpress.org/plugins/tags/framework/)
   [toolkit](https://pcd.wordpress.org/plugins/tags/toolkit/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/scb-framework/advanced/)

## Ratings

No reviews have been submitted yet.

[Add my review](https://wordpress.org/support/plugin/scb-framework/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/scb-framework/reviews/)

## Contributors

 *   [ scribu ](https://profiles.wordpress.org/scribu/)
 *   [ Andrey “Rarst” Savchenko ](https://profiles.wordpress.org/rarst/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/scb-framework/)