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,
        );
    }
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,
        );
    }
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 , ) ; }
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
Helper method preparing the stdClass with the emoticon properties