protected function beforeDelete() {
	
		$acls = Acl::getAllObjects(array('ruleId' => $this->id));
		foreach ($acls as $acl) {
			$acl->delete();
		}
	
	}
protected function beforeDelete() {
	
		$acls = Acl::getAllObjects(array('ruleId' => $this->id));
		foreach ($acls as $acl) {
			$acl->delete();
		}
	
	}
protected function beforeDelete ( ) { $ acls = Acl :: getAllObjects ( array ( 'ruleId' => $ this -> id ) ) ; foreach ( $ acls as $ acl ) { $ acl -> delete ( ) ; } }
Deletes all Acl of this Rule.
Deletes all Acl of this Rule .