[ Index ]
 

Code source de Serendipity 1.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/include/admin/ -> import.inc.php (sommaire)

(pas de description)

Poids: 269 lignes (8 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

Serendipity_Import:: (7 méthodes):
  getImportNotes()
  getCharsets()
  decode()
  strtr()
  strtrRecursive()
  getTransTable()
  nativeQuery()


Classe: Serendipity_Import  - X-Ref

getImportNotes()   X-Ref
Return textual notes of an importer plugin

If an importer plugin needs to show any notes on the userinterface, those can be returned in this method.

return: string  HTML-code of a interface/user hint

getCharsets($utf8_default = true)   X-Ref
Get a list of available charsets the user can choose from. Depends on current language of the blog.

param: boolean   If set to true, returns the option "UTF-8" as first select choice, which is then preselected. If false, the current language of the blog will be the default.
return: array     Array of available charsets to choose from

decode($string)   X-Ref
Decodes/Transcodes a string according to the selected charset, and the charset of the blog

param: string   input string to convert
return: string   converted string

strtr($data)   X-Ref
Decode/Transcode a string with the indicated translation table (member property). Useful for transcoding HTML entities to native characters.

param: string   input string
return: string   output string

strtrRecursive($data)   X-Ref
Decode/Transcode an array of strings.

LONG

param: array   input array
return: array   output array

getTransTable()   X-Ref
Get the transcoding table, depending on whether it was enabled for the instance of the importer plugin

The member property $this->trans_table will be filled with the output of this function

return: null

nativeQuery($query, $db = false)   X-Ref
Execute a DB query on the source database of the import, instead of a DB query on the target database

param: string       SQL Query
param: ressource    DB connection resource
return: ressource    SQL response



Généré le : Sat Nov 24 09:00:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics