PHP code example of antonythorpe / silverstripe-knockout-forms
1. Go to this page and download the library: Download antonythorpe/silverstripe-knockout-forms library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
antonythorpe / silverstripe-knockout-forms example snippets
namespace AntonyThorpe\Knockout;
/**
* Knockout NameOfNewField
*
* Creates a {@link NameOfNewField} with an additional data-bind attribute that links to a Knockout observable
*/
class KnockoutNameOfField extends ????Field
{
use \Knockout\Common;
/**
* bindingType
*/
protected $bindingType = "theKnockoutBindingHandler";