original_string: public function formatStylesJs()
      {
          $options = [];
  
          $options[] = $this->formatStyle('Arial,Arial,Helvetica,sans-serif', 'Arial');
          $options[] = $this->formatStyle('Arial Black,Arial Black,Gadget,sans-serif', 'Arial Black');
          $options[] = $this->formatStyle('Comic Sans MS,Comic Sans MS,cursive', 'Comic Sans MS');
          $options[] = $this->formatStyle('Courier New,Courier New,Courier,monospace', 'Courier New');
          $options[] = $this->formatStyle('Georgia,Georgia,serif', 'Georgia');
          $options[] = $this->formatStyle('Impact,Charcoal,sans-serif', 'Impact');
          $options[] = $this->formatStyle('Lucida Console,Monaco,monospace', 'Lucida Console');
          $options[] = $this->formatStyle('Lucida Sans Unicode,Lucida Grande,sans-serif', 'Lucida Sans');
          $options[] = $this->formatStyle('Palatino Linotype,Book Antiqua,Palatino,serif', 'Palatino Linotype');
          $options[] = $this->formatStyle('Tahoma,Geneva,sans-serif', 'Tahoma');
          $options[] = $this->formatStyle('Times New Roman,Times,serif', 'Times New Roman');
          $options[] = $this->formatStyle('Trebuchet MS,Helvetica,sans-serif', 'Trebuchet');
          $options[] = $this->formatStyle('Verdana,Geneva,sans-serif', 'Verdana');
  
          return 'aoTypes: ['.implode(', ', $options).']';
      }
code: public function formatStylesJs()
      {
          $options = [];
  
          $options[] = $this->formatStyle('Arial,Arial,Helvetica,sans-serif', 'Arial');
          $options[] = $this->formatStyle('Arial Black,Arial Black,Gadget,sans-serif', 'Arial Black');
          $options[] = $this->formatStyle('Comic Sans MS,Comic Sans MS,cursive', 'Comic Sans MS');
          $options[] = $this->formatStyle('Courier New,Courier New,Courier,monospace', 'Courier New');
          $options[] = $this->formatStyle('Georgia,Georgia,serif', 'Georgia');
          $options[] = $this->formatStyle('Impact,Charcoal,sans-serif', 'Impact');
          $options[] = $this->formatStyle('Lucida Console,Monaco,monospace', 'Lucida Console');
          $options[] = $this->formatStyle('Lucida Sans Unicode,Lucida Grande,sans-serif', 'Lucida Sans');
          $options[] = $this->formatStyle('Palatino Linotype,Book Antiqua,Palatino,serif', 'Palatino Linotype');
          $options[] = $this->formatStyle('Tahoma,Geneva,sans-serif', 'Tahoma');
          $options[] = $this->formatStyle('Times New Roman,Times,serif', 'Times New Roman');
          $options[] = $this->formatStyle('Trebuchet MS,Helvetica,sans-serif', 'Trebuchet');
          $options[] = $this->formatStyle('Verdana,Geneva,sans-serif', 'Verdana');
  
          return 'aoTypes: ['.implode(', ', $options).']';
      }
code_tokens: public function formatStylesJs ( ) { $ options = [ ] ; $ options [ ] = $ this -> formatStyle ( 'Arial,Arial,Helvetica,sans-serif' , 'Arial' ) ; $ options [ ] = $ this -> formatStyle ( 'Arial Black,Arial Black,Gadget,sans-serif' , 'Arial Black' ) ; $ options [ ] = $ this -> formatStyle ( 'Comic Sans MS,Comic Sans MS,cursive' , 'Comic Sans MS' ) ; $ options [ ] = $ this -> formatStyle ( 'Courier New,Courier New,Courier,monospace' , 'Courier New' ) ; $ options [ ] = $ this -> formatStyle ( 'Georgia,Georgia,serif' , 'Georgia' ) ; $ options [ ] = $ this -> formatStyle ( 'Impact,Charcoal,sans-serif' , 'Impact' ) ; $ options [ ] = $ this -> formatStyle ( 'Lucida Console,Monaco,monospace' , 'Lucida Console' ) ; $ options [ ] = $ this -> formatStyle ( 'Lucida Sans Unicode,Lucida Grande,sans-serif' , 'Lucida Sans' ) ; $ options [ ] = $ this -> formatStyle ( 'Palatino Linotype,Book Antiqua,Palatino,serif' , 'Palatino Linotype' ) ; $ options [ ] = $ this -> formatStyle ( 'Tahoma,Geneva,sans-serif' , 'Tahoma' ) ; $ options [ ] = $ this -> formatStyle ( 'Times New Roman,Times,serif' , 'Times New Roman' ) ; $ options [ ] = $ this -> formatStyle ( 'Trebuchet MS,Helvetica,sans-serif' , 'Trebuchet' ) ; $ options [ ] = $ this -> formatStyle ( 'Verdana,Geneva,sans-serif' , 'Verdana' ) ; return 'aoTypes: [' . implode ( ', ' , $ options ) . ']' ; }
docstring: Formats font styles to use them in layout editor
  
  @return string
docstring_tokens: Formats font styles to use them in layout editor