OpenSencillo  2016.106
Long live the simplicity of PHP
 All Data Structures Namespaces Files Functions Pages
headerSeo Class Reference

Public Member Functions

 __construct ()
 
 nocache ()
 
 keywords ($kw)
 
 encode ($ec='UTF-8')
 
 responsive ()
 
 title ($t)
 
 description ($data)
 
 robots ()
 
 owner ($author)
 
 generator ()
 
 custom ($code)
 
 script ($code)
 
 css ($link)
 
 style ($link)
 
 save ()
 
 lang ($lang)
 
 googleLoad ()
 
 jquery ()
 
 socialTags ($arr, $snippet=false)
 
 bootstrapDefs ()
 

Data Fields

 $seo
 
 $info
 

Detailed Description

Definition at line 11 of file header.seo.hdrseo.php.

Constructor & Destructor Documentation

__construct ( )

Create default status for page

Definition at line 24 of file header.seo.hdrseo.php.

Member Function Documentation

bootstrapDefs ( )

Add bootstrap call

Definition at line 252 of file header.seo.hdrseo.php.

css (   $link)

Add custom link to css

Parameters
string$link

Definition at line 145 of file header.seo.hdrseo.php.

custom (   $code)

Add custom code to header

Parameters
string$code

Definition at line 126 of file header.seo.hdrseo.php.

description (   $data)

Page description with max size 159 characters

Parameters
string$data

Definition at line 87 of file header.seo.hdrseo.php.

encode (   $ec = 'UTF-8')

Encoding webpage

Parameters
string$ecwebpage encoding

Definition at line 56 of file header.seo.hdrseo.php.

generator ( )

Add page generator meta tag

Definition at line 117 of file header.seo.hdrseo.php.

googleLoad ( )

Add google load call

Definition at line 213 of file header.seo.hdrseo.php.

jquery ( )

Add jquery

Definition at line 222 of file header.seo.hdrseo.php.

keywords (   $kw)

Basic function for generate keywords tag

Parameters
string$kwadd keywords

Definition at line 47 of file header.seo.hdrseo.php.

nocache ( )

Block cache

Definition at line 34 of file header.seo.hdrseo.php.

owner (   $author)

Add page owner meta tag

Parameters
string$author

Definition at line 109 of file header.seo.hdrseo.php.

responsive ( )

Enabled responsive page

Definition at line 64 of file header.seo.hdrseo.php.

robots ( )

Add settings for Google Bot and Bing Bot

Definition at line 100 of file header.seo.hdrseo.php.

save ( )

Save SEO and generate header content

Returns
string

Definition at line 163 of file header.seo.hdrseo.php.

socialTags (   $arr,
  $snippet = false 
)

Add og-tags and social tags

Parameters
array

Definition at line 231 of file header.seo.hdrseo.php.

style (   $link)

Alternative to headerSeo::css($link)

Parameters
string$link

Definition at line 154 of file header.seo.hdrseo.php.

title (   $t)

Page title

Parameters
string$ttitle size max 69 characters

Definition at line 73 of file header.seo.hdrseo.php.


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