BEdita API doc | 4-cactus
  • Class
  • Tree
  • Deprecated
  • Download

Classes

  • Addon
  • AddressbookController
  • AddressbookShell
  • AdminController
  • Alias
  • Annotation
  • ApiAuthComponent
  • ApiBaseController
  • ApiFormatterComponent
  • ApiUploadComponent
  • ApiValidatorComponent
  • AppController
  • AppError
  • AppHelper
  • Application
  • AppModel
  • Area
  • AreasController
  • Audio
  • AuthenticationsController
  • BannedIp
  • BEAppModel
  • BEAppObjectModel
  • BeAuthComponent
  • BeAuthFacebookComponent
  • BeAuthGoogleComponent
  • BeAuthTwitterComponent
  • BeCallbackManager
  • BeConfigure
  • BeCustomPropertyComponent
  • BeditaAnnotationModel
  • BeditaBaseShell
  • BeditaCollectionModel
  • BeditaContentModel
  • BeditaExportFilter
  • BeditaImportFilter
  • BeditaObjectModel
  • BeditaProductModel
  • BeditaShell
  • BeditaSimpleObjectModel
  • BeditaSimpleStreamModel
  • BeditaStreamModel
  • BeEmbedFlashHelper
  • BeEmbedHtml5Helper
  • BeEmbedMediaHelper
  • BeErrorCode
  • BeExceptionHandler
  • BEFile
  • BeFileHandlerComponent
  • BeFormHelper
  • BeFrontHelper
  • BeHashComponent
  • BeHtmlHelper
  • BeLangTextComponent
  • BeLib
  • BeMailComponent
  • BEObject
  • BeObjectCache
  • BePaginatorToolbarHelper
  • BeSchema
  • BeSecurityComponent
  • BeSystem
  • BeSystemComponent
  • BeThumb
  • BeTimeHelper
  • BeToolbarHelper
  • BeTreeComponent
  • BeTreeHelper
  • BeUploadToObjComponent
  • BeurlHelper
  • BeVimeoComponent
  • BeYoutubeComponent
  • BuildFilterBehavior
  • CacheableBehavior
  • CacheShell
  • CallbackBehavior
  • CaptchaComponent
  • Caption
  • CaptionsBehavior
  • Card
  • CardsImportFilter
  • Category
  • CleanupDataTask
  • CleanupTask
  • Comment
  • CommentsController
  • CompactResultBehavior
  • Content
  • CreateIndexFieldsBehavior
  • DataShell
  • DataTransfer
  • DateItem
  • DbadminShell
  • DeleteDependentObjectBehavior
  • DeleteObjectBehavior
  • DeployShell
  • Document
  • DocumentsController
  • DumpModel
  • EditorialContentsShell
  • EditorNote
  • Event
  • EventLog
  • EventsController
  • FilesController
  • ForeignDependenceSaveBehavior
  • FrontendController
  • FrontendShell
  • GalleriesController
  • Gallery
  • GeoTag
  • GettextShell
  • Git
  • GravatarHelper
  • Group
  • HashJob
  • History
  • HomeController
  • Image
  • ImageInfoHelper
  • JsonExportFilter
  • JsonImportFilter
  • JsonView
  • LangText
  • Link
  • MailGroup
  • MailGroupCard
  • MailJob
  • MailLog
  • MailMessage
  • MailShell
  • MailTemplate
  • Mask
  • MediaShell
  • MigrateDumpModel
  • MigrateShell
  • Migration
  • MigrationBase
  • MigrationDateItemsShell
  • Module
  • ModulesController
  • ModuleShell
  • MultimediaController
  • NewsController
  • NewsletterController
  • NewsletterShell
  • NotifyBehavior
  • ObjectEditor
  • ObjectProperty
  • ObjectRelation
  • ObjectType
  • ObjectUser
  • PagesController
  • Permission
  • PermissionModule
  • PermsHelper
  • Product
  • Property
  • PropertyOption
  • PublicationShell
  • RedisShell
  • RelationCheck
  • RelationRepair
  • RelationShell
  • RelationStats
  • RemoveDummyNameBehavior
  • ResponseHandlerComponent
  • RestClientModel
  • Revision
  • RevisionObjectBehavior
  • SearchText
  • SearchTextSaveBehavior
  • Section
  • SectionDummy
  • SessionFilterComponent
  • SessionFilterHelper
  • ShortNews
  • SmartyView
  • SoapClientModel
  • SplitterSql
  • StatisticsController
  • Stream
  • StreamLog
  • StreamsController
  • Svn
  • TagsController
  • ThemeSmartyView
  • ThumbnailHelper
  • ThumbShell
  • TransactionComponent
  • TransactionFS
  • TranslationsController
  • Tree
  • TrHelper
  • User
  • UserProperty
  • UsersController
  • Utility
  • Version
  • Video
  • VimeoHelper
  • WebmarksController
  • XmlExportFilter
  • XmlImportFilter
  • XmlJsonConverter
  • XmlView
  • YoutubeHelper

