w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
  • Bulletin
  • Posts
doc_Phalcon
doc_Phalcon


Assets\Manager::getJs

public getJs () Returns the CSS collection of assets

Assets\Manager::getCss

public getCss () Returns the CSS collection of assets

Assets\Manager::getCollections

public getCollections () Returns existing collections in the manager

Assets\Manager::get

public get (mixed $id) Returns a collection by its id $scripts = $assets->get('js');

Assets\Manager::exists

public exists (mixed $id) Returns true or false if collection exists

Assets\Manager::collection

public collection (mixed $name) Creates/Returns a collection of resources

Assets\Manager::addResourceByType

public addResourceByType (mixed $type, Phalcon\Assets\Resource $resource) Adds a resource by its type $assets->addResourceByType('css', new \Phalcon\Assets\Resource\Css('css/style.css'));

Assets\Manager::addResource

public addResource (Phalcon\Assets\Resource $resource) Adds a raw resource to the manager $assets->addResource(new Phalcon\Assets\Resource('css', 'css/style.css'));

Assets\Manager::addJs

public addJs (mixed $path, [mixed $local], [mixed $filter], [mixed $attributes]) Adds a javascript resource to the ‘js’ collection $assets->addJs('scripts/jquery.js'); $assets->addJs('http://jquery.my-cdn.com/jquery.js', false);

Assets\Manager::addInlineJs

public addInlineJs (mixed $content, [mixed $filter], [mixed $attributes]) Adds an inline javascript to the ‘js’ collection

Page 362 of 382

|< < Prev 359 360 361 362 363 364 365 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions