CaMykS  1.0-20231201
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
SocialNetworksSharingPanel Class Reference

SocialNetworksSharingPanel Input.
Display social networks sharing and follow links. More...

Inheritance diagram for SocialNetworksSharingPanel:
Input Plugin

Public Member Functions

 __construct ($path_type)
 
 initialise ($params=array(), $mode='share')
 
 display ($params=array(), $mode='share')
 
 execute_onCaMykSPageLoad ()
 
 execute_onCaMykSBodyOpen ()
 
 execute_onCaMykSBodyClose ()
 
 get_networkIconURL ($network='', $mode='', $folder='')
 
 initialise_configDisplay ()
 
 display_configDisplay ()
 
 initialise_configEdition ($form)
 
 display_configEdition ()
 
 save_configuration ()
 
- Public Member Functions inherited from Input
 __construct ($name, $path_type)
 
 Input ($name, $path_type)
 
 initialise ($params=array())
 
 display ()
 
 get_translation ($value, $data=null)
 
 set_selectedLayout ($layout='')
 
- Public Member Functions inherited from Plugin
 __construct ($name, $plugin_type, $path_type)
 
 get_version ()
 
 load_library ($library='')
 
 load_file ($file='')
 
 load_varFile ($file='')
 
 load_engineFile ($file='')
 
 get_engineFileURL ($file='', $path=false)
 
 get_fileURL ($file='', $path=null, $default='')
 
 get_varFileURL ($file='', $path=false, $default='')
 
 get_filePath ($file='')
 
 get_varFilePath ($file='')
 
 add_JSFile ($file)
 
 add_JSEngineFile ($file)
 
 add_JSExternFile ($file)
 
 add_JSScript ($script, $unique=false)
 
 add_JSPreScript ($script, $unique=false)
 
 add_JSWindowEventScript ($event, $script, $unique=false)
 
 add_JSLoadScript ($script, $unique=false)
 
 add_JSUnloadScript ($script, $unique=false)
 
 add_styleFile ($file, $media='', $condition='')
 
 add_styleScript ($css)
 
 add_styleIncludedFile ($file)
 
 add_StyleExternFile ($file, $media='', $condition='')
 
 set_RSSFeed ($title, $url)
 
 add_headerExtra ($content='')
 
 install ()
 
 uninstall ()
 
 is_installed ()
 
 update ($version, $more='')
 
 add_translation ($more='', $lg=null)
 
 get_languages ()
 
 execute_onCaMykSInitialise ()
 
 execute_onCaMykSAdminPageLoad ()
 
 execute_onCaMykSAdminBodyOpen ()
 
 execute_onCaMykSAdminBodyClose ()
 
 execute_onCaMykSTerminate ()
 
 get_requestLink ($params=array())
 
 get_requestJSLink ($params=array())
 
 execute_request ()
 
 get_varFile ($file)
 

Public Attributes

 $currentIndex
 Network list current index. More...
 
- Public Attributes inherited from Input
 $title
 Input title. More...
 
 $params = array()
 Input parameters. More...
 
 $selected_layout = 'input.html.inc'
 Input layout to use. More...
 
- Public Attributes inherited from Plugin
 $name
 Plugin name. More...
 
 $version
 Plugin version. More...
 
 $active = false
 Plugin installation status. More...
 
 $plugin_package = ''
 Plugin package. More...
 
 $plugin_type
 Plugin type. More...
 
 $object_type
 Plugin type. More...
 
 $plugin_path
 Plugin path. More...
 
 $plugin_site_path
 Plugin site path (for element overwriting). More...
 
 $plugin_var_path
 Plugin var path. More...
 
 $plugin_url
 Plugin URL. More...
 
 $plugin_site_url
 Plugin site URL (for element overwriting). More...
 
 $plugin_var_url
 Plugin var URL. More...
 
 $path_type
 Plugin path type. More...
 
 $author_name
 Plugin author name. More...
 
 $author_mail
 Plugin author email. More...
 
 $author_group
 Plugin author group. More...
 
 $plugin_dependencies = array()
 Plugin dependencies. More...
 

Protected Member Functions

 get_networkHrefLink ($network)
 
 get_networkOnclickLink ($network)
 
 get_networkURL ($network, $mode)
 
- Protected Member Functions inherited from Plugin
 set_redirect ($time, $url='')
 
 add_meta ($name, $content, $method='name')
 
 add_toHtaccess ($content='')
 
 add_dependency ($plugin, $type, $version='1.0', $mandatory=false)
 
 set_dependencies ()
 
 register_asSharedObject ($name)
 
get_sharedObject ($name)
 
 register_asExtension ($plugin)
 
 get_registeredExtensions ()
 
 register_asCaMykSEventHandler ($event)
 

Protected Attributes

 $iparams = array()
 Plugin's internal parameters list. More...
 
 $dparams
 Plugin's display parameters list. More...
 

Private Member Functions

 initialise_sharePanel ($params)
 
 initialise_followPanel ($params)
 
 initialise_integratePanel ($params)
 
 display_sharePanel ($params=array())
 
 display_followPanel ($params=array())
 
 display_integratePanel ($params=array())
 
 count_displayedNetworks ()
 
 initialise_networkList ()
 
 get_configValue ($item)
 

