PHP Classes

File: system/modules/googletranslate/info.xml

Recommend this page to a friend!
  Classes of Mihajlo Siljanoski   Xmodule   system/modules/googletranslate/info.xml   Download  
File: system/modules/googletranslate/info.xml
Role: Example script
Content type: text/plain
Description: New Version 2.6
Class: Xmodule
Modular Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 844 bytes
 

Contents

Class file image Download
<module>
    <name>Google Translate <small>(v. 2.6+)</small></name>
    <description>Google Translate Xmodule module who can use Google webpage to translate words and short sentence.</description>
    <example>
        <init>$gt=module('googletranslate');</init>
        <return>$gt will be an object with all methods of Google Translate module.</return>
        <code>
            <pre>
<?php
   
   
//init Google Translate module
   
$gt=module('googletranslate');
               
?>
</pre>
        </code>
        <code>
            <pre>
<?php
   
   
//example of usage
   
echo $gt->translate('Hello, how are you?', 'mk','en');
               
?>

            </pre>
        </code>
    </example>
</module>
<author>
    <name>Mihajlo Siljanoski</name>
    <web>http://www.phpclasses.org/package/9974.html</web>
</author>