Changeset 70
- Timestamp:
- 05/17/06 14:29:31 (2 years ago)
- Files:
-
- branches/2.2/classes/phing/parser/ProjectConfigurator.php (modified) (3 diffs)
- branches/2.2/classes/phing/system/io/FileSystem.php (modified) (1 diff)
- branches/2.2/classes/phing/system/lang/Character.php (modified) (1 diff)
- branches/2.2/classes/phing/types/selectors/SelectorUtils.php (modified) (3 diffs)
- branches/2.2/classes/phing/util/FileUtils.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/2.2/classes/phing/parser/ProjectConfigurator.php
r1 r70 107 107 * @access public 108 108 */ 109 function configure($target, $attrs, Project $project) {109 public static function configure($target, $attrs, Project $project) { 110 110 111 111 if ($target instanceof TaskAdapter) { … … 152 152 * @access public 153 153 */ 154 function addText($project, $target, $text = null) {154 public static function addText($project, $target, $text = null) { 155 155 if ($text === null || strlen(trim($text)) === 0) { 156 156 return; … … 170 170 * @access public 171 171 */ 172 function storeChild($project, $parent, $child, $tag) {172 public static function storeChild($project, $parent, $child, $tag) { 173 173 $ih = IntrospectionHelper::getHelper(get_class($parent)); 174 174 $ih->storeElement($project, $parent, $child, $tag); branches/2.2/classes/phing/system/io/FileSystem.php
r1 r70 54 54 * this platform's local filesystem driver. 55 55 */ 56 function getFileSystem() {56 static function getFileSystem() { 57 57 if (self::$fs === null) { 58 58 switch(Phing::getProperty('host.fstype')) { branches/2.2/classes/phing/system/lang/Character.php
r1 r70 30 30 // anyway just a thought 31 31 32 function isLetter($char) {32 public static function isLetter($char) { 33 33 34 34 if (strlen($char) !== 1) branches/2.2/classes/phing/types/selectors/SelectorUtils.php
r1 r70 69 69 * pattern up to the first "**". 70 70 */ 71 public function matchPatternStart($pattern, $str, $isCaseSensitive = true) {71 public static function matchPatternStart($pattern, $str, $isCaseSensitive = true) { 72 72 73 73 // When str starts with a DIRECTORY_SEPARATOR, pattern has to start with a … … 127 127 * or <code>false</code> otherwise. 128 128 */ 129 public function matchPath($pattern, $str, $isCaseSensitive = true) {129 public static function matchPath($pattern, $str, $isCaseSensitive = true) { 130 130 131 131 // When str starts with a DIRECTORY_SEPARATOR, pattern has to start with a … … 260 260 * or <code>false</code> otherwise. 261 261 */ 262 public function match($pattern, $str, $isCaseSensitive = true) {262 public static function match($pattern, $str, $isCaseSensitive = true) { 263 263 264 264 $patArr = StringHelper::toCharArray($pattern); branches/2.2/classes/phing/util/FileUtils.php
r1 r70 47 47 * @return Reader Assembled Reader (w/ filter chains). 48 48 */ 49 function getChainedReader(Reader $in, &$filterChains, Project $project) {49 public static function getChainedReader(Reader $in, &$filterChains, Project $project) { 50 50 if (!empty($filterChains)) { 51 51 $crh = new ChainReaderHelper();
