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

Admin_GenericMediaLibraryManager Module
Manages media libraries. More...

Inheritance diagram for Admin_GenericMediaLibraryManager:
Module Plugin

Public Member Functions

 __construct ($path_type)
 
 install ()
 
 uninstall ()
 
 is_installed ()
 
 get_rights ()
 
 init_admin ()
 
 execute_request ()
 
 init_admin_edit_config ()
 
 init_admin_moveDown_picture ()
 
 get_configValue ($item)
 
 get_pictureGalleryStatusList ()
 
 get_pictureGalleriesStatusList ($full=false)
 
 get_pictureGalleriesTitleList ($params=array())
 
 get_pictureGalleryStatusIconList ()
 
 get_pictureGalleryList ($params=array())
 
 count_pictureGalleries ($params=array())
 
 get_pictureStatusList ()
 
 get_picturesStatusList ($full=false)
 
 get_pictureList ($params=array())
 
 count_pictures ($params=array())
 
 get_firstPicturesList ($params=array())
 
- 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 ()
 
 get_contentList ()
 
 preInit_admin ()
 
 display_admin ()
 
 init_parent_admin ()
 
 get_adminLink ($params=array(), $module=null)
 
 get_adminJSLink ($params=array(), $module=null)
 
 init_site ($content=1, $params=array(), $index=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)
 
 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='')
 
 update ($version, $more='')
 
 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)
 

Public Attributes

 $pictureItem
 Picture object. More...
 
 $pictureList = null
 Picture list. More...
 
 $pictureGalleryItem
 Picture gallery object. More...
 
 $pictureGalleryList = null
 Picture gallery list. More...
 
- 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 Member Functions

 get_configResizeModeList ()
 
 get_configFileTypeList ()
 
- 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)
 

Protected Attributes

 $config
 Plugin configuration. More...
 
- Protected Attributes inherited from Module
 $libs = array()
 Module libraries to load. More...
 
 $text = ''
 Module admin message. More...
 

Private Member Functions

 init_admin_main ()
 
 init_admin_save_config ()
 
 init_admin_view_pictureGallery ()
 
 init_admin_edit_pictureGallery ()
 
 init_admin_save_pictureGallery ()
 
 init_admin_delete_pictureGallery ()
 
 init_admin_edit_picture ()
 
 init_admin_save_picture ()
 
 init_admin_delete_picture ()
 
 init_admin_moveUp_picture ()
 
 execute_request_optimisePictureImage ()
 
 execute_request_optimisePictureThumb ()
 

Detailed Description

Admin_GenericMediaLibraryManager Module
Manages media libraries.

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.2
Date
Creation: Jun 2015
Modification: Feb 2021
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Admin_GenericMediaLibraryManager class.

Constructor & Destructor Documentation

◆ __construct()

Admin_GenericMediaLibraryManager::__construct (   $path_type)

Class constructor.

Parameters
string$path_type
Returns
void

Member Function Documentation

◆ install()

Admin_GenericMediaLibraryManager::install ( )

Install module.

Returns
boolean success

Reimplemented from Plugin.

◆ uninstall()

Admin_GenericMediaLibraryManager::uninstall ( )

Unintall module.

Returns
boolean success

Reimplemented from Plugin.

◆ is_installed()

Admin_GenericMediaLibraryManager::is_installed ( )

Check module installation.

Returns
boolean result

Reimplemented from Plugin.

◆ get_rights()

Admin_GenericMediaLibraryManager::get_rights ( )

Define module permissions.

Returns
void

Reimplemented from Module.

◆ init_admin()

Admin_GenericMediaLibraryManager::init_admin ( )

Initialise module object in admin mode

Returns
void

Reimplemented from Module.

◆ execute_request()

Admin_GenericMediaLibraryManager::execute_request ( )

Execute module object in request mode.

Returns
void

Reimplemented from Plugin.

◆ init_admin_main()

Admin_GenericMediaLibraryManager::init_admin_main ( )
private

Initialise module object in admin/main mode.

Returns
void

◆ init_admin_edit_config()

Admin_GenericMediaLibraryManager::init_admin_edit_config ( )

Initialise module object in admin/edit_config mode.

Returns
void

◆ init_admin_save_config()

Admin_GenericMediaLibraryManager::init_admin_save_config ( )
private

Initialise module object in admin/save_config mode.

Returns
void

◆ init_admin_view_pictureGallery()

Admin_GenericMediaLibraryManager::init_admin_view_pictureGallery ( )
private

Initialise module object in admin/view_pictureGallery mode

Returns
void

◆ init_admin_edit_pictureGallery()

Admin_GenericMediaLibraryManager::init_admin_edit_pictureGallery ( )
private

Initialise module object in admin/edit_pictureGallery mode.

Returns
void

◆ init_admin_save_pictureGallery()

