Class MWebfile
Base class for all webfile class definitions.
On the following link
you can find more information about the definition of webfiles.
Direct known subclasses
webfilesframework\core\datastore\MAbstractDatastore, webfilesframework\core\datastore\types\database\MSampleWebfile, webfilesframework\core\datastore\types\directory\MDirectoryDatastoreMetainformation, webfilesframework\core\datastore\types\googlecalendar\MEvent, webfilesframework\core\datastore\types\mail\MMail, webfilesframework\core\datastore\types\mail\MMailAccount, webfilesframework\core\datasystem\file\format\media\MYoutubeVideo, webfilesframework\core\datasystem\file\system\MFile, webfilesframework\core\time\MWeekdayIndirect known subclasses
webfilesframework\core\datastore\MAbstractCachableDatastore, webfilesframework\core\datastore\MCombinedDatastore, webfilesframework\core\datasystem\file\system\dropbox\MDropboxFile, webfilesframework\core\datasystem\file\system\MDirectory, webfilesframework\core\datastore\types\database\MDatabaseDatastore, webfilesframework\core\datastore\types\directory\MDirectoryDatastore, webfilesframework\core\datastore\types\directory\MDirectoryDatastoreWebfile, webfilesframework\core\datastore\types\googlecalendar\MGoogleCalendarDatastore, webfilesframework\core\datastore\types\mail\MImapDatastore, webfilesframework\core\datastore\types\remote\MRemoteDatastore, webfilesframework\core\datasystem\file\format\media\image\MImage, webfilesframework\core\datasystem\file\system\dropbox\MDropboxDirectoryAuthor: Sebastian Monzel < mail@sebastianmonzel.de >
Since: 0.1.7
Located at core/datasystem/file/format/MWebfile.php
public
string
|
|
public
|
|
public static
|
|
public
|
#
presetForTemplateSearch( )
In case of using the current webfile object for making a request on a datastore (getByTemplate()) this method helps to set the defaults for making the template request. |
public
boolean
|
|
public static
boolean
|
#
isSimpleDatatype( string $datatypeName )
returns true if attribute is a simple datatype (for example string, integer or boolean). |
public static
boolean
|
|
public static
ReflectionProperty[]
|
#
getAttributes( boolean $simpleDatatypesOnly = false )
eturns the attributes of the actual class which are relevant for the webfile definition. |
public static
string
|
#
getClassInformation( )
Returns a xml defined class information. It contains the classname and the given attributes. |
public static
null|string
|
|
public
array
|
#
getDataset( )
Transforms the actual webfile into an dataset. A dataset is represented by a key value array. The key is the attributes name. The value is the attributes value. |
public static
string
|
#
getSimplifiedAttributeName( string $p_sFieldName )
Returns database field name to a given attribute |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public static
|
protected
integer
|
$m_iId
|
#
0
|
public
integer
|
$m_iTime
sets the time of the main context of the given webfile.
Example: |