|
ultimix
|
Go to the source code of this file.
Functions | |
| _set_rewrite_map ($PackageScriptPath=false, $FileName= 'local_rewrite_map') | |
| _reset_rewrite_map () | |
| _complete_package_version ($PackageName) | |
| _make_full_version ($PackageName, $PackageVersion) | |
| _apply_to_the_whole_name ($PackageName, $PackageVersion, $Rules) | |
| _set_rewrited (&$PackageNameSegments, $r) | |
| _apply_to_the_parts ($PackageName, $PackageVersion, $Rules) | |
| _apply_both_transforms ($PackageName, $PackageVersion) | |
| _apply_local_rewrite_map ($PackageName, $PackageVersion, $PackageScriptPath) | |
| _apply_global_rewrite_map ($Name, $Version, $ROOT_DIR) | |
| _apply_rewrites ($PackageName, $PackageVersion, $PackageScriptPath) | |
| _fill_rewrites_cache ($PackageName, $PackageVersion, $PackageScriptPath) | |
| _get_package_info_after_rewrites ($PackageName, $PackageVersion, $PackageScriptPath=false) | |
Variables | |
| global | $RewritesCacheChanged |
| global | $RewritesCache = array() |
| global | $RewriteMap = array() |
| $MakeFullVersionCacheChanged = false | |
| $MakeFullVersionCache = array() | |
| global | $RewritedPackageCacheChanged = false |
| global | $RewritedPackageCache = array() |
| $PackageInfoAfterRewritesCacheChanged = false | |
| $PackageInfoAfterRewritesCache = array() | |
| _apply_both_transforms | ( | $PackageName, | |
| $PackageVersion | |||
| ) |
Function transforms packages name and version (global rewrite).
| $PackageName | - package name |
| $PackageVersion | - Package's version. |
| Exception | An exception of this type is thrown. |
Definition at line 407 of file rewrites.php.
| _apply_global_rewrite_map | ( | $Name, | |
| $Version, | |||
| $ROOT_DIR | |||
| ) |
Function transforms packages name and version (global rewrite).
| $Name | - Package name. |
| $Version | - Package's version. |
| $ROOT_DIR | - Root directory for package search. |
| Exception | An exception of this type is thrown. |
Definition at line 524 of file rewrites.php.
| _apply_local_rewrite_map | ( | $PackageName, | |
| $PackageVersion, | |||
| $PackageScriptPath | |||
| ) |
Function applies local rewrite map.
| $PackageName | - package's name. |
| $PackageVersion | - package's version. |
| $PackageScriptPath | - path to the package's script. |
| Exception | An exception of this type is thrown. |
Definition at line 464 of file rewrites.php.
| _apply_rewrites | ( | $PackageName, | |
| $PackageVersion, | |||
| $PackageScriptPath | |||
| ) |
Function transforms packages name and version (global rewrite).
| $PackageName | - package name |
| $PackageVersion | - Package's version. |
| $PackageScriptPath | - path to the package's script. |
| Exception | An exception of this type is thrown. |
Definition at line 582 of file rewrites.php.
| _apply_to_the_parts | ( | $PackageName, | |
| $PackageVersion, | |||
| $Rules | |||
| ) |
Function applies local rewrite map.
| $PackageName | - Package's name. |
| $PackageVersion | - Package's version. |
| $Rules | - Rewrites rules. |
| Exception | An exception of this type is thrown. |
Definition at line 350 of file rewrites.php.
| _apply_to_the_whole_name | ( | $PackageName, | |
| $PackageVersion, | |||
| $Rules | |||
| ) |
Function applies local rewrite map to the string "full_package_name.full_package_version".
| $PackageName | - Package's name. |
| $PackageVersion | - Package's version. |
| $Rules | - Rewrites rules. |
| Exception | An exception of this type is thrown. |
Definition at line 239 of file rewrites.php.
| _complete_package_version | ( | $PackageName | ) |
Function transforms package's version from 'last' to last\:\:last\:\:...\:\:last.
| $PackageName | - Package name. |
| Exception | An exception of this type is thrown. |
Definition at line 139 of file rewrites.php.
| _fill_rewrites_cache | ( | $PackageName, | |
| $PackageVersion, | |||
| $PackageScriptPath | |||
| ) |
Function returns information about package after all erwrites.
| $PackageName | - name of the package. |
| $PackageVersion | - package's version. In case string 'last' is passed, then method returns the latest version. |
| $PackageScriptPath | - path to the package's script. |
| Exception | An exception of this type is thrown. |
Definition at line 642 of file rewrites.php.
| _get_package_info_after_rewrites | ( | $PackageName, | |
| $PackageVersion, | |||
$PackageScriptPath = false |
|||
| ) |
Function returns information about package after all erwrites.
| $PackageName | - name of the package. |
| $PackageVersion | - package's version. In case string 'last' is passed, then method returns the latest version. |
| $PackageScriptPath | - path to the package's script. |
| Exception | An exception of this type is thrown. |
Definition at line 696 of file rewrites.php.
| _make_full_version | ( | $PackageName, | |
| $PackageVersion | |||
| ) |
Function transforms package's version from 'last' to last\:\:last\:\:...\:\:last.
| $PackageName | - Package name. |
| $PackageVersion | - Package's version. |
| Exception | An exception of this type is thrown. |
Definition at line 182 of file rewrites.php.
| _reset_rewrite_map | ( | ) |
Function resets rewrite map.
| Exception | An exception of this type is thrown. |
Definition at line 101 of file rewrites.php.
| _set_rewrite_map | ( | $PackageScriptPath = false, |
|
$FileName = 'local_rewrite_map' |
|||
| ) |
Function sets local rewrite maps.
| $PackageScriptPath | - Path to the package's script. |
| $FileName | - Map file name. |
| Exception | An exception of this type is thrown. |
Definition at line 55 of file rewrites.php.
| _set_rewrited | ( | & | $PackageNameSegments, |
| $r | |||
| ) |
Function applies local rewrite map.
| $PackageNameSegments | - Package name segments. |
| $r | - Rewrited values. |
| Exception | An exception of this type is thrown. |
Definition at line 289 of file rewrites.php.
| $MakeFullVersionCache = array() |
Definition at line 115 of file rewrites.php.
| $MakeFullVersionCacheChanged = false |
Definition at line 114 of file rewrites.php.
| $PackageInfoAfterRewritesCache = array() |
Definition at line 609 of file rewrites.php.
| $PackageInfoAfterRewritesCacheChanged = false |
Definition at line 608 of file rewrites.php.
| $RewritedPackageCache = array() |
Definition at line 491 of file rewrites.php.
| $RewritedPackageCacheChanged = false |
Definition at line 488 of file rewrites.php.
| $RewriteMap = array() |
Map of aliases for package's versions and names.
Definition at line 30 of file rewrites.php.
| $RewritesCache = array() |
Definition at line 17 of file rewrites.php.
| global $RewritesCacheChanged |
Definition at line 16 of file rewrites.php.