Advertisement
setiyawanarif

lg.php

Feb 25th, 2013
801
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.82 KB | None | 0 0
  1. <?php
  2. class Lg implements Remote{
  3.  
  4.  
  5.     private $tombol=0;
  6.     public $chanel = array(0=>1,"SCTV","TVONE","GLOBALTV","RCTI");
  7.    
  8.     //method
  9.     public function pindahChanel($chanel){
  10.         echo "chanel sekarang:&nbsp;". $this->chanel[$chanel]."<br />";
  11.     }
  12.     public function perbesarSuara($tombol){
  13.     echo "<b>remote lg suara diperbesar dari&nbsp;";
  14.     echo $this->tombol."&nbsp;menjadi:&nbsp";
  15.     echo $this->tombol+ $tombol."<br /></b>";
  16.     }
  17.     public function  perkecilSuara($tombol){
  18.     echo "<b>remote lg suara diperkecil dari &nbsp;";
  19.     echo $this->tombol."&nbsp;menjadi:&nbsp";
  20.     echo $this->tombol-$tombol."<br /></b>";
  21.     }
  22.     public function zoomOutGambar($tombol){
  23.     echo "tombol di ZoomOut&nbsp;";
  24.     echo $tombol."%<br />";
  25.     }
  26.     public function  zoomInGambar($tombol){
  27.     echo "tombol di ZoomIn&nbsp;";
  28.     echo $tombol."%<br />";
  29.     }
  30.  
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement