_formId = $formId; } public function getClassWithFieldKey($element) { $formId = $this->getFormId(); $formId = !empty($formId) ? $formId : ''; return "{$this->getFk()}-{$element}"; } public function getConversationalCls($element) { $formId = $this->getFormId(); $formId = !empty($formId) ? $formId : ''; return "bc{$formId}-{$element}"; } public function getConversationalMultiCls($element) { $conversationalCls = $this->getConversationalCls($element); $clsWithFieldKey = $this->getClassWithFieldKey($element); return "$conversationalCls $clsWithFieldKey"; } // getter & setter function for $_formId public function getFormId() { return $this->_formId; } public function setFormId($formId) { $this->_formId = $formId; } }