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 BeEmbedFlashHelper

Flash embed helper

Helper
Extended by AppHelper
Extended by BeEmbedFlashHelper
Version: $Revision$
Modifiedby: $LastChangedBy$
Lastmodified:

$LastChangedDate$

$Id$


Located at views/helpers/be_embed_flash.php

Methods summary

public string
# embedSwf( string $swfUrl, array $attributes = array(), array $flashvars = array(), array $params = array() )

embed SWF flash object using swfobject

embed SWF flash object using swfobject

Parameters

$swfUrl
$attributes
$flashvars
$params

Returns

string
html code
public
# embedFlv( string $flvUrl, array $attributes = array(), array $flashvars = array(), array $params = array() )

embed flv video

embed flv video

Parameters

$flvUrl
$attributes
$flashvars
$params
mixed string|boolean, html code of embed media, or false if file extension is not supported
public
# embedAudio( string $audioFile, array $attributes = array(), array $flashvars = array(), array $params = array() )

embed audio

embed audio

Parameters

$audioFile
path or url
$attributes
$flashvars
$params
mixed string|boolean, html code of embed media, or false if file extension is not supported
public mixed
# embedPlayer( string $fileToPlay, array $attributes = array(), array $flashvars = array(), array $params = array(), string $fileType = null )

generate code to embed video/audio player file extension supported: mp3, flv, m4v

generate code to embed video/audio player file extension supported: mp3, flv, m4v

Parameters

$fileToPlay
$attributes
$flashvars
$params
$fileType

Returns

mixed
string|boolean, html code of embed media, or false if file extension is not supported
public mixed
# embed( array $obj, array $params, array $htmlAttributes )

embed generic flash object (video, swf, audio mp3) file extension supported: mp3, flv, m4v

embed generic flash object (video, swf, audio mp3) file extension supported: mp3, flv, m4v

Parameters

$obj
BEdita multimedia object
$params
contains flashvars, params tag
$htmlAttributes

Returns

mixed
string|boolean, html code of embed media, or false if file extension is not supported
private mixed
# getFileExtension( string $filePath )

get file extension

get file extension

Parameters

$filePath

Returns

mixed
string|boolean, file extension or false (if extension is not recognized through pathinfo)
public string
# embedFlowplayer( string $swfUrl, string $mediaUrl, array $attributes, array $flashvars, array $params, string $fileType )

generate code for embed Flowplayer default behavior: generate

and flowplayer javascript call $params[htmlEmbed] = true => generate directly HTML code (<object....>......) no javascript

generate code for embed Flowplayer default behavior: generate

and flowplayer javascript call $params[htmlEmbed] = true => generate directly HTML code (<object....>......) no javascript

Parameters

$swfUrl
$mediaUrl
$mediaUrl, audio/video file (mp3/flv)
$attributes
$attributes, html attributes
$flashvars
$params
$fileType
$fileType, video/audio

Returns

string
html code for views
public
# embedWpaudioplayer( $swfUrl, $audioFileUrl, $attributes, $flashvars, $params )
public string
# embedHtml( string $swfUrl, array $attributes, array $flashvars = array(), array $params = array() )

generate html code for embedding flash object

generate html code for embedding flash object

Parameters

$swfUrl
$attributes
$flashvars
$params

Returns

string
html code

Methods inherited from AppHelper

getHelper(), oEmbedInfo()

Properties summary

public array $helpers
# array("Javascript")
private string $heightDef
# ""
private string $widthDef
# ""
private string $appVerDef
# "9.0.0"
BEdita API doc | 4-cactus API documentation generated by ApiGen