Asset Manager Abstract Base Class

Class Methods

The following methods can be invoked on instances of this class.

getCacheKey()

Returns the cache key to be used for keeping arrays of included files

send(mixed strFile)

Abstract definition to send a file to the client

blockBegin()

Abstract definition to begin a block

blockEnd()

Abstract definition to end a block

includeHead(string strFile)

Includes a file before the </head> tag

includeBody(string strFile)

Includes a file before the </body> tag

getIncludedHead()

getIncludedBody()

getIncludedAll()

blockBeginHead()

Begins a new block to be injected before </head>

blockEndHead()

Ends the block

blockBeginBody()

Begins a new block to be injected before </body>

blockEndBody()

Ends the block

blockEndBodyPrepend()

Ends the block, but injects at the beginning of the body close block

registerHeadHandler()

registerBodyHandler()

handlerHead(mixed strURLAppend)

handlerBody(mixed strURLAppend)

generateId(mixed arrAssets)

Generates a resource id for the batch of managed resources

prepareURLForAssets(mixed arrAssets)

Sends all managed resources to the client

setHeadSent()

setBodySent()

pushDocumentEntity()

To be overridden

pushDocument()

Pushes the state of the asset manager

popDocumentEntity(mixed arrJS)

To be overridden

popDocument()

Pops the state of the asset manager

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class