Example #1
0
 /**
  * Returns javascript which creates an instance of the class defined in formJavascriptClass()
  *
  * @param   int  $repeatCounter  Repeat group counter
  *
  * @return  array
  */
 public function elementJavascript($repeatCounter)
 {
     $opts = parent::getElementJSOptions($repeatCounter);
     $id = $this->getHTMLId($repeatCounter);
     return array('FbUsergroup', $id, $opts);
 }