Swat/SwatCheckboxEntryList.php
protected function getEntryWidget($option_value)
    {
        if (!$this->hasEntryWidget($option_value)) {
            $container = new SwatFormField(
                $this->id . '_field_' . $option_value
            );
            $container->add($this->createEntryWidget($option_value));
            $container->parent = $this;
            $container->init();
            $this->entry_widgets[$option_value] = $container;
        }

        return $this->entry_widgets[$option_value];
    }
protected function getEntryWidget($option_value)
    {
        if (!$this->hasEntryWidget($option_value)) {
            $container = new SwatFormField(
                $this->id . '_field_' . $option_value
            );
            $container->add($this->createEntryWidget($option_value));
            $container->parent = $this;
            $container->init();
            $this->entry_widgets[$option_value] = $container;
        }

        return $this->entry_widgets[$option_value];
    }
protected function getEntryWidget ( $ option_value ) { if ( ! $ this -> hasEntryWidget ( $ option_value ) ) { $ container = new SwatFormField ( $ this -> id . '_field_' . $ option_value ) ; $ container -> add ( $ this -> createEntryWidget ( $ option_value ) ) ; $ container -> parent = $ this ; $ container -> init ( ) ; $ this -> entry_widgets [ $ option_value ] = $ container ; } return $ this -> entry_widgets [ $ option_value ] ; }
Gets a widget tree for the entry widget of this checkbox entry list

This is used internally to create the widget tree containing a
{@link SwatEntry} widget for display and processing.

@param string $option_value the value of the option for which to get
the entry widget. If no entry widget exists
for the given option value, one is created.

@return SwatContainer the widget tree containing the entry widget for
the given option value.
Gets a widget tree for the entry widget of this checkbox entry list