Open Sencillo  2015.003
Long live the simplicity of PHP
 All Data Structures Namespaces Functions
headerSeo Class Reference

Public Member Functions

 __construct ()
 
 keywords ($kw)
 
 encode ($ec='UTF-8')
 
 responsive ()
 
 title ($t)
 
 description ($data)
 
 robots ()
 
 owner ($author)
 
 generator ()
 
 custom ($code)
 
 script ($code)
 
 save ()
 
 lang ($lang)
 
 googleLoad ()
 
 bootstrapDefs ()
 

Data Fields

 $seo
 
 $info
 

Detailed Description

Definition at line 102 of file core_functions.php.

Constructor & Destructor Documentation

__construct ( )

Create default status for page

Definition at line 114 of file core_functions.php.

Member Function Documentation

bootstrapDefs ( )

Add bootstrap call

Definition at line 279 of file core_functions.php.

custom (   $code)

Add custom code to header

Parameters
string$code

Definition at line 202 of file core_functions.php.

description (   $data)

Page description with max size 159 characters

Parameters
string$data

Definition at line 164 of file core_functions.php.

encode (   $ec = 'UTF-8')

Encoding webpage

Parameters
string$ecwebpage encoding

Definition at line 134 of file core_functions.php.

generator ( )

Add page generator meta tag

Definition at line 193 of file core_functions.php.

googleLoad ( )

Add google load call

Definition at line 270 of file core_functions.php.

keywords (   $kw)

Basic function for generate keywords tag

Parameters
string$kwadd keywords

Definition at line 125 of file core_functions.php.

owner (   $author)

Add page owner meta tag

Parameters
string$author

Definition at line 185 of file core_functions.php.

responsive ( )

Enabled responsive page

Definition at line 142 of file core_functions.php.

robots ( )

Add settings for Google Bot and Bing Bot

Definition at line 176 of file core_functions.php.

save ( )

Save SEO and generate header content

Returns
string

Definition at line 221 of file core_functions.php.

title (   $t)

Page title

Parameters
string$ttitle size max 69 characters

Definition at line 151 of file core_functions.php.


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