code: public function getPropertiesAsArray()
      {
          $arrResult = array();
  
          foreach ($this->getPropertyNames() as $strKey) {
              $arrResult[$strKey] = $this->getProperty($strKey);
          }
          return $arrResult;
      }
docs: {@inheritDoc}