企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# Class Phalcon\\Assets\\Inline # Class **Phalcon\\Assets\\Inline** Represents an inline asset ``` <pre class="calibre14">``` <?php $inline = new \Phalcon\Assets\Inline('js', 'alert("hello world");'); ``` ``` ### Methods public **getType** () ... public **getContent** () ... public **getFilter** () ... public **getAttributes** () ... public **\_\_construct** (*string* $type, *string* $content, \[*boolean* $filter\], \[*array* $attributes\]) Phalcon\\Assets\\Inline constructor public **setType** (*unknown* $type) Sets the inline's type public **setFilter** (*unknown* $filter) Sets if the resource must be filtered or not public **setAttributes** (*unknown* $attributes) Sets extra HTML attributes | - [索引](# "总目录") - [下一页](# "Class Phalcon\Assets\Inline\Css") | - [上一页](# "Class Phalcon\Assets\Filters\None") | - [API Indice](#) »