phpDocumentor files
[ class tree: files ] [ index: files ] [ all elements ]

Class: Filetype

Source Location: /qp_inc/files/model/_filetype.class.php

Class Filetype

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From DataObject

DataObject::$delete_cascades
DataObject::$delete_restrictions
DataObject::$ID

Inherited From DataObject

DataObject::DataObject()
Constructor
DataObject::check_delete()
Check relations for restrictions before deleting
DataObject::check_relations()
Check relations for restrictions or cascades
DataObject::confirm_delete()
Displays form to confirm deletion of this object
DataObject::dbchange()
Records a change that will need to be updated in the db
DataObject::dbdelete()
Delete object from DB.
DataObject::dbinsert()
Insert object into DB based on previously recorded changes.
DataObject::dbsave()
Inserts or Updates depending on object state.
DataObject::dbupdate()
Update the DB based on previously recorded changes
DataObject::dget()
Get a ready-to-display member param by its name
DataObject::disp()
Display a member param by its name
DataObject::get()
Get a member param by its name
DataObject::history_info_icon()
Create icon with dataobject history
DataObject::ID()
Template function: Displays object ID.
DataObject::set()
Set param value
DataObject::set_from_Request()
Set a parameter from a Request form value.
DataObject::set_param()
Set param value.

[ Top ]
Property Summary
mixed   $allowed  
mixed   $extensions  
mixed   $icon  
mixed   $mimetype  
mixed   $name  
mixed   $viewtype  

[ Top ]
Method Summary
Filetype   Filetype()   Constructor
string   get_icon()   Return the img html code of the icon
boolean   load_from_Request()   Load data from Request form fields.
void   set()   Set param value

[ Top ]
Properties
mixed   $allowed = '' [line 49]

[ Top ]
mixed   $extensions = '' [line 44]

[ Top ]
mixed   $icon = '' [line 47]

[ Top ]
mixed   $mimetype = '' [line 46]

[ Top ]
mixed   $name = '' [line 45]

[ Top ]
mixed   $viewtype = '' [line 48]

[ Top ]
Methods
Constructor Filetype  [line 56]

  Filetype Filetype( [table $db_row = NULL]  )

Constructor

Parameters:
table   $db_row:  Database row


[ Top ]
get_icon  [line 178]

  string get_icon( )

Return the img html code of the icon



[ Top ]
load_from_Request  [line 90]

  boolean load_from_Request( )

Load data from Request form fields.


API Tags:
Return:  true if loaded data seems valid.


[ Top ]
set  [line 159]

  void set( string $parname, mixed $parvalue  )

Set param value

By default, all values will be considered strings

Parameters:
string   $parname:  parameter name
mixed   $parvalue:  parameter value


Redefinition of:
DataObject::set()
Set param value

[ Top ]