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

Content_GenericBlogsViewer module. More...

Inheritance diagram for Content_GenericBlogsViewer:
Module Plugin

Public Member Functions

 __construct ($path_type)
 
 install ()
 
 uninstall ()
 
 is_installed ()
 
 get_contentList ()
 
 update ($version, $more='')
 
 init_admin ()
 
 init_site ($content=1, $params=array(), $mindex=null)
 
 execute_request ()
 
 init_site_panel ()
 
 init_site_item_comment_form ()
 
 init_site_item_comment_save ()
 
- Public Member Functions inherited from Module
 __construct ($name, $path_type)
 
 Module ($name, $path_type)
 
 get_help ()
 
 display_help ()
 
 set_theme ($theme)
 
 get_translation ($value, $data=array())
 
 get_adminEditionLanguage ()
 
 preInit_admin ()
 
 display_admin ()
 
 init_parent_admin ()
 
 get_adminLink ($params=array(), $module=null)
 
 get_adminJSLink ($params=array(), $module=null)
 
 display_site ()
 
 set_selectedLayout ($layout='', $location='')
 
 get_adminLayout ($layout='')
 
 get_siteLayout ()
 
 get_adminEngineGenericMenus ()
 
 get_adminEngineGenericMenuItems ()
 
 get_adminEngineSpecificMenus ()
 
 get_adminEngineSpecificMenuItems ()
 
 get_adminEngineGenericInit ()
 
 get_adminEngineGenericDisplay ()
 
 get_adminInternalNotifications ()
 
 get_adminControlPanelAction ()
 
 get_adminStatisticsValueTitles ($list, $object=null)
 
 get_adminStatisticsSpecificOptions ($object=null)
 
 get_rights ()
 
 check_right ($info)
 
 get_fileInputButtons ($buttons=array(), $delete=true)
 
 get_dateInputButtons ($update=true, $reset=true)
 
 init_generic ()
 
- 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='')
 
 add_translation ($more='', $lg=null)
 
 get_languages ()
 
 execute_onCaMykSInitialise ()
 
 execute_onCaMykSPageLoad ()
 
 execute_onCaMykSBodyOpen ()
 
 execute_onCaMykSBodyClose ()
 
 execute_onCaMykSAdminPageLoad ()
 
 execute_onCaMykSAdminBodyOpen ()
 
 execute_onCaMykSAdminBodyClose ()
 
 execute_onCaMykSTerminate ()
 
 get_requestLink ($params=array())
 
 get_requestJSLink ($params=array())
 
 get_varFile ($file)
 

Protected Member Functions

 get_listLayouts ()
 
 get_itemLayouts ()
 
 get_blogNewsContentDisplay ($content)
 
 get_blogNewsAuthorDisplay ($author, $css='')
 
 get_blogNewsTagsDisplay ($tags, $css='')
 
 get_blogNewsCommentsDisplay ($blogitem, $comments, $css='')
 
 get_singleNewsLink ($newsid)
 
 get_lastNewsList ($blogid, $count=null)
 
 build_listInternalButtonList ($page)
 
 get_genericStatusList ()
 
 get_gpcSourceList ()
 
- Protected Member Functions inherited from Module
 init_admin_accessDenied ()
 
 init_admin_pageAccessDenied ()
 
 init_admin_actionNotAllowed ()
 
 init_admin_missingPlugin ($type, $name)
 
 disable_adminEngineMenus ()
 
 add_moduleContentToPage ($pageId, $moduleIndex, $contentId)
 
 get_PHPLibs ()
 
- 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)
 

Private Member Functions

 init_admin_edit ()
 
 init_admin_save ()
 
 init_site_list ()
 
 init_site_item ()
 
 load_blogManager ()
 

Additional Inherited Members

- Public Attributes inherited from Module
 $type
 Module type, can be admin or content. More...
 
 $title
 Module title. More...
 
 $libdesc
 Module library description. More...
 
 $theme
 Theme applied to the Module. More...
 
 $languages
 Module available locale files. More...
 
 $rights = array()
 Module permissions. More...
 
 $selected_layout = ''
 Module layout to use. More...
 
 $selected_layout_location = 'module'
 Module layout location, can be module or camyks. More...
 
 $help = null
 Module help files. More...
 
 $is_editable = true
 Module has editable content. 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 Attributes inherited from Module
 $libs = array()
 Module libraries to load. More...
 
 $text = ''
 Module admin message. More...
 

Detailed Description

Content_GenericBlogsViewer module.

Plugin / Module 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.1
Date
Creation: Apr 2008
Modification: Jul 2021
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Content_GenericBlogsViewer class.

Constructor & Destructor Documentation

◆ __construct()

Content_GenericBlogsViewer::__construct (   $path_type)

