コード例 #1
0
 /**
  * @param Dropzone  $dropzone
  * @param Criterion $criterion
  */
 public function __construct(Dropzone $dropzone, Criterion $criterion)
 {
     $details = array('dropzone' => array('id' => $dropzone->getId()), 'criterion' => array('id' => $criterion->getId(), 'instruction' => $criterion->getInstruction()));
     parent::__construct($dropzone->getResourceNode(), $details);
 }
コード例 #2
0
 /**
  * @param Dropzone  $dropzone
  * @param mixed     $dropzoneChangeSet
  * @param Criterion $criterion
  * @param mixed     $criterionChangeSet
  */
 public function __construct(Dropzone $dropzone, $dropzoneChangeSet, Criterion $criterion, $criterionChangeSet)
 {
     $details = array('dropzone' => array('id' => $dropzone->getId(), 'changeSet' => $dropzoneChangeSet), 'criterion' => array('id' => $criterion->getId(), 'changeSet' => $criterionChangeSet));
     parent::__construct($dropzone->getResourceNode(), $details);
 }