Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cApiAction
  • cApiActionCollection
  • cApiActionlog
  • cApiActionlogCollection
  • cApiArea
  • cApiAreaCollection
  • cApiArticle
  • cApiArticleCollection
  • cApiArticleLanguage
  • cApiArticleLanguageCollection
  • cApiArticleLanguageVersion
  • cApiArticleLanguageVersionCollection
  • cApiArticleSpecification
  • cApiArticleSpecificationCollection
  • cApiCategory
  • cApiCategoryArticle
  • cApiCategoryArticleCollection
  • cApiCategoryCollection
  • cApiCategoryLanguage
  • cApiCategoryLanguageCollection
  • cApiCategoryTree
  • cApiCategoryTreeCollection
  • cApiClient
  • cApiClientCollection
  • cApiClientLanguage
  • cApiClientLanguageCollection
  • cApiCommunication
  • cApiCommunicationCollection
  • cApiContainer
  • cApiContainerCollection
  • cApiContainerConfiguration
  • cApiContainerConfigurationCollection
  • cApiContent
  • cApiContentCollection
  • cApiContentVersion
  • cApiContentVersionCollection
  • cApiDbfs
  • cApiDbfsCollection
  • cApiFile
  • cApiFileCollection
  • cApiFileInformation
  • cApiFileInformationCollection
  • cApiFrameFile
  • cApiFrameFileCollection
  • cApiFrontendGroup
  • cApiFrontendGroupCollection
  • cApiFrontendGroupMember
  • cApiFrontendGroupMemberCollection
  • cApiFrontendPermission
  • cApiFrontendPermissionCollection
  • cApiFrontendUser
  • cApiFrontendUserCollection
  • cApiGroup
  • cApiGroupCollection
  • cApiGroupMember
  • cApiGroupMemberCollection
  • cApiGroupProperty
  • cApiGroupPropertyCollection
  • cApiInUse
  • cApiInUseCollection
  • cApiIso3166
  • cApiIso3166Collection
  • cApiIso6392
  • cApiIso6392Collection
  • cApiKeyword
  • cApiKeywordCollection
  • cApiLanguage
  • cApiLanguageCollection
  • cApiLayout
  • cApiLayoutCollection
  • cApiMailLog
  • cApiMailLogCollection
  • cApiMailLogSuccess
  • cApiMailLogSuccessCollection
  • cApiMetaTag
  • cApiMetaTagCollection
  • cApiMetaTagVersion
  • cApiMetaTagVersionCollection
  • cApiMetaType
  • cApiMetaTypeCollection
  • cApiModule
  • cApiModuleCollection
  • cApiNavMain
  • cApiNavMainCollection
  • cApiNavSub
  • cApiNavSubCollection
  • cApiOnlineUser
  • cApiOnlineUserCollection
  • cApiPathresolveCache
  • cApiPathresolveCacheCollection
  • cApiProperty
  • cApiPropertyCollection
  • cApiRight
  • cApiRightCollection
  • cApiSearchTracking
  • cApiSearchTrackingCollection
  • cApiStat
  • cApiStatCollection
  • cApiSystemProperty
  • cApiSystemPropertyCollection
  • cApiTemplate
  • cApiTemplateCollection
  • cApiTemplateConfiguration
  • cApiTemplateConfigurationCollection
  • cApiType
  • cApiTypeCollection
  • cApiUpload
  • cApiUploadCollection
  • cApiUploadMeta
  • cApiUploadMetaCollection
  • cApiUser
  • cApiUserCollection
  • cApiUserPasswordRequest
  • cApiUserPasswordRequestCollection
  • cApiUserProperty
  • cApiUserPropertyCollection
  • NoteCollection
  • NoteItem
  • TODOCollection
  • TODOItem
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cApiDbfsCollection

DFFS item collection

cGenericDb
Extended by cItemBaseAbstract
Extended by ItemCollection
Extended by cApiDbfsCollection
Package: Core\GenericDB\Model
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Murat Purc <murat@purc.de>
Located at classes/contenido/class.dbfs.php
Methods summary
public
# __construct( )

Constructor to create an instance of this class.

Constructor to create an instance of this class.

Throws

cInvalidArgumentException
If table name or primary key is not set

Overrides

ItemCollection::__construct()
public
# outputFile( string $path )

Outputs dbfs file related by it's path property

Outputs dbfs file related by it's path property

Parameters

$path
string
$path
public
# writeFromFile( string $localfile, string $targetfile )

Writes physical existing file into dbfs

Writes physical existing file into dbfs

Parameters

$localfile
string
$localfile
$targetfile
string
$targetfile
public
# writeToFile( string $sourcefile, string $localfile )