Class constructor.

Parameters
string$path_type
Returns
void

Member Function Documentation

◆ install()

Content_GenericBlogsViewer::install ( )

Install module.

Returns
boolean success

Reimplemented from Plugin.

◆ uninstall()

Content_GenericBlogsViewer::uninstall ( )

Uninstall module.

Returns
boolean success

Reimplemented from Plugin.

◆ is_installed()

Content_GenericBlogsViewer::is_installed ( )

Check module installation.

Returns
boolean result

Reimplemented from Plugin.

◆ get_contentList()

Content_GenericBlogsViewer::get_contentList ( )

Return available content ids as list

Returns
array

Reimplemented from Module.

◆ update()

Content_GenericBlogsViewer::update (   $version,
  $more = '' 
)

Update module.

Returns
boolean success

Reimplemented from Plugin.

◆ init_admin()

Content_GenericBlogsViewer::init_admin ( )

Initialise module object in admin mode.

Returns
void

Reimplemented from Module.

◆ init_site()

Content_GenericBlogsViewer::init_site (   $content = 1,
  $params = array(),
  $mindex = null 
)

Initialise module object in site mode.

Parameters
int$content
array$params
int$mindex
Returns
void

Reimplemented from Module.

◆ execute_request()

Content_GenericBlogsViewer::execute_request ( )

Execute module object in request mode.

Returns
void

Reimplemented from Plugin.

◆ init_admin_edit()

Content_GenericBlogsViewer::init_admin_edit ( )
private

Initialise module in admin / edit mode.

Returns
void

◆ init_admin_save()

Content_GenericBlogsViewer::init_admin_save ( )
private

Initialise module in admin / save mode

Returns
void

◆ init_site_list()

Content_GenericBlogsViewer::init_site_list ( )
private

Initialise module in site / list mode.

Returns
void

◆ init_site_item()

Content_GenericBlogsViewer::init_site_item ( )
private

Initialise module object in site item mode.

Returns
void

◆ init_site_panel()

Content_GenericBlogsViewer::init_site_panel ( )

Initialise tool panel in site mode.

Returns
void

◆ init_site_item_comment_form()

Content_GenericBlogsViewer::init_site_item_comment_form ( )

Initialise module object in site item/comment form mode

Returns
void

◆ init_site_item_comment_save()

Content_GenericBlogsViewer::init_site_item_comment_save ( )

Initialise module object in site item/comment save mode

Returns
void

◆ get_listLayouts()

Content_GenericBlogsViewer::get_listLayouts ( )
protected

Return list layouts list.

Returns
array

◆ get_itemLayouts()

Content_GenericBlogsViewer::get_itemLayouts ( )
protected

Return item layouts list.

Returns
array

◆ load_blogManager()

Content_GenericBlogsViewer::load_blogManager ( )
private

Load blog manager module.

Returns
void

◆ get_blogNewsContentDisplay()

Content_GenericBlogsViewer::get_blogNewsContentDisplay (   $content)
protected

Return blog news content display.

Parameters
string$content
Returns
string

◆ get_blogNewsAuthorDisplay()

Content_GenericBlogsViewer::get_blogNewsAuthorDisplay (   $author,
  $css = '' 
)
protected

Return blog news author display.

Parameters
string$author
string$css
Returns
string

◆ get_blogNewsTagsDisplay()

Content_GenericBlogsViewer::get_blogNewsTagsDisplay (   $tags,
  $css = '' 
)
protected

Return blog news tag list display.

Parameters
array$tags
string$css
Returns
string

◆ get_blogNewsCommentsDisplay()

Content_GenericBlogsViewer::get_blogNewsCommentsDisplay (   $blogitem,
  $comments,
  $css = '' 
)
protected

Return blog news comments link display.

Parameters
integer$blogitem
integer$comments
string$css
Returns
string

◆ get_singleNewsLink()

Content_GenericBlogsViewer::get_singleNewsLink (   $newsid)
protected

Build site single item link.

Parameters
integer$newsid
Returns
string;

◆ get_lastNewsList()

Content_GenericBlogsViewer::get_lastNewsList (   $blogid,
  $count = null 
)
protected

Return last news from selected blog

Parameters
integer$blogid
integer$count
Returns
array

◆ build_listInternalButtonList()

Content_GenericBlogsViewer::build_listInternalButtonList (   $page)
protected

Build list internal button list.

Parameters
integer$page
Returns
void

◆ get_genericStatusList()

Content_GenericBlogsViewer::get_genericStatusList ( )
protected

Return generic status list

Returns
array

◆ get_gpcSourceList()

Content_GenericBlogsViewer::get_gpcSourceList ( )
protected

Return GPC source list

Returns
array

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