Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • ActiveRecord
  • Cache
  • Configs
  • Core
  • DateTime
  • Debug
  • DeleteOperation
  • Errors
  • Event
  • EventHook
  • Events
  • FileCache
  • FormattedString
  • Helpers
  • I18n
  • Image
  • Inflections
  • Inflector
  • Models
  • Module
  • Modules
  • Object
  • Operation
  • PingOperation
  • Prototype
  • Route
  • Routes
  • SaveOperation
  • Session
  • TimeZone
  • TimeZoneLocation
  • Uploaded
  • Vars
  • VarsIterator

Interfaces

  • StorageInterface
  • ToArray
  • ToArrayRecursive

Traits

  • PrototypeTrait
  • ToArrayRecursiveTrait

Exceptions

  • AlreadyAuthenticated
  • AuthenticationRequired
  • Exception
  • ModuleConstructorMissing
  • ModuleIsDisabled
  • ModuleNotDefined
  • OffsetError
  • OffsetNotDefined
  • OffsetNotReadable
  • OffsetNotWritable
  • PermissionRequired
  • PropertyError
  • PropertyIsReserved
  • PropertyNotDefined
  • PropertyNotReadable
  • PropertyNotWritable
  • RouteNotDefined
  • SecurityException

Constants

  • TOKEN_ALPHA
  • TOKEN_ALPHA_UPCASE
  • TOKEN_NUMERIC
  • TOKEN_SYMBOL
  • TOKEN_SYMBOL_WIDE

Functions

  • array_flatten
  • array_insert
  • array_merge_recursive
  • camelize
  • capitalize
  • downcase
  • dump
  • escape
  • escape_all
  • exact_array_merge_recursive
  • excerpt
  • format
  • generate_token
  • generate_token_wide
  • generate_v4_uuid
  • get_autoconfig
  • humanize
  • hyphenate
  • log
  • log_error
  • log_info
  • log_success
  • log_time
  • normalize
  • normalize_namespace_part
  • normalize_url_path
  • pbkdf2
  • pluralize
  • remove_accents
  • shorten
  • singularize
  • sort_by_weight
  • stable_sort
  • strip_root
  • titleize
  • unaccent_compare
  • unaccent_compare_ci
  • underscore
  • upcase

Class FileCache

Namespace: ICanBoogie
Located at vendor/icanboogie/icanboogie/lib/filecache.php

Methods summary

public
# __construct( array $tags )
public mixed
# get( string $file, callable $constructor, mixed $userdata = null )

Check if a file exists in the repository.

Check if a file exists in the repository.

If the file does not exists, it's created using the provided constructor.

The working directory is changed to the repository during the process.

Parameters

$file
string
$file The name of the file in the repository.
$constructor
callable
$constructor The constructor for the file. The constructor is called with the cache object, the name of the file and the userdata.
$userdata
mixed
$userdata Userdata that will be passed to the constructor.

Returns

mixed
The URL of the file. FALSE is the file failed to be created.
public
# exists( mixed $key )
public mixed
# load( string $key, callable $constructor, mixed $userdata = null )

Load cached contents.

Load cached contents.

If the content is not cached, the constructor is called to create the content. The content generated by the constructor is save to the cache.

Parameters

$key
string
$key Key for the value in the cache.
$constructor
callable
$constructor Constructor callback. The constructor is called to generated the contents of the file. The constructor is called with the FileCache object, the @file and the @userdata as arguments.
$userdata
mixed
$userdata User data that is passed as is to the constructor.

Returns

mixed
The contents of the file
protected integer
# save( mixed $file, mixed $contents )

Save contents to a cached file.

Save contents to a cached file.

Parameters

$file
mixed
$file string Name of the file.
$contents
mixed
$contents mixed The contents to write.

Returns

integer
Return value from @file_put_contents()
public
# store( mixed $key, mixed $data )
public
# retrieve( mixed $key )
public
# delete( mixed $file )
protected unknown_type
# read( )

Read to repository and return an array of files.

Read to repository and return an array of files.

Each entry in the array is made up using the _ctime_ and _size_ of the file. The key of the entry is the file name.

Returns

unknown_type
protected
# unlink( mixed $files )
public
# clear( )

Clear all the files in the repository.

public
# clean( )

Clean the repository according to the size and time rules.

Magic methods summary

Constants summary

string T_COMPRESS 'compress'
#
string T_REPOSITORY 'repository'
#
string T_REPOSITORY_DELETE_RATIO 'repository_delete_ratio'
#
string T_REPOSITORY_SIZE 'repository_size'
#
string T_SERIALIZE 'serialize'
#
string T_MODIFIED_TIME 'modified_time'
#

Properties summary

public boolean $compress
#
public mixed $repository
#
public float $repository_delete_ratio
#
public integer $repository_size
#
public boolean $serialize
#
public mixed $modified_time
#
protected mixed $root
#
Autodoc API documentation generated by ApiGen 2.8.0