/**
  * @see	\wcf\system\condition\ICondition::getData()
  */
 public function getData()
 {
     $optionValues = $this->optionHandler->getOptionValues();
     $data = array();
     foreach ($this->optionHandler->getCategoryOptions('profile') as $option) {
         $option = $option['object'];
         if (isset($optionValues[$option->optionName])) {
             $conditionData = $this->optionHandler->getTypeObject($option->optionType)->getConditionData($option, $optionValues[$option->optionName]);
             if ($conditionData !== null) {
                 $data[$option->optionName] = $conditionData;
             }
         }
     }
     if (!empty($data)) {
         return array('optionValues' => $data);
     }
     return null;
 }