Admin_GenericMediaLibraryManager::init_admin_save_pictureGallery ( )
private

Initialise module object in admin/save_pictureGallery mode.

Returns
void

◆ init_admin_delete_pictureGallery()

Admin_GenericMediaLibraryManager::init_admin_delete_pictureGallery ( )
private

Initialise module object in admin/delete_pictureGallery mode.

Returns
void

◆ init_admin_edit_picture()

Admin_GenericMediaLibraryManager::init_admin_edit_picture ( )
private

Initialise module object in admin/edit_picture mode.

Returns
void

◆ init_admin_save_picture()

Admin_GenericMediaLibraryManager::init_admin_save_picture ( )
private

Initialise module object in admin/save_picture mode.

Returns
void

◆ init_admin_delete_picture()

Admin_GenericMediaLibraryManager::init_admin_delete_picture ( )
private

Initialise module object in admin/delete_picture mode

Returns
void

◆ init_admin_moveUp_picture()

Admin_GenericMediaLibraryManager::init_admin_moveUp_picture ( )
private

Initialise module object in admin/moveUp_picture mode.

Returns
void

◆ init_admin_moveDown_picture()

Admin_GenericMediaLibraryManager::init_admin_moveDown_picture ( )

Initialise module object in admin/moveDown_picture mode.

Returns
void

◆ execute_request_optimisePictureImage()

Admin_GenericMediaLibraryManager::execute_request_optimisePictureImage ( )
private

Execute module object in picture picture optimisation mode.

Returns
void

◆ execute_request_optimisePictureThumb()

Admin_GenericMediaLibraryManager::execute_request_optimisePictureThumb ( )
private

Execute module object in picture thumb optimisation mode.

Returns
void

◆ get_configValue()

Admin_GenericMediaLibraryManager::get_configValue (   $item)

Return given config item value.

Parameters
string$item
Returns
mixed

◆ get_configResizeModeList()

Admin_GenericMediaLibraryManager::get_configResizeModeList ( )
protected

Return config resize mode list.

Returns
array

◆ get_configFileTypeList()

Admin_GenericMediaLibraryManager::get_configFileTypeList ( )
protected

Return config resize mode list.

Returns
array

◆ get_pictureGalleryStatusList()

Admin_GenericMediaLibraryManager::get_pictureGalleryStatusList ( )

Return picture gallery status list.

Returns
array

◆ get_pictureGalleriesStatusList()

Admin_GenericMediaLibraryManager::get_pictureGalleriesStatusList (   $full = false)

Return picture galleries status list.

Parameters
boolean$full
Returns
array

◆ get_pictureGalleriesTitleList()

Admin_GenericMediaLibraryManager::get_pictureGalleriesTitleList (   $params = array())

Return picture galleries title list.

Parameters
array$params
Returns
array

◆ get_pictureGalleryStatusIconList()

Admin_GenericMediaLibraryManager::get_pictureGalleryStatusIconList ( )

Return picture gallery status icon list.

Returns
array

◆ get_pictureGalleryList()

Admin_GenericMediaLibraryManager::get_pictureGalleryList (   $params = array())

Return picture gallery list.

Parameters
array$params
Returns
array

◆ count_pictureGalleries()

Admin_GenericMediaLibraryManager::count_pictureGalleries (   $params = array())

Return picture gallery count.

Parameters
array$params
Returns
array

◆ get_pictureStatusList()

Admin_GenericMediaLibraryManager::get_pictureStatusList ( )

Return picture status list.

Returns
array

◆ get_picturesStatusList()

Admin_GenericMediaLibraryManager::get_picturesStatusList (   $full = false)

Return pictures status list.

Parameters
boolean$full
Returns
array

◆ get_pictureList()

Admin_GenericMediaLibraryManager::get_pictureList (   $params = array())

Return picture list.

Parameters
array$params
Returns
array

◆ count_pictures()

Admin_GenericMediaLibraryManager::count_pictures (   $params = array())

Return picture count.

Parameters
array$params
Returns
array

◆ get_firstPicturesList()

Admin_GenericMediaLibraryManager::get_firstPicturesList (   $params = array())

Return first picture list.

Parameters
array$params
Returns
array

Member Data Documentation

◆ $pictureItem

Admin_GenericMediaLibraryManager::$pictureItem

Picture object.

var Object $pictureItem

◆ $pictureList

Admin_GenericMediaLibraryManager::$pictureList = null

Picture list.

var array $pictureList

◆ $pictureGalleryItem

Admin_GenericMediaLibraryManager::$pictureGalleryItem

Picture gallery object.

var Object $pictureGalleryItem

◆ $pictureGalleryList

Admin_GenericMediaLibraryManager::$pictureGalleryList = null

Picture gallery list.

var array $pictureGalleryList

◆ $config

Admin_GenericMediaLibraryManager::$config
protected

Plugin configuration.

var Object $config


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