Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Filemanager

Source Location: /public_html/filemanager/connectors/php/filemanager.class.php

Class Overview


Filemanager PHP class


Author(s):

Copyright:

  • Authors

Variables

Methods



Class Details

[line 14]
Filemanager PHP class

filemanager.class.php class for the filemanager.php connector




Tags:

author:  Riaan Los <(at) riaanlos (dot) nl mail (at) riaanlos (dot) nl>
author:  Simon Georget <(at) linea21 (dot) com simon (at) linea21 (dot) com>
copyright:  Authors
license:  MIT


[ Top ]


Class Variables

$allowed_actions = array()

[line 23]



Tags:

access:  protected

Type:   mixed


[ Top ]

$cachefolder =  '_thumbs/'

[line 30]



Tags:

access:  protected

Type:   mixed


[ Top ]

$config = array()

[line 16]



Tags:

access:  protected

Type:   mixed


[ Top ]

$doc_root =  ''

[line 25]



Tags:

access:  protected

Type:   mixed


[ Top ]

$dynamic_fileroot =  ''

[line 26]



Tags:

access:  protected

Type:   mixed


[ Top ]

$get = array()

[line 18]



Tags:

access:  protected

Type:   mixed


[ Top ]

$item = array()

[line 21]



Tags:

access:  protected

Type:   mixed


[ Top ]

$language = array()

[line 17]



Tags:

access:  protected

Type:   mixed


[ Top ]

$languages = array()

[line 22]



Tags:

access:  protected

Type:   mixed


[ Top ]

$logfile =  ''

[line 29]



Tags:

access:  protected

Type:   mixed


[ Top ]

$logger =  false

[line 28]



Tags:

access:  protected

Type:   mixed


[ Top ]

$path_to_files =  ''

[line 27]



Tags:

access:  protected

Type:   mixed


[ Top ]

$post = array()

[line 19]



Tags:

access:  protected

Type:   mixed


[ Top ]

$properties = array()

[line 20]



Tags:

access:  protected

Type:   mixed


[ Top ]

$root =  ''

[line 24]



Tags:

access:  protected

Type:   mixed


[ Top ]

$separator =  'userfiles'

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$thumbnail_height =  64

[line 32]



Tags:

access:  protected

Type:   mixed


[ Top ]

$thumbnail_width =  64

[line 31]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 35]

Filemanager __construct( [ $extraConfig = ''])



Tags:

access:  public


Parameters:

   $extraConfig  

[ Top ]

method add [line 686]

void add( )



Tags:

access:  public


[ Top ]

method addfolder [line 769]

void addfolder( )



Tags:

access:  public


[ Top ]

method delete [line 529]

void delete( )



Tags:

access:  public


[ Top ]

method disableLog [line 1473]

void disableLog( )



Tags:

access:  public


[ Top ]

method download [line 850]

void download( )



Tags:

access:  public


[ Top ]

method editfile [line 319]

void editfile( )



Tags:

access:  public


[ Top ]

method enableLog [line 1461]

void enableLog( [ $logfile = ''])



Tags:

access:  public


Parameters:

   $logfile  

[ Top ]

method error [line 146]

void error( $string, [ $textarea = false])



Tags:

access:  public


Parameters:

   $string  
   $textarea  

[ Top ]

method expandPath [line 1487]

string expandPath( string $path, [bool $clean = false])

Remove "../" from path



Tags:

return:  or false in case of error (as exception are not used here)
access:  public


Parameters:

string   $path   path to be converted
bool   $clean   if dir names should be cleaned

[ Top ]

method getfolder [line 223]

void getfolder( )



Tags:

access:  public


[ Top ]

method getinfo [line 196]

void getinfo( )



Tags:

access:  public


[ Top ]

method getMaxUploadFileSize [line 934]

void getMaxUploadFileSize( )



Tags:

access:  public


[ Top ]

method getvar [line 171]

void getvar( $var, [ $sanitize = true])



Tags:

access:  public


Parameters:

   $var  
   $sanitize  

[ Top ]

method lang [line 163]

void lang( $string)



Tags:

access:  public


Parameters:

   $string  

[ Top ]

method move [line 444]

void move( )



Tags:

access:  public


[ Top ]

method postvar [line 183]

void postvar( $var, [ $sanitize = true])



Tags:

access:  public


Parameters:

   $var  
   $sanitize  

[ Top ]

method preview [line 907]

void preview( $thumbnail)



Tags:

access:  public


Parameters:

   $thumbnail  

[ Top ]

method rename [line 381]

void rename( )



Tags:

access:  public


[ Top ]

method replace [line 588]

void replace( )



Tags:

access:  public


[ Top ]

method savefile [line 351]

void savefile( )



Tags:

access:  public


[ Top ]

method setFileRoot [line 113]

void setFileRoot( $path, [ $mkdir = false])



Tags:

access:  public


Parameters:

   $path  
   $mkdir  

[ Top ]

method setup [line 106]

void setup( $extraconfig)



Tags:

access:  public


Parameters:

   $extraconfig  

[ Top ]

method zipFile [line 804]

boolean zipFile( string $source, string $destination, [string|boolean $flag = ''])

function zipFile. Creates a zip file from source to destination



Tags:



Parameters:

string   $source   Source path for zip
string   $destination   Destination path for zip
string|boolean   $flag   OPTIONAL If true includes the folder also

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:48:51 +0000 by phpDocumentor 1.4.3