PHP Classes

File: engine/modules/core/fontawesome/

Recommend this page to a friend!
  Classes of Aldo Tripiciano  >  Quanta CMS  >  engine/modules/core/fontawesome/  >  Download  
File: engine/modules/core/fontawesome/
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Quanta CMS
Manage content that works without a database
Author: By
Last change:
Date: 3 years ago
Size: 426 bytes


Class file image Download

// TODO: Load singleton library...

 * Implements qtag FA_ICON.
 * Renders a FontAwesome icon.
 * @param Environment $env
 *   The Environment.
 * @param string $target
 *   The qtag's target.
 * @param array $attributes
 *   The qtag's attributes.
 * @return string
 *   The rendered qtag.
function qtag_FA_ICON($env, $target, $attributes) {
  return '<i class="fa fa-' . $target . '"></i>';

For more information send a message to info at phpclasses dot org.