Overview

Namespaces

  • MvcCore
    • Ext
      • Auth
        • Virtual
      • Debug
        • Tracy
      • Form
        • Core
        • Validators
      • Request
      • Router
        • Lang
      • View
        • Helpers
  • None

Classes

  • Assets
  • Css
  • Js
  • LineBreaks
  • Overview
  • Namespace
  • Class
  • Tree

Class Css

MvcCore\Ext\View\Helpers\Assets
Extended by MvcCore\Ext\View\Helpers\Css
Namespace: MvcCore\Ext\View\Helpers
Located at ext-view-helper-assets/src/MvcCore/Ext/View/Helpers/Css.php
Methods summary
public MvcCore\Ext\View\Helpers\Css
# Css( $groupName = self::GROUP_NAME_DEFAULT )

View Helper Method, returns current object instance.

View Helper Method, returns current object instance.

Returns

MvcCore\Ext\View\Helpers\Css
public boolean
# Contains( string $path = '', string $media = 'all', boolean $doNotMinify = FALSE )

Check if stylesheet is already presented in stylesheets group

Check if stylesheet is already presented in stylesheets group

Parameters

$path
$media
$doNotMinify

Returns

boolean
public MvcCore\Ext\View\Helpers\Css
# AppendRendered( string $path = '', string $media = 'all', boolean $doNotMinify = FALSE )

Append stylesheet after all group stylesheets for later render process with php tags executing in given file

Append stylesheet after all group stylesheets for later render process with php tags executing in given file

Parameters

$path
$media
$doNotMinify

Returns

MvcCore\Ext\View\Helpers\Css
public MvcCore\Ext\View\Helpers\Css
# PrependRendered( string $path = '', string $media = 'all', boolean $doNotMinify = FALSE, boolean $doNotMinify,… )

Prepend stylesheet before all group stylesheets for later render process with php tags executing in given file

Prepend stylesheet before all group stylesheets for later render process with php tags executing in given file

Parameters

$path
$media
$doNotMinify
$renderPhpTags
$doNotMinify,…

Returns

MvcCore\Ext\View\Helpers\Css
public MvcCore\Ext\View\Helpers\Css
# OffsetSetRendered( integer $index = 0, string $path = '', string $media = 'all', boolean $doNotMinify = FALSE, boolean $doNotMinify,… )

Add stylesheet into given index of stylesheets group array for later render process with php tags executing in given file

Add stylesheet into given index of stylesheets group array for later render process with php tags executing in given file

Parameters

$index
$path
$media
$doNotMinify
$renderPhpTags
$doNotMinify,…

Returns

MvcCore\Ext\View\Helpers\Css
public MvcCore\Ext\View\Helpers\Css
# Append( string $path = '', string $media = 'all', boolean $renderPhpTags = FALSE, boolean $doNotMinify = FALSE )

Append stylesheet after all group stylesheets for later render process

Append stylesheet after all group stylesheets for later render process

Parameters

$path
$media
$renderPhpTags
$doNotMinify

Returns

MvcCore\Ext\View\Helpers\Css
public MvcCore\Ext\View\Helpers\Css
# Prepend( string $path = '', string $media = 'all', boolean $renderPhpTags = FALSE, boolean $doNotMinify = FALSE )

Prepend stylesheet before all group stylesheets for later render process

Prepend stylesheet before all group stylesheets for later render process

Parameters

$path
$media
$renderPhpTags
$doNotMinify

Returns

MvcCore\Ext\View\Helpers\Css
public MvcCore\Ext\View\Helpers\Css
# OffsetSet( integer $index = 0, string $path = '', string $media = 'all', boolean $renderPhpTags = FALSE, boolean $doNotMinify = FALSE )

Add stylesheet into given index of group stylesheets array for later render process

Add stylesheet into given index of group stylesheets array for later render process

Parameters

$index
$path
$media
$renderPhpTags
$doNotMinify

Returns

MvcCore\Ext\View\Helpers\Css
public string
# Render( integer $indent = 0 )

Render link elements as html code with links to original files or temporary rendered files.

Render link elements as html code with links to original files or temporary rendered files.

Parameters

$indent

Returns

string
Methods inherited from MvcCore\Ext\View\Helpers\Assets
AssetUrl(), CssJsFileUrl(), SetAssetUrlCompletion(), SetBasePath(), SetGlobalOptions(), __construct(), __toString(), addFileModificationImprintToHrefUrl(), exception(), exceptionHandler(), filterItemsForNotPossibleMinifiedAndPossibleMinifiedItems(), getAppRoot(), getCtrlActionKey(), getFileImprint(), getIndentString(), getTmpDir(), getTmpFileFullPathByPartFilesInfo(), log(), saveFileContent(), warning()
Constants inherited from MvcCore\Ext\View\Helpers\Assets
FILE_MODIFICATION_DATE_FORMAT, GROUP_NAME_DEFAULT, VERSION
Properties summary
public static callable $MinifyCallable

Array with full class name and public method accepted as first param css code and returning minified code

Array with full class name and public method accepted as first param css code and returning minified code

# array('\Minify_CSS', 'minify')
protected static array $linksGroupContainer

Array with all defined files to create specific link tags

Array with all defined files to create specific link tags

# array()
Properties inherited from MvcCore\Ext\View\Helpers\Assets
$actualGroupName, $appRoot, $assetsUrlCompletion, $basePath, $fileChecking, $fileRendering, $globalOptions, $logingAndExceptions, $streamWrapper, $systemConfigHash, $tmpDir, $view
MvcCore API documentation generated by ApiGen