\BuyableSelectField_DataList

Synopsis

class BuyableSelectField_DataList extends Controller {
}

Hierarchy

Extends

  • Controller

Members

private

  • $allowed_actions
  • $url_segment

protected

  • $fieldsToSearch

Methods

protected

  • array2json() — converts an Array into JSON and formats it nicely for easy debugging

public

  • json() — returns JSON in this format: Array( ClassName => $className, ID => $obj->ID, Version => $obj->Version, Title => $name );