Open Sencillo  2014.008
 All Data Structures Files Functions Variables Pages
headerSeo Class Reference

Public Member Functions

 __construct ()
 
 keywords ($kw)
 
 encode ($ec='UTF-8')
 
 title ($t)
 
 description ($data)
 
 robots ()
 
 owner ($author)
 
 custom ($code)
 
 save ()
 

Data Fields

 $seo
 

Detailed Description

Definition at line 118 of file core_functions.php.

Constructor & Destructor Documentation

__construct ( )

Create default status for page

Definition at line 128 of file core_functions.php.

Member Function Documentation

custom (   $code)

Add custom code to header

Parameters
string$code

Definition at line 199 of file core_functions.php.

description (   $data)

Page description with max size 159 characters

Parameters
string$data

Definition at line 169 of file core_functions.php.

encode (   $ec = 'UTF-8')

Encoding webpage

Parameters
string$ecwebpage encoding

Definition at line 147 of file core_functions.php.

keywords (   $kw)

Basic function for generate keywords tag

Parameters
string$kwadd keywords

Definition at line 138 of file core_functions.php.

owner (   $author)

Add page owner and generator meta tag

Parameters
string$author

Definition at line 190 of file core_functions.php.

robots ( )

Add settings for Google Bot and Bing Bot

Definition at line 181 of file core_functions.php.

save ( )

Save SEO and generate header content

Returns
string

Definition at line 208 of file core_functions.php.

title (   $t)

Page title

Parameters
string$ttitle size max 69 characters

Definition at line 156 of file core_functions.php.

Field Documentation

$seo

Definition at line 120 of file core_functions.php.


The documentation for this class was generated from the following file: