APF_Widget_WithSection::load PHP Method

load() public method

Alternatively you may use load_{instantiated class name} method.
public load ( $oAdminWidget )
    public function load($oAdminWidget)
    {
        $this->addSettingSections(array('section_id' => 'apf_sample_image', 'title' => __('Image', 'admin-page-framework-loader'), 'description' => __('Shows a selected image in the front-end.', 'admin-page-framework-loader')));
        $this->addSettingFields('apf_sample_image', array('field_id' => 'image', 'type' => 'image', 'title' => __('Image', 'admin-page-framework-loader')), array('field_id' => 'bg_color', 'type' => 'color', 'title' => __('Bacground Color', 'admin-page-framework-loader')), array('field_id' => 'todays_word', 'tip' => __('One of the listed items will be displayed randomly at a time.', 'admin-page-framework-loader'), 'type' => 'text', 'title' => __('Today\'s Word', 'admin-page-framework-loader'), 'repeatable' => true), array());
    }