This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function buildForm() { | |
// ... | |
$selectedIds = $this->getSelectedIds(); | |
$this->assign_by_ref('selectedIds', $selectedIds); | |
// ... | |
} | |
public function getSelectedIds() { | |
$selectedIds = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="crm-block" ng-form="defaultDataOutput" crm-ui-id-scope> | |
<h3 class="widget-header">{{ts('Set defaults')}}</h3> | |
<table> | |
<thead> | |
<th>{{ts('Field')}}</th> | |
<th>{{ts('Value')}}</th> | |
</thead> | |
<tbody> | |
<tr ng-repeat="input in formProcessor.inputs | orderBy:'name'" ng-class-even="'crm-entity even-row even'" ng-class-odd="'crm-entity odd-row odd'"> |