Class Phalcon\Assets\Inline

Represents an inline asset

  1. <?php
  2. $inline = new \Phalcon\Assets\Inline('js', 'alert("hello world");');

Methods

public getType ()

public getContent ()

public getFilter ()

public getAttributes ()

public __construct (unknown $type, unknown $content, [unknown $filter], [unknown $attributes])

Phalcon\Assets\Inline constructor

public Phalcon\Assets\Inline setType (unknown $type)

Sets the inline’s type

public Phalcon\Assets\Inline setFilter (unknown $filter)

Sets if the resource must be filtered or not

public Phalcon\Assets\Inline setAttributes (unknown $attributes)

Sets extra HTML attributes