Detailed Description

SocialNetworksSharingPanel Input.
Display social networks sharing and follow links.

Plugin / Input Engine

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Version
1.0.4
Date
Creation: Nov 2009
Modification: Sep 2022
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SocialNetworksSharingPanel Input class.

Constructor & Destructor Documentation

◆ __construct()

SocialNetworksSharingPanel::__construct (   $path_type)

Class constructor.

Parameters
string$path_type
Returns
void

Member Function Documentation

◆ initialise()

SocialNetworksSharingPanel::initialise (   $params = array(),
  $mode = 'share' 
)

Initialise input.

Parameters
array$params
string$mode
Returns
void

◆ display()

SocialNetworksSharingPanel::display (   $params = array(),
  $mode = 'share' 
)

Display input.

Parameters
array$params
string$mode
Returns
void

◆ execute_onCaMykSPageLoad()

SocialNetworksSharingPanel::execute_onCaMykSPageLoad ( )

Execute handler on body closing.

Returns
void

Reimplemented from Plugin.

◆ execute_onCaMykSBodyOpen()

SocialNetworksSharingPanel::execute_onCaMykSBodyOpen ( )

Execute handler on body opening.

Returns
string

Reimplemented from Plugin.

◆ execute_onCaMykSBodyClose()

SocialNetworksSharingPanel::execute_onCaMykSBodyClose ( )

Execute handler on body closing.

Returns
string

Reimplemented from Plugin.

◆ initialise_sharePanel()

SocialNetworksSharingPanel::initialise_sharePanel (   $params)
private

Initialise input in share mode.

Parameters
array$params
Returns
void

◆ initialise_followPanel()

SocialNetworksSharingPanel::initialise_followPanel (   $params)
private

Initialise input in follow mode.

Parameters
array$params
Returns
void

◆ initialise_integratePanel()

SocialNetworksSharingPanel::initialise_integratePanel (   $params)
private

Initialise input in follow mode

Parameters
array$params
Returns
void

◆ display_sharePanel()

SocialNetworksSharingPanel::display_sharePanel (   $params = array())
private

Display input in share mode.

Parameters
array$params
Returns
void

◆ display_followPanel()

SocialNetworksSharingPanel::display_followPanel (   $params = array())
private

Display input in share mode.

Parameters
array$params
Returns
void

◆ display_integratePanel()

SocialNetworksSharingPanel::display_integratePanel (   $params = array())
private

Display input in integrate mode.

Parameters
array$params
Returns
void

◆ get_networkHrefLink()

SocialNetworksSharingPanel::get_networkHrefLink (   $network)
protected

Return given network href link.

Parameters
string$network
Returns
string

◆ get_networkOnclickLink()

SocialNetworksSharingPanel::get_networkOnclickLink (   $network)
protected

Return given network href link.

Parameters
string$network
Returns
string

◆ get_networkURL()

SocialNetworksSharingPanel::get_networkURL (   $network,
  $mode 
)
protected

Return given network URL.

Parameters
string$network
string$mode
Returns
string

◆ get_networkIconURL()

SocialNetworksSharingPanel::get_networkIconURL (   $network = '',
  $mode = '',
  $folder = '' 
)

Return given network icon url.

Parameters
string$network
string$mode
string$folder
Returns
string

◆ count_displayedNetworks()

SocialNetworksSharingPanel::count_displayedNetworks ( )
private

Count enabled networks.

Returns
void

◆ initialise_networkList()

SocialNetworksSharingPanel::initialise_networkList ( )
private

Initialise network list

Returns
void

◆ get_configValue()

SocialNetworksSharingPanel::get_configValue (   $item)
private

Return configuration value

Parameters
string$item
Returns
mixed

◆ initialise_configDisplay()

SocialNetworksSharingPanel::initialise_configDisplay ( )

Initialise object in Admin_Site / view configuration mode.

Returns
void

◆ display_configDisplay()

SocialNetworksSharingPanel::display_configDisplay ( )

Display object in Admin_Site / view configuration mode.

Returns
void

◆ initialise_configEdition()

SocialNetworksSharingPanel::initialise_configEdition (   $form)

Initialise object in Admin_Site / edit configuration mode.

Parameters
Object$form
Returns
void

◆ display_configEdition()

SocialNetworksSharingPanel::display_configEdition ( )

Display object in Admin_Site / edit configuration mode.

Returns
void

◆ save_configuration()

SocialNetworksSharingPanel::save_configuration ( )

Execute object in Admin_Site / save configuration mode.

Returns
void

Member Data Documentation

◆ $iparams

SocialNetworksSharingPanel::$iparams = array()
protected

Plugin's internal parameters list.

var array $iparams

◆ $dparams

SocialNetworksSharingPanel::$dparams
protected

Plugin's display parameters list.

var array $dparams

◆ $currentIndex

SocialNetworksSharingPanel::$currentIndex

Network list current index.

var integer $currentIndex


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