original_string: protected function prepare_emoticon_object($text, $imagename, $altidentifier = null,
                                                 $altcomponent = 'core_pix', $imagecomponent = 'core') {
          return (object)array(
              'text'           => $text,
              'imagename'      => $imagename,
              'imagecomponent' => $imagecomponent,
              'altidentifier'  => $altidentifier,
              'altcomponent'   => $altcomponent,
          );
      }
code: protected function prepare_emoticon_object($text, $imagename, $altidentifier = null,
                                                 $altcomponent = 'core_pix', $imagecomponent = 'core') {
          return (object)array(
              'text'           => $text,
              'imagename'      => $imagename,
              'imagecomponent' => $imagecomponent,
              'altidentifier'  => $altidentifier,
              'altcomponent'   => $altcomponent,
          );
      }
code_tokens: protected function prepare_emoticon_object ( $ text , $ imagename , $ altidentifier = null , $ altcomponent = 'core_pix' , $ imagecomponent = 'core' ) { return ( object ) array ( 'text' => $ text , 'imagename' => $ imagename , 'imagecomponent' => $ imagecomponent , 'altidentifier' => $ altidentifier , 'altcomponent' => $ altcomponent , ) ; }
docstring: Helper method preparing the stdClass with the emoticon properties
  
  @param string|array $text or array of strings
  @param string $imagename to be used by {@link pix_emoticon}
  @param string $altidentifier alternative string identifier, null for no alt
  @param string $altcomponent where the alternative string is defined
  @param string $imagecomponent to be used by {@link pix_emoticon}
  @return stdClass
docstring_tokens: Helper method preparing the stdClass with the emoticon properties