Wallogit.com
2017 © Pedro Pelรกez
Simple class to determine the output emoticon

Sebuah Library Php Untuk mengeluarkan sistem emoticon terdapat 25 emoticon, masih dalam tahap beta (uji coba)
Terinspirasi dari Parsedown PHP,
Create By : Dion Arya Pamungkas
http://dionarya6661.github.io
@DionArya_P on twitter
, (*1)
Silahkan Letakan Dap_emot.php di folder yang dibutuhkan lalu :, (*2)
$Dap_emot = new Dap_emot();
echo $Dap_emot->emot('Tulisan Terdapat Emoticons :D :( :)');
Ouput -> Tulisan Terdapat Emoticons ๐ ๐ ๐
Dap_emot juga bisa dijadikan sebagai library framework php codeigneterbr/ Caranya: br/ * Pertama silahkan download terlebih dahulu dap_emot.php * Kedua taruh dalam folder application/library * Dan yang terakhir panggil library tersebut kedalam sebuah controller, (*3)
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
public function __construct(){
parent::__construct();
$this->load->library('dap_emot');
}
//Untuk Output
echo $this->dap_emot->emot('Tulisan Terdapat Emoticons :D :( :)');
//atau
$text = 'Tulisan Terdapat Emoticons :D :( :)';
$textBaru = $this->dap_emot->emot($text);
echo $textBaru;
Ouput -> Tulisan Terdapat Emoticons ๐ ๐ ๐
, (*4)
| Kode | Nama | Hasil |
|---|---|---|
| :) | happy | ๐ |
| :( | sad | ๐ |
| :P | tongue | ๐ |
| :D | grin | ๐ |
| :O | wink | ๐ฎ |
| ;) | kedip mata | ๐ |
| B) | glasses | ๐ |
| B| | subglasses | ๐ |
| >:( | grumpy | ๐ก |
| :/ | unsure | ๐ |
| :'( | cry | ๐ข |
| #:) | devil | ๐ |
| O:) | angel | ๐ |
| :* | kiss | ๐ |
| <3 | heart | ๐ |
| ^_^ | kiki | ๐ |
| -_- | squint | ๐ |
| o.O | confused | ๐ |
| >:O | upset | ๐ฃ |
| :v | yimyam | ![]() |
| :3 | curly lips | ๐ |
| :|] | robot | ๐พ |
| (y) | like | ๐ |
| :tai | poop | ๐ฉ |
| (;) | dislike | ๐ |