Changeset 700

Show
Ignore:
Timestamp:
06/02/07 01:36:05 (1 year ago)
Author:
schst
Message:

Fixed some docblocks,
whitespace fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/reflection/stubReflectionPackage.php

    r699 r700  
    22/** 
    33 * Extended Reflection class for packages. 
    4  *  
     4 * 
    55 * @author      Frank Kleine <mikey@stubbles.net> 
    66 * @package     stubbles 
     
    1010/** 
    1111 * Extended Reflection class for packages. 
    12  *  
     12 * 
    1313 * @package     stubbles 
    1414 * @subpackage  reflection 
     
    2626     * constructor 
    2727     * 
    28      * @param string  $className  name of class to reflect 
     28     * @param string  $className  name of package to reflect 
    2929     */ 
    3030    public function __construct($packageName) 
     
    3434 
    3535    /** 
    36      * checks whether a value is equal to the class 
     36     * checks whether a value is equal to the package 
    3737     * 
    3838     * @param   mixed  $compare 
     
    4444            return ($compare->packageName == $this->packageName); 
    4545        } 
    46          
     46 
    4747        return false; 
    4848    } 
     
    5050    /** 
    5151     * returns a string representation of the class 
    52      *  
     52     * 
    5353     * The result is a short but informative representation about the class and 
    5454     * its values. Per default, this method returns: 
     
    6767 
    6868    /** 
    69      * returns the full qualified class name of the reflected class 
    70      *  
    71      * If the class has not been loaded with stubClassLoader the non qualified  
    72      * class name will be returned. 
     69     * returns the full qualified class name of the reflected package 
    7370     * 
    7471     * @return  string 
     
    117114            $classes[] = new stubReflectionClass($fqClassName); 
    118115        } 
    119          
     116 
    120117        return $classes; 
    121118    } 
     
    158155                continue; 
    159156            } 
    160              
     157 
    161158            $shortName = str_replace($this->packageName . '.', '', $packageName); 
    162159            if (strstr($shortName, '.') !== false && false === $recursive) { 
    163160                continue; 
    164161            } 
    165              
     162 
    166163            $packages[$shortName] = $shortName; 
    167164        } 
    168          
     165 
    169166        $return = array_keys($packages); 
    170167        sort($return); 
     
    185182            $refPackages[] = new self($this->packageName . '.' . $package); 
    186183        } 
    187          
     184 
    188185        return $refPackages; 
    189186    }