2017 © Pedro Peláez
 

silverstripe-module silverstripe-hierarchicalcheckboxsetfield

A SilverStripe form field for adding nested checkboxes using parent and child dataobjects

image

joshkosmala/silverstripe-hierarchicalcheckboxsetfield

A SilverStripe form field for adding nested checkboxes using parent and child dataobjects

  • Tuesday, April 19, 2016
  • by novaweb
  • Repository
  • 2 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 5 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Hierarchical Checkbox Set Field

This field will produce a set of nested checkboxes., (*1)

The source can be a Hierarchy of dataobjects, or a multi dimensional array., (*2)

The values can be a be an array or a string., (*3)

Usage



$field = HierarchicalCheckboxSetField::create("Pages", "Pages", Page::get() ->filter("ParentID", 0), "Children", Page::get() ->filter("ParentID", 0) ->filter("ShowInMenus", true) ->map('ID','ID') ->toArray() ); $field->setChildSort("Title DESC"); $field->setChildFilter("ShowInSearch = 1");

The Versions

19/04 2016

dev-wsmt

dev-wsmt https://github.com/joshkosmala/silverstripe-hierarchicalcheckboxsetfield

A SilverStripe form field for adding nested checkboxes using parent and child dataobjects

  Sources   Download

MIT

The Requires

 

by Josh Kosmala

silverstripe cwp common web platform silverstripe-forms

19/04 2016

dev-master

9999999-dev https://github.com/joshkosmala/silverstripe-hierarchicalcheckboxsetfield

A SilverStripe form field for adding nested checkboxes using parent and child dataobjects

  Sources   Download

MIT

The Requires

 

by Josh Kosmala

silverstripe cwp common web platform silverstripe-forms

10/06 2015

dev-develop

dev-develop https://github.com/joshkosmala/silverstripe-hierarchicalcheckboxsetfield

A SilverStripe form field for adding nested checkboxes using parent and child dataobjects

  Sources   Download

MIT

The Requires

 

by Josh Kosmala

silverstripe cwp common web platform silverstripe-forms