CaMykS  1.0-20231201
Public Member Functions | Public Attributes | List of all members
MLFileLocalizedItem Class Reference
Inheritance diagram for MLFileLocalizedItem:
MLFileItem ModuleLibraryItem

Public Member Functions

 __construct ($name, $folder, $path, $url)
 
 initialise ()
 
 get ($_libObjId, $language=null)
 
 save ($_libObjId)
 
 delete ($_libObjId, $language=null)
 
 get_fromHeader ($prefix='')
 
 get_exportedValue ()
 
 get_uploadedFileName ($language=false)
 
 get_uploadedTempName ($language=false)
 
- Public Member Functions inherited from MLFileItem
 get ($_libObjId)
 
 delete ($_libObjId)
 
 reset ()
 
 install ()
 
 uninstall ()
 
 exists ($path, $filebase)
 
 get_uploadedFileName ()
 
 get_temporaryFileName ()
 
 get_folder ($_libObjId=0)
 
- Public Member Functions inherited from ModuleLibraryItem
 get_fromArray ($data)
 
 get_valueFromHeader ($name)
 
 get_dateFromHeader ($name)
 
 parse_PHPTags ($value)
 

Public Attributes

 $value = array()
 Item current values. More...
 
 $upload = array()
 Are files in upload process. More...
 
 $uploadedFileName = array()
 Files original name. More...
 
 $uploadedTempName = array()
 Files temporary name. More...
 
 $delete = array()
 Are files in delete process. More...
 
- Public Attributes inherited from MLFileItem
 $folder
 Folder repository for files. More...
 
 $path
 Folder path for files. More...
 
 $url
 Folder url for files. More...
 
 $upload = false
 Is file in upload process. More...
 
 $uploadedFileName = ''
 File original name. More...
 
 $uploadedTempName = ''
 File temporary name. More...
 
 $delete = false
 Is file in delete process. More...
 
- Public Attributes inherited from ModuleLibraryItem
 $name
 Item name. More...
 
 $default
 Item default value. More...
 
 $value
 Item current value. More...
 
 $type
 Item type. More...
 
 $datadesc
 Item data description. More...
 
 $datadesc2
 Item data description. More...
 

Additional Inherited Members

- Protected Member Functions inherited from MLFileItem
 update_orientation ($picture='')
 
- Protected Member Functions inherited from ModuleLibraryItem
 compile_listValue ($value)
 
 uncompile_listValue ($value)
 

Detailed Description

MLFileItem class.

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Constructor & Destructor Documentation

◆ __construct()

MLFileLocalizedItem::__construct (   $name,
  $folder,
  $path,
  $url 
)

Class constructor.

Parameters
string$name
string$folder
string$path
string$url
Returns
void

Reimplemented from MLFileItem.

Member Function Documentation

◆ initialise()

MLFileLocalizedItem::initialise ( )

Initialise object with empty values.

Returns
void

Reimplemented from MLFileItem.

◆ get()

MLFileLocalizedItem::get (   $_libObjId,
  $language = null 
)

Load object value.

Parameters
integer$_libObjIdthe parent object id
string$languagethe language to get
Returns
boolean

◆ save()

MLFileLocalizedItem::save (   $_libObjId)

Save files.

Parameters
integer$_libObjIdthe parent object id
Returns
void

Reimplemented from MLFileItem.

◆ delete()

MLFileLocalizedItem::delete (   $_libObjId,
  $language = null 
)

Delete files.

Parameters
integer$_libObjIdthe parent object id
string$languagethe language
Returns
boolean

◆ get_fromHeader()

MLFileLocalizedItem::get_fromHeader (   $prefix = '')

Load object value from header.

Parameters
string$prefix
Returns
void

Reimplemented from MLFileItem.

◆ get_exportedValue()

MLFileLocalizedItem::get_exportedValue ( )

Return values as structured array.

Returns
array

Reimplemented from MLFileItem.

◆ get_uploadedFileName()

MLFileLocalizedItem::get_uploadedFileName (   $language = false)

Return real file name while uploading it.

Parameters
mixed$language
Returns
string

◆ get_uploadedTempName()

MLFileLocalizedItem::get_uploadedTempName (   $language = false)

Return temporary file name while uploading it.

Parameters
mixed$language
Returns
string

Member Data Documentation

◆ $value

array MLFileLocalizedItem::$value = array()

Item current values.

◆ $upload

array MLFileLocalizedItem::$upload = array()

Are files in upload process.

◆ $uploadedFileName

array MLFileLocalizedItem::$uploadedFileName = array()

Files original name.

◆ $uploadedTempName

array MLFileLocalizedItem::$uploadedTempName = array()

Files temporary name.

◆ $delete

array MLFileLocalizedItem::$delete = array()

Are files in delete process.


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