AloWAMP source documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Namespaces

  • None
  • PHP
  • Setup
  • VersionSwitch

Classes

  • cURL
  • Downloader
  • Format
  • Handler
  • IO
  • Router
  • Service
  • Settings
  • Setup

Functions

  • _echo
  • get

Class Format

Formats stuff

Abstract
Author: Art <a.molcanovas@gmail.com>
Located at core/class/format.php

Methods summary

public static
# formatScandir( array & $scandir )

Removes "." and ".." entries from scandir()

Removes "." and ".." entries from scandir()

Parameters

$scandir
array
$scandir Reference to scandir() results

Author

Art <a.molcanovas@gmail.com>
public static string
# filesize( integer $bytes )

Returns a human-friendly filesize

Returns a human-friendly filesize

Parameters

$bytes
integer
$bytes Filesize in bytes

Returns

string

Author

Art <a.molcanovas@gmail.com>
public static array
# ini_to_array( string $var, boolean $is_file = true )

Turns an ini to an array.

Turns an ini to an array.

Parameters

$var
string
$var Ini contents or filepath
$is_file
boolean
$is_file TRUE if $var is a filepath, FALSE if ini contents

Returns

array

Magic methods summary

AloWAMP source documentation API documentation generated by ApiGen 2.8.0