public function getProperties($alsoProtected = true, $alsoPrivate = true, $alsoHerited = false)
    {
        $ar = parent::getProperties();
        $this->properties = array();
        foreach ($ar as $property) {
            if ((!$property->isPrivate() || $alsoPrivate) && (!$property->isProtected() || $alsoProtected) && (($property->getDeclaringClass()->name == $this->classname) || $alsoHerited)) {
                try {
                    $p = new IPReflectionProperty($this->classname, $property->getName());
                    $this->properties[$property->name] = $p;
                } catch (ReflectionException $exception) {
                    echo 'Fout bij property: '.$property->name."<br>\n";
                }
            }
        }
        ksort($this->properties);

        return $this->properties;
    }
public function getProperties($alsoProtected = true, $alsoPrivate = true, $alsoHerited = false)
    {
        $ar = parent::getProperties();
        $this->properties = array();
        foreach ($ar as $property) {
            if ((!$property->isPrivate() || $alsoPrivate) && (!$property->isProtected() || $alsoProtected) && (($property->getDeclaringClass()->name == $this->classname) || $alsoHerited)) {
                try {
                    $p = new IPReflectionProperty($this->classname, $property->getName());
                    $this->properties[$property->name] = $p;
                } catch (ReflectionException $exception) {
                    echo 'Fout bij property: '.$property->name."<br>\n";
                }
            }
        }
        ksort($this->properties);

        return $this->properties;
    }
public function getProperties ( $ alsoProtected = true , $ alsoPrivate = true , $ alsoHerited = false ) { $ ar = parent :: getProperties ( ) ; $ this -> properties = array ( ) ; foreach ( $ ar as $ property ) { if ( ( ! $ property -> isPrivate ( ) || $ alsoPrivate ) && ( ! $ property -> isProtected ( ) || $ alsoProtected ) && ( ( $ property -> getDeclaringClass ( ) -> name == $ this -> classname ) || $ alsoHerited ) ) { try { $ p = new IPReflectionProperty ( $ this -> classname , $ property -> getName ( ) ) ; $ this -> properties [ $ property -> name ] = $ p ; } catch ( ReflectionException $ exception ) { echo 'Fout bij property: ' . $ property -> name . "<br>\n" ; } } } ksort ( $ this -> properties ) ; return $ this -> properties ; }
Levert een array met variabelen van deze class op.

@param bool If the method should also return protected properties
@param bool If the method should also return private properties

@return IPReflectionProperty[]
Levert een array met variabelen van deze class op .