Class Phalcon\Assets\Inline\Js

extends class Phalcon\Assets\Inline

Source on GitHub

Represents an inline Javascript

Methods

public __construct (string $content, [boolean $filter], [array $attributes])

public getType () inherited from Phalcon\Assets\Inline

public getContent () inherited from Phalcon\Assets\Inline

public getFilter () inherited from Phalcon\Assets\Inline

public getAttributes () inherited from Phalcon\Assets\Inline

public setType (mixed $type) inherited from Phalcon\Assets\Inline

Sets the inline’s type

public setFilter (mixed $filter) inherited from Phalcon\Assets\Inline

Sets if the resource must be filtered or not

public setAttributes (array $attributes) inherited from Phalcon\Assets\Inline

Sets extra HTML attributes