contenido\plugins\chains\includes\include.chain.content.createmetatags.php
Project:
Contenido Content Management System
Description: Generate metatags for current article if they are not set in article properties
Requirements:
- Author
- Andreas Lindner, Unknown
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- {@internal created 2007-10-24 modified 2008-07-04, bilal arslan, added security fix modified 2009-10-08, Murat Purc, bugfix in function CheckIfMetaTagExists(), see [#CON-271] modified 2009-12-18, Murat Purc, fixed meta tag generation, see [#CON-272] $Id: include.chain.content.createmetatags.php 1102 2009-12-17 23:22:20Z xmurrix $: }}
- Package
- Contenido Backend classes
- Version
- 1.0
Functions

CheckIfMetaTagExists(array | mixed $arrMetatags, string $sCheckForMetaTag) : int
Checks if the metatag allready exists inside the metatag list.
Parameters
Returns
Name | Type | Description |
---|---|---|
$arrMetatags | array | mixed | List of metatags or not a list |
$sCheckForMetaTag | string | The metatag to check |
Type | Description |
---|---|
int | Position of metatag inside the metatag list or the next available position |