Interfaces

  • ApiAuthInterface
  • MediaProviderInterface
  • UploadableInterface

Exceptions

  • BeditaAjaxException
  • BEditaAllowURLException
  • BeditaBadRequestException
  • BeditaConflictException
  • BEditaDeleteStreamObjException
  • BeditaException
  • BEditaFileExistException
  • BeditaForbiddenException
  • BeditaFrontAccessException
  • BeditaHashException
  • BEditaInfoException
  • BeditaInternalErrorException
  • BEditaIOException
  • BeditaLengthRequiredException
  • BeditaMailException
  • BEditaMediaProviderException
  • BeditaMethodNotAllowedException
  • BEditaMIMEException
  • BeditaNotFoundException
  • BeditaNotImplementedException
  • BeditaPublicationException
  • BeditaRuntimeException
  • BEditaSaveStreamObjException
  • BeditaServiceUnavailableException
  • BeditaUnauthorizedException
  • BEditaUploadPHPException
  • BEditaURLException

Class TransactionFS

Located at controllers/components/transaction.php

Methods summary

public
# __construct( $tmpPath = '/tmp' )
public
# begin( )
public boolean
# commit( )

Transaction commit

Transaction commit

Returns

boolean
public boolean
# rollback( )

Transaction rollback

Transaction rollback

Returns

boolean
public string
# makeFileFromData( string $path, string & $arrDati )

Create a file from data

Create a file from data

Parameters

$path
file path
$arrDati
data

Returns

string

Throws

BEditaIOException
public string
# makeFileFromFile( string $path, string $pathFileSource )

Create a file from another one

Create a file from another one

Parameters

$path
file path
$pathFileSource
source file path

Returns

string

Throws

BEditaIOException
public boolean
# replaceFileData( string $path, string & $arrDati )

Replace file data

Replace file data

Parameters

$path
File path
$arrDati
Data

Returns

boolean

Throws

BEditaIOException
public boolean
# rmFile( string $path )

Remove a file

Remove a file

Parameters

$path

Returns

boolean

Throws

BEditaIOException
public boolean
# mvFile( string $newPath, string $pathSource )

Move a file

Move a file

Parameters

$newPath
$pathSource

Returns

boolean

Throws

BEditaIOException
public boolean
# cpFile( string $newPath, string $pathSource )

Copy a file

Copy a file

Parameters

$newPath
$pathSource

Returns

boolean

Throws

BEditaIOException
public boolean
# chdir( string $newDir )

Change directory

Parameters

$newDir

Returns

boolean

Throws

BEditaIOException
public boolean
# mkdir( string $newDir, integer $mode = 0777 )

Create a directory

Create a directory

Parameters

$newDir
$mode

Returns

boolean

Throws

BEditaIOException
public boolean
# rmdir( string $rmDir )

Remove a directory

Remove a directory

Parameters

$rmDir

Returns

boolean

Throws

BEditaIOException
public string
# mvDir( string $pathNewParent, string $oldPath )

Move a directory and its content

Move a directory and its content

Parameters

$pathNewParent
$oldPath

Returns

string

Throws

BEditaIOException
private
# _rollMakeFile( $path )

Rollback functions

Rollback functions

private
# _rollReplaceFileData( $source, $dest )
private
# _rollRmFile( $source, $dest )
private
# _rollMvFile( $source, $dest )
private
# _rollCpFile( $source )
private
# _rollChdir( $path )
private
# _rollMkdir( $path )
private
# _rollRmdir( $path, $perms )
private
# _rollMvDir( $path, $target )

Properties summary

public $commands
# null
public string $errorMsg
# ""
public boolean $error
# false
public string $tmpPath
# '/tmp'
BEdita API doc | 4-cactus API documentation generated by ApiGen