object = $object; return $this; } public function getObject() { return $this->object; } public function getAdapterContentName() { return pht('Calendar Events'); } public function supportsRuleType($rule_type) { switch ($rule_type) { case HeraldRuleTypeConfig::RULE_TYPE_GLOBAL: case HeraldRuleTypeConfig::RULE_TYPE_PERSONAL: return true; case HeraldRuleTypeConfig::RULE_TYPE_OBJECT: default: return false; } } public function getHeraldName() { return $this->getObject()->getMonogram(); } }