Writes dbfs file into phsical file system

Writes dbfs file into phsical file system

Parameters

$sourcefile
string
$sourcefile
$localfile
string
$localfile
public
# write( string $file, string $content = '', string $mimetype = '' )

Writes dbfs file, creates if if not exists.

Writes dbfs file, creates if if not exists.

Parameters

$file
string
$file
$content
string
$content [optional]
$mimetype
string
$mimetype [optional]
public boolean
# hasFiles( string $path )

Checks if passed dbfs path has any files.

Checks if passed dbfs path has any files.

Parameters

$path
string
$path

Returns

boolean
public string
# read( string $file )

Reads content from dbfs file.

Reads content from dbfs file.

Parameters

$file
string
$file

Returns

string
public boolean
# fileExists( string $path )

Checks, if a dbfs file exists.

Checks, if a dbfs file exists.

Parameters

$path
string
$path

Returns

boolean
public boolean
# dirExists( string $path )

Checks, if a dbfs directory exists.

Checks, if a dbfs directory exists.

Parameters

$path
string
$path

Returns

boolean
public string
# parentDir( string $path )

Parameters

$path
string
$path

Returns

string
public cApiDbfs|false
# create( string $path, string $mimetype = '', string $content = '' )

Creates a dbfs item entry

Creates a dbfs item entry

Parameters

$path
string
$path
$mimetype
string
$mimetype [optional]
$content
string
$content [optional]

Returns

cApiDbfs|false
public
# setContent( string $path, string $content )

Parameters

$path
string
$path
$content
string
$content
public integer
# getSize( string $path )

Parameters

$path
string
$path

Returns

integer
public Ambigous
# getContent( string $path )

Parameters

$path
string
$path

Returns

Ambigous
<mixed, bool>
public
# remove( string $path )

Parameters

$path
string
$path
public boolean
# checkTimeManagement( string $sPath, cApiPropertyCollection $oProperties )

Checks if time management is activated and if yes then check if file is in period

Checks if time management is activated and if yes then check if file is in period

Parameters

$sPath
string
$sPath
$oProperties
cApiPropertyCollection
$oProperties

Returns

boolean
$bAvailable
public integer
# dateToTimestamp( string $sDate )

converts date to timestamp:

converts date to timestamp:

Parameters

$sDate
string
$sDate

Returns

integer
$iTimestamp
Methods inherited from ItemCollection
_buildGroupWhereStatements(), _buildWhereStatements(), _delete(), _deleteMultiple(), _fetchJoinTables(), _findReverseJoinPartner(), _initializeDriver(), _recursiveStructuredFetch(), _resolveLinks(), _setItemClass(), _setJoinPartner(), addResultField(), copyItem(), count(), createNewItem(), delete(), deleteBy(), deleteByWhereClause(), deleteWhere(), deleteWhereGroup(), exists(), fetchArray(), fetchById(), fetchObject(), fetchTable(), flexSelect(), getAllIds(), getFieldsByWhereClause(), getIdsByWhereClause(), link(), loadItem(), next(), query(), queryAndFetchStructured(), removeResultField(), resetQuery(), select(), setEncoding(), setGroupCondition(), setInnerGroupCondition(), setLimit(), setOrder(), setWhere(), setWhereGroup()
Methods inherited from cItemBaseAbstract
__get(), __set(), _getPropertiesCollectionInstance(), _getSecondDBInstance(), _resetItem(), _setLoaded(), _setPrimaryKeyName(), escape(), getPrimaryKeyName(), isLoaded()
Methods inherited from cGenericDb
_executeCallbacks(), register(), unregister()
Constants inherited from cGenericDb
CREATE_BEFORE, CREATE_FAILURE, CREATE_SUCCESS, DELETE_BEFORE, DELETE_FAILURE, DELETE_SUCCESS, STORE_BEFORE, STORE_FAILURE, STORE_SUCCESS
Properties inherited from ItemCollection
$_JoinPartners, $_aOperators, $_bAllMode, $_collectionCache, $_driver, $_encoding, $_forwardJoinPartners, $_groupConditions, $_innerGroupConditions, $_itemClass, $_itemClassInstance, $_iteratorItem, $_lastSQL, $_limitCount, $_limitStart, $_links, $_order, $_resultFields, $_where, $_whereRestriction, $objects
Properties inherited from cItemBaseAbstract
$_className, $_loaded, $_oCache, $_primaryKeyName, $_settings, $db, $lasterror, $properties, $secondDb, $table
CMS CONTENIDO 4.9.11 API documentation generated by ApiGen 2.8.0