Example #1
0
 /**
  * Initialize the class with the standard class from the API.
  *
  * @param \stdClass     $objStdRecord The JSON decoded standard class from the API.
  * @param \Fulcrum\Form $objForm      The Form object this record belongs to.
  */
 public function init(\stdClass $objStdRecord, Form $objForm = null)
 {
     $this->objStdRecord = $objStdRecord;
     $this->objForm = $objForm;
     $this->keyMap = $objForm->getKeyMap();
 }