<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://www.wiki.phpwcms.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.wiki.phpwcms.org/feed.php">
        <title>phpwcms-HowTo:wiki english:technics:internal-function-call</title>
        <description></description>
        <link>https://www.wiki.phpwcms.org/</link>
        <image rdf:resource="https://www.wiki.phpwcms.org/lib/images/favicon.ico" />
       <dc:date>2026-04-06T00:58:18+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/category-bottom-top?rev=1528042144&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/category-top-down?rev=1243161947&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/content-part-types?rev=1243161859&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/db_query_using_function_dbquery?rev=1528042144&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/image-call?rev=1243161902&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/script-into-head-area?rev=1243161933&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/xml-language?rev=1243161918&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.wiki.phpwcms.org/lib/images/favicon.ico">
        <title>phpwcms-HowTo:wiki</title>
        <link>https://www.wiki.phpwcms.org/</link>
        <url>https://www.wiki.phpwcms.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/category-bottom-top?rev=1528042144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:04+02:00</dc:date>
        <title>Structure Bottom-Top Output</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/category-bottom-top?rev=1528042144&amp;do=diff</link>
        <description>A snippet catching all available cat-ids between the specified level to the specified parent level.

In other words: Is the current category a part of the subcategories of the given parent category?


	*  Input: Actual category-ID ($start), parent category-ID ($top &gt; 0)
	*  Return: 
		*  on success: String separated by commas with all the IDs of the searched tree structure
		*  on failure: Empty string = ''
&lt;span class=&quot;important&quot;&gt;$s = buildStruct_BottomTop(7, 2);&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;$…</description>
    </item>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/category-top-down?rev=1243161947&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-24T12:45:47+02:00</dc:date>
        <title>Structure Top-Down Output</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/category-top-down?rev=1243161947&amp;do=diff</link>
        <description>A snippet catching all available cat-ids behind the given parent id.


	*  Input: Parent category ID
	*  Output: All available category IDs behind the given id in a string comma separated (Without hidden categories).




Version 1.0  Don´t use it anymore!!
&lt;span class=&quot;important&quot;&gt;$s = buildStruct_TopDown(2);&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;$s&lt;/span&gt;</description>
    </item>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/content-part-types?rev=1243161859&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-24T12:44:19+02:00</dc:date>
        <title>Content part Types</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/content-part-types?rev=1243161859&amp;do=diff</link>
        <description>Content part Types


List of up to now (v1.4.0 r_264) available content types.


To influence the order in the selection display in the BE, the file “include/inc_lib/article.contenttype.inc.php” can be edited (change order of CPs).

Unsorted list

// Content Part Types
// DO NOT define 30 = used for modules
$wcs_content_type = array(
     0 =&gt; $BL['be_ctype_plaintext'] ,
     6 =&gt; $BL['be_ctype_html'],
    14 =&gt; $BL['be_ctype_wysywig'],
    11 =&gt; $BL['be_ctype_code'],
     1 =&gt; $BL['be_ctype_tex…</description>
    </item>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/db_query_using_function_dbquery?rev=1528042144&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-06-03T18:09:04+02:00</dc:date>
        <title>DB query using the funct. &quot;_dbQuery&quot;</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/db_query_using_function_dbquery?rev=1528042144&amp;do=diff</link>
        <description>FIXME Better TRANSLATE

Here's a small example of how the built-in function _dbQuery   may be used in a script. 

function _dbQuery($query='', $_queryMode='ASSOC') { ....... } 




$_queryMode:


	*  INSERT, DELETE, UPDATE 
	*  ON_DUPLICATE (INSERT ... ON DUPLICATE KEY)
	*  ROW, ARRAY   (SELECT Queries)   
	*  COUNT        (Count)
	*  COUNT_SHOW   (send SHOW query and count results)
	*  ASSOC        (default)
&lt;span class=&quot;important&quot;&gt; &lt;/span&gt;</description>
    </item>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/image-call?rev=1243161902&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-24T12:45:02+02:00</dc:date>
        <title>Image call tag cmsimage.php</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/image-call?rev=1243161902&amp;do=diff</link>
        <description>Image call tag cmsimage.php


There is a uninversal methode by tag to display every picture with desired item and issue format. 

For this the file img/cmsimage.php is used with a parameter set like WIDTHxHEIGHTxCROPxQUALITY/image-file-id.ext

 Long description:  img/cmsimage.php/WIDTHxHEIGHTxCROPxQUALITY/image-file-id.ext
 Short description: img/cmsimage.php/WxHxCxQ/image-file-id.ext
 Example-1:         img/cmsimage.php/100x100x1x90/1.jpg#
 Example-2:         img/cmsimage.php/100x150x0/1.jpg

E…</description>
    </item>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/script-into-head-area?rev=1243161933&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-24T12:45:33+02:00</dc:date>
        <title>Script into  area</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/script-into-head-area?rev=1243161933&amp;do=diff</link>
        <description>Template's &lt;head&gt; area


Forum: &lt;http://forum.phpwcms.org/viewtopic.php?p=101300#p101300&gt; (OG)

Put Mootools or any other JavaScript that might be called also from inside phpwcms into your template's head area.

Always use a frontend_render script that looks like this - the script filename (here: $block['custom_htmlhead']['...script...']) is always used as array index:&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span class=&quot;important&quot;&gt;&lt;/span&gt;&lt;span…</description>
    </item>
    <item rdf:about="https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/xml-language?rev=1243161918&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-24T12:45:18+02:00</dc:date>
        <title>xml:lang=YOUR LANG de en ...</title>
        <link>https://www.wiki.phpwcms.org/doku.php/english/technics/internal-function-call/xml-language?rev=1243161918&amp;do=diff</link>
        <description>Forum: &lt;http://forum.phpwcms.org/viewtopic.php?p=112333#p112333&gt;

Author: Jensensen

----------

You probably noticed that --&gt; config


$phpwcms['default_lang']      = 'ABC';  //default language

is responsible for the xml:lang source code of the page, like for example:</description>
    </item>
</rdf:RDF>
