classes/Fields/Checklist.php
public function from(array $options)
    {
        // Makes the options passed in override anything from the populator.
        $this->grouped = true;

        // Produce Former-style checkbox options
        $options = FormerUtils::checkboxArray($this->name, $options);
        $this->checkboxes($options);

        // Make chainable
        return $this;
    }
public function from(array $options)
    {
        // Makes the options passed in override anything from the populator.
        $this->grouped = true;

        // Produce Former-style checkbox options
        $options = FormerUtils::checkboxArray($this->name, $options);
        $this->checkboxes($options);

        // Make chainable
        return $this;
    }
public function from ( array $ options ) { // Makes the options passed in override anything from the populator. $ this -> grouped = true ; // Produce Former-style checkbox options $ options = FormerUtils :: checkboxArray ( $ this -> name , $ options ) ; $ this -> checkboxes ( $ options ) ; // Make chainable return $ this ; }
Accept checkbox configuration from an associative array

@param array $options
@return $this
Accept checkbox configuration from an associative array