Autogenerated class NinjaWidget_Model. More...
Public Member Functions | |
__construct ($initial=false) | |
Build a ninja widget model. | |
get_setting () | |
Autogenerated function. | |
set_setting ($value) | |
Autogenerated function. | |
get_widget_id () | |
Returns the widgets full qualified identification. | |
Static Public Member Functions | |
static | set_widget_order ($page, $widget_order) |
Given a structure like array(placeholder1 => array(widget1, widget2, widgetn), placeholder2 => array(. |
Autogenerated class NinjaWidget_Model.
Ninja_Widget_Model::get_setting | ( | ) |
Ninja_Widget_Model::get_widget_id | ( | ) |
Returns the widgets full qualified identification.
Ninja_Widget_Model::set_setting | ( | $ | value | ) |
static Ninja_Widget_Model::set_widget_order | ( | $ | page, | |
$ | widget_order | |||
) | [static] |
Given a structure like array(placeholder1 => array(widget1, widget2, widgetn), placeholder2 => array(.
..)) serialize it and save it in the database.