Login   Register  
PHP Classes
elePHPant
Icontem

File: dictionary.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vagharshak Tozalakyan  >  Google WAP Dictionary  >  dictionary.php  >  Download  
File: dictionary.php
Role: Example script
Content type: text/plain
Description: Sample of usage
Class: Google WAP Dictionary
Idiom translation interface for mobile devices
Author: By
Last change: misprint fixed
Date: 6 years ago
Size: 283 bytes
 

Contents

Class file image Download
<?php

$mode 
'xhtml'// output mode: wml or xhtml
$defDictionary 'en|ru'// default dictionary, see readme.txt for details

require_once 'class.GoogleWAPDictionary.php';
$dict = new GoogleWAPDictionary();
$dict->defDictionary $defDictionary;
$dict->show($mode);

?>