Open Sencillo  2015.107
Long live the simplicity of PHP
 All Data Structures Namespaces Functions Pages
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 ()
 
 jquery ()
 
 socialTags ($arr, $snippet=false)
 
 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 115 of file core_functions.php.

Member Function Documentation

bootstrapDefs ( )

Add bootstrap call

Definition at line 313 of file core_functions.php.

custom (   $code)

Add custom code to header

Parameters
string$code

Definition at line 205 of file core_functions.php.

description (   $data)

Page description with max size 159 characters

Parameters
string$data

Definition at line 166 of file core_functions.php.

encode (   $ec = 'UTF-8')

Encoding webpage

Parameters
string$ecwebpage encoding

Definition at line 135 of file core_functions.php.

generator ( )

Add page generator meta tag

Definition at line 196 of file core_functions.php.

googleLoad ( )

Add google load call

Definition at line 274 of file core_functions.php.

jquery ( )

Add jquery

Definition at line 283 of file core_functions.php.

keywords (   $kw)

Basic function for generate keywords tag

Parameters
string$kwadd keywords

Definition at line 126 of file core_functions.php.

owner (   $author)

Add page owner meta tag

Parameters
string$author

Definition at line 188 of file core_functions.php.

responsive ( )

Enabled responsive page

Definition at line 143 of file core_functions.php.

robots ( )

Add settings for Google Bot and Bing Bot

Definition at line 179 of file core_functions.php.

save ( )

Save SEO and generate header content

Returns
string

Definition at line 224 of file core_functions.php.

socialTags (   $arr,
  $snippet = false 
)

Add og-tags and social tags

Parameters
array

Definition at line 292 of file core_functions.php.

title (   $t)

Page title

Parameters
string$ttitle size max 69 characters

Definition at line 152 of file core_functions.php.


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