contenido\includes\functions.con2.php

Show: PublicProtectedPrivateinherited
    Table of Contents
    Project: Contenido Content Management System

    Description: Contenido Content Functions

    Requirements:

    Author
    Timo A. Hummel  
    Con_notice
    Please add only stuff which is relevant for the frontend AND the backend. This file should NOT contain any backend editing functions to improve frontend performance:  
    Con_php_req
    5.0  
    Copyright
    four for business AG  
    License
    http://www.contenido.org/license/LIZENZ.txt  
    Link
    http://www.4fb.de  
    Link
    http://www.contenido.org  
    Package
    Contenido Backend includes  
    Since
    file available since contenido release <= 4.6 {@internal created 2003-12-15 modified 2008-06-25, Timo Trautmann, user meta tags and system meta tags were merged, not replaced modified 2008-06-25, Frederic Schneider, add security fix modified 2008-08-29, Murat Purc, add new chain execution modified 2009-03-27, Andreas Lindner, Add title tag generation via chain modified 2009-10-29, Murat Purc, removed deprecated functions (PHP 5.3 ready) modified 2009-12-18, Murat Purc, fixed meta tag generation, see [#CON-272] modified 2009-10-27, Murat Purc, fixed/modified CEC_Hook, see [#CON-256] modified 2010-12-09, Dominik Ziegler, fixed multiple replacements of title tags [#CON-373] $Id: functions.con2.php 1243 2010-12-09 11:21:26Z dominik.ziegler $: }}  
    Version
    1.3.7  

    Functions

    functionconGenerateCode(int $idcat, int $idart, int $lang, int $client, int $layout = false) : void

    Generates the code for one article

    Parameters
    NameTypeDescription
    $idcatint

    Id of category

    $idartint

    Id of article

    $langint

    Id of language

    $clientint

    Id of client

    $layoutint

    Layout-ID of alternate Layout (if false, use associated layout)

    Details
    Author
    Jan Lengowski  
    Copyright
    four for business AG  
    functionconGenerateKeywords( $client,  $lang) : void

    (re)generate keywords for all articles of a given client (with specified language)

    Parameters
    NameTypeDescription
    $client

    Client

    $lang

    Language of a client

    Details
    Author
    Willi Man Created : 12.05.2004 Modified : 13.05.2004  
    Copyright
    four for business AG 2003  
    functionconGetAvailableMetaTagTypes() : void

    Returns all available meta tag types

    Details
    Author
    Timo A. Hummel  
    Copyright
    four for business AG 2003  
    functionconGetContentFromArticle( $article_lang) : array

    get content from article

    Parameters
    NameTypeDescription
    $article_lang

    ArticleLanguageId of an article (idartlang)

    Returns
    TypeDescription
    arrayArray with content of an article indexed by content-types
    Details
    Author
    Willi Man Created : 12.05.2004 Modified : 13.05.2004  
    Copyright
    four for business AG 2003  
    functionconGetMetaValue( $idartlang,  $idmetatype) : void

    Get the meta tag value for a specific article

    Parameters
    NameTypeDescription
    $idartlang

    ID of the article

    $idmetatype

    Metatype-ID

    Details
    Author
    Timo A. Hummel  
    Copyright
    four for business AG 2003  
    functionconSetMetaValue( $idartlang,  $idmetatype,  $value) : void

    Set the meta tag value for a specific article

    Parameters
    NameTypeDescription
    $idartlang

    ID of the article

    $idmetatype

    Metatype-ID

    $value

    Value of the meta tag

    Details
    Author
    Timo A. Hummel  
    Copyright
    four for business AG 2003  
    functiongetArtLang( $idart,  $idlang) : mixed

    Returns the idartlang for a given article and language

    Parameters
    NameTypeDescription
    $idart

    ID of the article

    $idlang

    ID of the language

    Returns
    TypeDescription
    mixedidartlang of the article or false if nothing was found
    Details
    Author
    Timo A. Hummel  
    Copyright
    four for business AG 2003  
    Documentation was generated by phpDocumentor 2.0.0a12.