2017 © Pedro Peláez
 

library solo

collection of class for development single

image

wallrio/solo

collection of class for development single

  • Tuesday, September 9, 2014
  • by wallrio
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

solo

collection of class for development single, (*1)

Latest Stable Version Total Downloads License, (*2)

Author Information:

name: Wallace Rio
email: wallrio@gmail.com
site: wallrio.com, (*3)

page project: solo.wallrio.com, (*4)

Installation:

Este pacote esta disponivel via Composer., (*5)

Using:

$translation = new \WallRio\Solo\Translation();     
echo $translation->go('Text to translate');

Functions available:

  • go( Source = STRING , goSimilar = INTEGER , showSimilar = BOOLEAN , langaguePrefixFrom = STRING, langaguePrefixTo = STRING)

description: This method represents the last text parameter., (*6)

return: (string), (*7)

example:, (*8)

    $translation = new \WallRio\Solo\Translation();     
    echo $translation->go('Text to translate');     

Example outlet: 'Texto para traduzir', (*9)

  • goSimilar( Source = STRING )

description: This method displays the translations similar to a word., (*10)

return: (string), (*11)

example:, (*12)

    $translation = new \WallRio\Solo\Translation();     
    echo $translation->goSimilar('home');

Example outlet: 'casa,inicio,moradia', (*13)

  • stylefont( STYLE = STRING )

description: This method is used to format globally as the translated text., (*14)

return: (void) este método não tem retorno, (*15)

example:, (*16)

    $translation = new \WallRio\Solo\Translation();  
    $translation->stylefont('ucfirst:true;ucwords:false');
  • listLanguages()

description: This method is used to list the languages ​​available., (*17)

return: (array), (*18)

example:, (*19)

    $translation = new \WallRio\Solo\Translation();  
    $translation->listLanguages();
    var_dump($translation);
  • setLanguageTo( langaguePrefix = STRING )

description: This method is used to choose the target language of the translation., (*20)

return: (void), (*21)

example:, (*22)

    $translation = new \WallRio\Solo\Translation();  
    $translation->setLanguageTo('ptbr');        
  • setLanguageFrom( langaguePrefix = STRING )

description: This method is used to choose the source language of the translation., (*23)

return: (void), (*24)

example:, (*25)

    $translation = new \WallRio\Solo\Translation();  
    $translation->setLanguageFrom('ptbr');      
  • getLanguageNameTo()

description: This method is used to capture the name of the target language translation., (*26)

return: (string), (*27)

example:, (*28)

    $translation = new \WallRio\Solo\Translation();  
    echo $translation->getLanguageNameTo();     

The Versions

09/09 2014

dev-master

9999999-dev http://solo.wallrio.com

collection of class for development single

  Sources   Download

GPL

The Requires

  • php >=5.3

 

wallrio solo

09/09 2014

v1.0

1.0.0.0 http://solo.wallrio.com

collection of class for development single

  Sources   Download

GPL

The Requires

  • php >=5.3

 

wallrio solo