/**
  * @see Page::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     // get available conditions
     $this->availableRuleConditionTypes = PMRule::getAvailableRuleConditionTypes();
     // get available actions
     $this->availableRuleActions = PMRule::getAvailableRuleActions();
 }
 /**
  * Returns a specific condition type object.
  *
  * @param	string		$conditionType
  * @return	PMRuleConditionType
  */
 public static function getConditionTypeObject($conditionType)
 {
     $types = PMRule::getAvailableRuleConditionTypes();
     if (!isset($types[$conditionType])) {
         throw new SystemException("Unknown pm condition type '" . $conditionType . "'", 11000);
     }
     return $types[$conditionType];
 }