Skip to content

mod_system_Adsense

Raimondas Rimkevičius edited this page Mar 9, 2020 · 1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!

mod_system_Adsense

AdSense object - Google AdSense

  • Class name: mod_system_Adsense
  • Namespace:
  • Parent class: icms_ipf_Object

Properties

$content

public mixed $content = \false
  • Visibility: public

adsenseid

public int adsenseid

Adsense ID

  • Visibility: public

description

public string description

Description

  • Visibility: public

client_id

public string client_id

Client ID

  • Visibility: public

slot

public string slot

Slot

  • Visibility: public

tag

public string tag

Tag

  • Visibility: public

format

public string format

Format

  • Visibility: public

color_border

public string color_border

Border color

  • Visibility: public

color_background

public string color_background

Background color

  • Visibility: public

color_link

public string color_link

Link color

  • Visibility: public

color_url

public string color_url

URL color

  • Visibility: public

color_text

public string color_text

Text color

  • Visibility: public

style

public string style

Styles

  • Visibility: public

Methods

__construct

mixed mod_system_Adsense::__construct(object handler)

Constructor

  • Visibility: public

Arguments

  • handler object

getVar

mixed mod_system_Adsense::getVar(mixed key, mixed format)

Override accessor for several properties

  • Visibility: public

Arguments

  • key mixed
  • format mixed

color_border

string mod_system_Adsense::color_border()

Custom accessor for the color_border property

  • Visibility: public

color_background

string mod_system_Adsense::color_background()

Custom accessor for the color_background property

  • Visibility: public

color_link

string mod_system_Adsense::color_link()

Custom accessor for the color_link property

  • Visibility: public

color_url

string mod_system_Adsense::color_url()

Custom accessor for the color_url property

  • Visibility: public

color_text

string mod_system_Adsense::color_text()

Custom accessor for the color_text property

  • Visibility: public

render

string mod_system_Adsense::render()

Generate the script to insert the AdSense units in the theme

  • Visibility: public

getXoopsCode

string mod_system_Adsense::getXoopsCode()

Generate the custom tag string for an AdSense unit

  • Visibility: public

getCloneLink

string mod_system_Adsense::getCloneLink()

Generate the link HTML to clone a unit

  • Visibility: public

emptyString

bool mod_system_Adsense::emptyString(string var)

Determine if a string is empty

  • Visibility: public

Arguments

  • var string

generateTag

string mod_system_Adsense::generateTag()

Generate a unique tag for an AdSense unit

  • Visibility: public
Clone this wiki locally