PHP Class Compass

Inheritance: implements ExtensionInterface
Exibir arquivo Open project: richthegeek/phpsass Class Usage Examples

Public Properties

Property Type Description
$filePaths
$filesFolder
$functions array List with alias functions in Compass

Public Methods

Method Description
compassAppendSelector ( $initial, $new )
compassBlank ( $object )
compassCommaList ( )
compassCompact ( )
compassCompassList ( )
compassCompassListSize ( )
compassCompassListSlice ( $list, $start, $end )
compassCompassNth ( )
compassCompassSpaceList ( )
compassCos ( $number )
compassCss2 ( $input )
compassFirstValueOf ( )
compassFontUrl ( $path, $only_path = false )
compassHeaders ( $from = false, $to = false )
compassImageHeight ( $file )
compassImageInfo ( $file )
compassImageUrl ( $path, $only_path = false )
compassImageWidth ( $file )
compassInlineFontFiles ( $file )
compassInlineImage ( $file, $mime = null )
compassList ( $list, $seperator = ',' )
compassMoz ( $input )
compassMs ( $input )
compassNest ( ) http://compass-style.org/reference/compass/helpers/selectors/#nest
compassO ( $input )
compassOppositePosition ( $from )
compassOwg ( $input )
compassPi ( )
compassPie ( $input )
compassPrefix ( $vendor, $input )
compassPrefixed ( $prefix, $list )
compassPrefixedForTransition ( $prefix, $list )
compassResolvePath ( $file ) Resolves requires to the compass namespace (eg namespace/css3/border-radius)
compassSin ( $number )
compassStylesheetUrl ( $path, $only_path = false ) # not sure what should happen with these
compassSvg ( $input )
compassTan ( $number )
compassUrl ( $path, $only_path = false, $web_path = true )
compassWebkit ( $input )
getFilesArray ( $root ) : array Returns an array with all files in $root path recursively and assign each array Key with clean alias
getFunctions ( $namespace )
resolveExtensionPath ( $callerImport, $parser, $syntax = 'scss' ) Implementation of hook_resolve_path_NAMESPACE().

Method Details

compassAppendSelector() public static method

public static compassAppendSelector ( $initial, $new )

compassBlank() public static method

public static compassBlank ( $object )

compassCommaList() public static method

public static compassCommaList ( )

compassCompact() public static method

public static compassCompact ( )

compassCompassList() public static method

public static compassCompassList ( )

compassCompassListSize() public static method

public static compassCompassListSize ( )

compassCompassListSlice() public static method

public static compassCompassListSlice ( $list, $start, $end )

compassCompassNth() public static method

public static compassCompassNth ( )

compassCompassSpaceList() public static method

public static compassCompassSpaceList ( )

compassCos() public static method

public static compassCos ( $number )

compassCss2() public static method

public static compassCss2 ( $input )

compassFirstValueOf() public static method

public static compassFirstValueOf ( )

compassFontUrl() public static method

public static compassFontUrl ( $path, $only_path = false )

compassHeaders() public static method

public static compassHeaders ( $from = false, $to = false )

compassImageHeight() public static method

public static compassImageHeight ( $file )

compassImageInfo() public static method

public static compassImageInfo ( $file )

compassImageUrl() public static method

public static compassImageUrl ( $path, $only_path = false )

compassImageWidth() public static method

public static compassImageWidth ( $file )

compassInlineFontFiles() public static method

public static compassInlineFontFiles ( $file )

compassInlineImage() public static method

public static compassInlineImage ( $file, $mime = null )

compassList() public static method

public static compassList ( $list, $seperator = ',' )

compassMoz() public static method

public static compassMoz ( $input )

compassMs() public static method

public static compassMs ( $input )

compassNest() public static method

http://compass-style.org/reference/compass/helpers/selectors/#nest
public static compassNest ( )

compassO() public static method

public static compassO ( $input )

compassOppositePosition() public static method

public static compassOppositePosition ( $from )

compassOwg() public static method

public static compassOwg ( $input )

compassPi() public static method

public static compassPi ( )

compassPie() public static method

public static compassPie ( $input )

compassPrefix() public static method

public static compassPrefix ( $vendor, $input )

compassPrefixed() public static method

public static compassPrefixed ( $prefix, $list )

compassPrefixedForTransition() public static method

public static compassPrefixedForTransition ( $prefix, $list )

compassResolvePath() public static method

Resolves requires to the compass namespace (eg namespace/css3/border-radius)
public static compassResolvePath ( $file )

compassSin() public static method

public static compassSin ( $number )

compassStylesheetUrl() public static method

# not sure what should happen with these
public static compassStylesheetUrl ( $path, $only_path = false )

compassSvg() public static method

public static compassSvg ( $input )

compassTan() public static method

public static compassTan ( $number )

compassUrl() public static method

public static compassUrl ( $path, $only_path = false, $web_path = true )

compassWebkit() public static method

public static compassWebkit ( $input )

getFilesArray() public static method

Returns an array with all files in $root path recursively and assign each array Key with clean alias
public static getFilesArray ( $root ) : array
$root
return array

getFunctions() public static method

public static getFunctions ( $namespace )

resolveExtensionPath() public static method

Implementation of hook_resolve_path_NAMESPACE().
public static resolveExtensionPath ( $callerImport, $parser, $syntax = 'scss' )

Property Details

$filePaths public_oe static_oe property

public static $filePaths

$filesFolder public_oe static_oe property

public static $filesFolder

$functions public_oe static_oe property

List with alias functions in Compass
public static array $functions
return array